Page 1 of 1

paging question

Posted: Fri Jan 25, 2008 12:55 pm
by AlfaOmega08
According to the JamesM tutorial, if I

Code: Select all

u32int *ptr = (u32int*)0xA0000000;
with Paging activated, a Page Fault Exception should fire.

And so, how will drivers works?

For example the video driver that points to 0xB8000 shuld generate an Exception, right?

Thanks

Posted: Fri Jan 25, 2008 1:35 pm
by Wave
You need to identity map those parts of memory you want to write to, so that when the driver tries to access 0xB8000 it is allowed to do so.