Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


*** empty log message ***
[palacios.git] / palacios / src / geekos / vmm_mem.c
index 128df3d..0bd908e 100644 (file)
@@ -1,5 +1,22 @@
 #include <geekos/vmm_mem.h>
+#include <geekos/vmm.h>
 
 
+extern struct vmm_os_hooks * os_hooks;
 
 
+void init_mem_map(vmm_mem_map_t * map) {
+  map->num_pages = 0;
+  map->long_mode = false;
+  
+  map->num_regions = 0;
+  map->head = NULL;
+  map->tail = NULL;
+}
+
+
+void add_mem_map_pages(vmm_mem_map_t * map, ullong_t addr, uint_t numPages) {
+  
+
+
+}