Bona Fide OS Developer
View unanswered posts | View active topics It is currently Tue Mar 19, 2024 12:11 am



Post new topic Reply to topic  [ 1 post ] 
 WbInvd 
Author Message

Joined: Fri Aug 20, 2010 10:04 pm
Posts: 41
Post WbInvd
You have to use WbInvd a few times in the start-up of multicore chips, but not later. I was lucky, in a way, because when I did multicore a couple years ago, I assumed the cache was not shared. I was lucky because I put WbInvd in the code for starting-it-up.

Go ahead and try to start-up multicore without WbInvd or something equivalent.

If you ever decide to turn-off cache, you should probably use WbInvd just before, too.


The OSDev guys are mocking me. They spend a lot of time doing that. OSDev is the place to start and if you're smart enough to question them, they ban you. I didn't start there, though.

Here is a 2004 Internet archive: http://web.archive.org/web/20040410044949/www.simstructure.hare.com/OS.htm


Here's the Web Archive home page http://www.archive.org/web/web.php

That shows LoseThos in 2004. It began as a 100% turbo assembler OS that launched from DOS and later free DOS. If you launch from DOS, it's in real mode and it has nothing stopping you from full access! You don't boot it, you run it!


The first thing I made was a compiler (interpretor at the time) for handling the command line. I wrote an assembler and was soon independent. I never used Bochs, but that's probably not bad advice. I always cared a lot more about real hardware than VM or emulators.


Mon Jan 03, 2011 11:15 pm
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin and tweaked by the BF Team.