Subversion Repositories HelenOS

Compare Revisions

Ignore whitespace Rev 125 → Rev 167

/SPARTAN/trunk/include/mm/page.h
106,8 → 106,6
#define SET_PTL3_FLAGS(ptl2, i, x) SET_PTL3_FLAGS_ARCH(ptl2, i, x)
#define SET_FRAME_FLAGS(ptl3, i, x) SET_FRAME_FLAGS_ARCH(ptl3, i, x)
 
#include <arch/mm/page.h>
 
extern void page_init(void);
extern void map_page_to_frame(__address page, __address frame, int flags, __address root);
extern void map_structure(__address s, size_t size);
/SPARTAN/trunk/include/mm/vm.h
76,14 → 76,14
pte_t *ptl0;
};
 
extern vm_t * vm_create(void);
extern vm_t * vm_create(pte_t *ptl0);
extern void vm_destroy(vm_t *m);
 
extern vm_area_t *vm_area_create(vm_t *m, vm_type_t type, size_t size, __address addr);
extern void vm_area_destroy(vm_area_t *a);
 
extern void vm_area_map(vm_area_t *a);
extern void vm_area_unmap(vm_area_t *a);
extern void vm_area_map(vm_area_t *a, vm_t *m);
extern void vm_area_unmap(vm_area_t *a, vm_t *m);
 
extern void vm_install(vm_t *m);
extern void vm_uninstall(vm_t *m);