Paging: Difference between revisions

m
no edit summary
[unchecked revision][unchecked revision]
mNo edit summary
Line 49:
=== Example ===
 
Say Ithe loadedkernel myis kernelloaded to 0x100000. However, Iit wantneeded itto be mappedremapped to 0xc0000000. After loading mythe kernel, Iit'll initiate paging, and set up the appropriate tables. (See [[Higher Half Kernel]]) After [[Identity Paging]] the first megabyte,it'll I startneed to create mya second table (ie. at entry #768 in mythe paging directory.) to map 0x100000 to 0xc0000000. MyThe code may be like:
 
<source lang="asm">