kernel: demand_paging: add doc to enum arch_page_location
This adds doc to enum arch_page_location. Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
77dc74136c
commit
dd6a7eb77d
1 changed files with 8 additions and 0 deletions
|
|
@ -402,9 +402,17 @@ void arch_mem_page_in(void *addr, uintptr_t phys);
|
|||
*/
|
||||
void arch_mem_scratch(uintptr_t phys);
|
||||
|
||||
/**
|
||||
* Status of a particular page location.
|
||||
*/
|
||||
enum arch_page_location {
|
||||
/** The page has been evicted to the backing store. */
|
||||
ARCH_PAGE_LOCATION_PAGED_OUT,
|
||||
|
||||
/** The page is resident in memory. */
|
||||
ARCH_PAGE_LOCATION_PAGED_IN,
|
||||
|
||||
/** The page is not mapped. */
|
||||
ARCH_PAGE_LOCATION_BAD
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue