X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=bios%2Fvmxassist%2Futil.h;h=1fd52ed86dce940016baecb1968a584886218e37;hp=9c2982f0de49f3aa9d6b70513e41d209bc115faf;hb=61597ea2c5ccace036d8a65e429e32b8f8a7ed4a;hpb=f3eb8bbb7c58c98b03797f2188e6c1d2a7610c15 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 *);