PageFile.asm

This file defines pagefile memory management functions of PwnOS.

See Also

Authors

  • Neil G.  Dickson
Summary
PageFile.asmThis file defines pagefile memory management functions of PwnOS.
Functions
RecallPgThis procedure recalls a page table (64KB) at the appropriate virtual address for the current process.
RecallPgTblThis procedure recalls a page table (64KB) at the appropriate virtual address for the current process.

Functions

RecallPg

This procedure recalls a page table (64KB) at the appropriate virtual address for the current process.

This updates the page table entries and the Physical To Virtual Table.

Not Implemented

TODO: Issue Inter-Processor Interrupt sent to sync page table caches on this and other processors.

Parameters

pPTEsvirtual address of the page table entries indicating where in the pagefile the page is

Returns

  • virtual address of the recalled page

RecallPgTbl

This procedure recalls a page table (64KB) at the appropriate virtual address for the current process.

This updates the page directory entries, the page table page table entries, and the Physical To Virtual Table.

Not Implemented

TODO: Issue Inter-Processor Interrupt sent to sync page table caches on this and other processors.

Parameters

pPDEsvirtual address of the page directory entries indicating where in the pagefile the page table is

Returns

  • virtual address of the recalled page table
This file defines page-level memory management functions of PwnOS.