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.


/proc info showing vm device and vm name mapping, and memory use
[palacios.git] / linux_module / mm.c
index ef6e1bd..bb8919a 100644 (file)
@@ -43,6 +43,14 @@ static inline void clear_page_bit(int index) {
 }
 
 
+uintptr_t get_palacios_base_addr(void) {
+    return pool.base_addr;
+}
+
+u64 get_palacios_num_pages(void) {
+    return pool.num_pages;
+}
+
 
 static uintptr_t alloc_contig_pgs(u64 num_pages, u32 alignment) {
     int step = 1;