X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=bios%2Fvmxassist%2Futil.h;h=1fd52ed86dce940016baecb1968a584886218e37;hb=61597ea2c5ccace036d8a65e429e32b8f8a7ed4a;hp=9c2982f0de49f3aa9d6b70513e41d209bc115faf;hpb=d34450b1e6fe3c2e1295c268c1722c669ba8d545;p=palacios.git diff --git a/bios/vmxassist/util.h b/bios/vmxassist/util.h index 9c2982f..1fd52ed 100644 --- a/bios/vmxassist/util.h +++ b/bios/vmxassist/util.h @@ -23,14 +23,13 @@ #include #include -#include -#define E820_MAP_NR ((unsigned char *)E820_MAP_PAGE + E820_MAP_NR_OFFSET) -#define E820_MAP ((struct e820entry *)(E820_MAP_PAGE + E820_MAP_OFFSET)) - #define offsetof(type, member) ((unsigned) &((type *)0)->member) struct vmx_assist_context; +#include "e820.h" + +extern void cpuid_addr_value(uint64_t addr, uint64_t *value); extern void hexdump(unsigned char *, int); extern void dump_regs(struct regs *); extern void dump_vmx_context(struct vmx_assist_context *);