Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
AlfaOmega08
Member
Posts: 226 Joined: Wed Nov 07, 2007 12:15 pm
Location: Italy
Post
by AlfaOmega08 » Fri Jan 25, 2008 12:55 pm
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
Wave
Member
Posts: 50 Joined: Sun Jan 20, 2008 5:51 am
Post
by Wave » Fri Jan 25, 2008 1:35 pm
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.
Conway's Law: If you have four groups working on a compiler, you'll get a 4-pass compiler.
Melvin Conway