X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fgeekos%2Fvm.h;h=23a227570610353530c37179a462d3a24fb580fa;hb=40be15894eccfbb51e42bcfe550aaf8d9841bc3a;hp=e8558c076214f0bee1b27c59ebd23a6fe5fc3b18;hpb=75e6876db8e9c8114606e229c2818ca574245182;p=palacios.git diff --git a/palacios/include/geekos/vm.h b/palacios/include/geekos/vm.h index e8558c0..23a2275 100644 --- a/palacios/include/geekos/vm.h +++ b/palacios/include/geekos/vm.h @@ -1,6 +1,20 @@ #ifndef __VM_H #define __VM_H +#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);