]> Joshua Wise's Git repositories - netwatch.git/blobdiff - include/paging.h
Add some headers.
[netwatch.git] / include / paging.h
index fb74a0dd6b2e6ca354eaa55fac1718a6cf4f8271..4a27bb94e57a55be71026c691a679f67b2e91a74 100644 (file)
@@ -1,7 +1,20 @@
+/* minilib.h
+ * Definitions for page-table mapping and demapping
+ * NetWatch system management mode administration console
+ *
+ * Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+ * This program is free software; you can redistribute and/or modify it under
+ * the terms found in the file LICENSE in the root of this source tree. 
+ *
+ */
+
 #ifndef __PAGING_H
 #define __PAGING_H
 
 extern unsigned long v2p(void *virt);
 extern void *p2v(unsigned long phys);
+extern int addmap(unsigned long vaddr, unsigned long paddr);
+extern int addmap_4m(unsigned long vaddr, unsigned long paddr);
+extern void *demap(unsigned long _pd, unsigned long vaddr);
 
 #endif
This page took 0.020928 seconds and 4 git commands to generate.