OSDev.org

The Place to Start for Operating System Developers
It is currently Fri Mar 29, 2024 12:04 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: some questions about SMP?
PostPosted: Wed Jul 29, 2020 9:06 am 
Offline
Member
Member

Joined: Thu Apr 30, 2020 6:03 am
Posts: 55
You are right when writing to the device it is necessary to put volatile to prevent the compiler from optimizing this variable,
I really hadn't gotten to this part of the code, I stayed in the write part of the kernel page directory the
APIC memory. In bochs it does not continue from there, it only gives the error that I mentioned before and ends with the execution.
You have tested your implementation with the bochs?


Top
 Profile  
 
 Post subject: Re: some questions about SMP?
PostPosted: Wed Jul 29, 2020 9:41 am 
Offline
Member
Member

Joined: Tue Feb 18, 2020 3:29 pm
Posts: 1071
Yes, I have, but you can try QEMU.

_________________
"How did you do this?"
"It's very simple — you read the protocol and write the code." - Bill Joy
Projects: NexNix | libnex | nnpkg


Top
 Profile  
 
 Post subject: Re: some questions about SMP?
PostPosted: Wed Jul 29, 2020 10:38 am 
Offline
Member
Member

Joined: Thu Apr 30, 2020 6:03 am
Posts: 55
I already found my error, at some point add an initialization 0 of the content of the physical pages to do some tests, it is already solved,
thanks for your time


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page Previous  1, 2

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 15 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group