OSDev.org

The Place to Start for Operating System Developers
It is currently Thu Sep 24, 2020 10:33 pm

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: 54
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
User avatar

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

_________________
Working on NexBoot, a simple and lightweight GRUB replacement. and NeKe, a stable and fast microkernel. Part of the Nexware Project.


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: 54
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 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group