X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvm.h;h=23a227570610353530c37179a462d3a24fb580fa;hb=ace8f0532fa5650c6642a3a7174f3aa19b09095a;hp=57d3ec5182077c91848590bcdc76b827ed5556aa;hpb=a109eb919a162bd7de58d62020801bc2e633be50;p=palacios.git diff --git a/palacios/include/geekos/vm.h b/palacios/include/geekos/vm.h index 57d3ec5..23a2275 100644 --- a/palacios/include/geekos/vm.h +++ b/palacios/include/geekos/vm.h @@ -1,7 +1,21 @@ #ifndef __VM_H #define __VM_H -int RunVMM(); +#define MAGIC_CODE 0xf1e2d3c4 + +struct layout_region { + ulong_t length; + ulong_t final_addr; +}; + +struct guest_mem_layout { + ulong_t magic; + ulong_t num_regions; + struct layout_region regions[0]; +}; + + +int RunVMM(struct Boot_Info * bootInfo); #endif