Anonymous user
Identity Paging: Difference between revisions
Syntax highlight
[unchecked revision] | [unchecked revision] |
(Syntax highlight) |
|||
Line 8:
You can easily do this with a loop filling the page table:
<source lang="c">
void idpaging(dword *first_pte, vaddr from, int size){
from = from & 0xfffff000; // discard bits we don't want
Line 15:
}
}
</source>
[[Category:Memory management]]
|