Page 2 of 2

Re: some questions about SMP?

Posted: Wed Jul 29, 2020 9:06 am
by mkfree
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?

Re: some questions about SMP?

Posted: Wed Jul 29, 2020 9:41 am
by nexos
Yes, I have, but you can try QEMU.

Re: some questions about SMP?

Posted: Wed Jul 29, 2020 10:38 am
by mkfree
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