Page 1 of 1
Paging && Multitasking errors
Posted: Wed Jul 22, 2015 7:15 am
by reload
Hello! Using JamesM's tutorials I'm trying to setup Multitasking. All goes Ok, but when I'm switching to new paging directory:
Code: Select all
...
paging_currentdirectory = paging_clonedirectory(paging_kerneldirectory);
paging_switchdirectory(paging_currentdirectory);
...
my Os get's crasy and reboots.
I have no ideas what I'm doing wrong. Please, help!
Re: Paging && Multitasking errors
Posted: Wed Jul 22, 2015 7:18 am
by glauxosdever
Hi,
James Molloy's tutorials are full of bugs. They are not noticed until things explode. Please check
http://wiki.osdev.org/James_Molloy%27s_ ... Known_Bugs out for more information.
Regards,
glauxosdever
Re: Paging && Multitasking errors
Posted: Wed Jul 22, 2015 7:21 am
by reload
Ooops...
Does it mean "Rewrite your OS"?
Re: Paging && Multitasking errors
Posted: Wed Jul 22, 2015 6:17 pm
by Kazinsal
It means JamesM's tutorial is not the bible of Unix development and should be taken with several large grains of salt.
Something tells me your page table's physical addresses are not what they should be. Print debugging is your friend for things like this.