Paging: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content deleted Content added
m Syntax highlighting and minor correction |
m Missing Semicolon |
||
Line 155: | Line 155: | ||
// When it is, then there is already a mapping present. What do you do now? |
// When it is, then there is already a mapping present. What do you do now? |
||
pt[ptindex] = ((unsigned long)physaddr) | (flags & 0xFFF) | 0x01 // Present |
pt[ptindex] = ((unsigned long)physaddr) | (flags & 0xFFF) | 0x01; // Present |
||
// Now you need to flush the entry in the TLB |
// Now you need to flush the entry in the TLB |