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

Functions

int safeMap (void *page, short attr)
 

Detailed Description

Map a page of memory to the page table.

Function Documentation

int safeMap ( void *  page,
short  attr 
)

Map a page of memory to the page table record with attributes.

Parameters
pagepage to insert into page table.
attrattributes to apply to page.
Returns
non-zero value on failure.