X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/4033103109721ab7a85c743c5c9d1c8f29a734ef..112c8c75deab100cf02c2e9e850c9e8474ef1a92:/include/paging.h?ds=sidebyside diff --git a/include/paging.h b/include/paging.h index 69c12eb..90c44e9 100644 --- a/include/paging.h +++ b/include/paging.h @@ -1,7 +1,9 @@ #ifndef __PAGING_H #define __PAGING_H -extern unsigned long memory_v2p(void *virt); -extern void *memory_p2v(unsigned long phys); +extern unsigned long v2p(void *virt); +extern void *p2v(unsigned long phys); +extern int addmap(unsigned long vaddr, unsigned long paddr); +extern void *demap(unsigned long _pd, unsigned long vaddr); #endif