#include <pageframelinearpolicy.h>
Inheritance diagram for Zygoma::PageFrameLinearPolicy:


Public Member Functions | |
| virtual PageFrameTable::FrameIndex | selectUnusedFrame () const |
| Selects an unused page frame according to policy. | |
| virtual PageFrameTable::FrameIndex | selectReplacementFrame () |
| Selects a page frame for replacement according to the current policy. | |
| virtual PageFrameTable::FrameIndex | selectReplacementFrame () const =0 |
| Selects a page frame for replacement according to the current policy. | |
Protected Member Functions | |
| const PageFrame & | getFrame (PageFrameTable *pageFrameTable, PageFrameTable::FrameIndex frameIndex) |
| Pulls up page frame information for an indexed page frame in the page fram table. | |
|
||||||||||||
|
Pulls up page frame information for an indexed page frame in the page fram table.
|
|
|
Selects a page frame for replacement according to the current policy. A replacement frame may or may not currently be in use. The policy must always be ablw to make a page frame available for replacement, even if there is only one frame in the table. Well, I guess a zero-sized page frame table is the degenerate case, but I doubt things would have got as far as starting virtual memory if there was so little memory in the system.
|
|
|
Selects a page frame for replacement according to the current policy. A replacement frame may or may not currently be in use. The policy must always be ablw to make a page frame available for replacement, even if there is only one frame in the table. Well, I guess a zero-sized Page frame table is the degenerate case, but I doubt things would have got as far as starting virtual memory if there was so little memory in the system.
|
|
|
Selects an unused page frame according to policy.
Implements Zygoma::PageFrameSelectionPolicy. |
1.4.2