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 / include / geekos / vmm_util.h
index 16931b4..25994c3 100644 (file)
@@ -4,7 +4,6 @@
 #include <geekos/ktypes.h>
 
 
-
 #ifndef PAGE_SIZE
 #define PAGE_SIZE 4096
 #endif
@@ -34,6 +33,9 @@ struct VMM_GPRs {
 };
 
 
+#define GET_LOW_32(x) (*((uint_t*)(&(x))))
+#define GET_HIGH_32(x) (*((uint_t*)(((char*)(&(x)))+4)))
+
 
 void PrintTraceHex(unsigned char x);