Embedded Xinu Operating System
An ongoing research project and educational operating system.
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
Functions
safeMapRange.c File Reference
#include <safemem.h>

Functions

int safeMapRange (void *start, uint length, short attr)
 

Detailed Description

Map a range of pages to a page table.

Function Documentation

int safeMapRange ( void *  start,
uint  length,
short  attr 
)

Map a range of pages to a page table starting at start, ending at start+length.

Parameters
startbeginning page address to map.
lengthlength of memory range to map.
attrattributes to apply to page table entries.
Returns
non-zero value on failure.