X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_lowlevel.h;fp=palacios%2Finclude%2Fpalacios%2Fvmm_lowlevel.h;h=6558884603154e11ab506fb30a09d21dda6f5712;hb=1316eb77b6d89245583446dab3345f749c415764;hp=7863d1929230da04c12cea6598d68a978c29edd9;hpb=7b22bd6ad6a5bb413fd38e9ed7df668e34c052bb;p=palacios.git diff --git a/palacios/include/palacios/vmm_lowlevel.h b/palacios/include/palacios/vmm_lowlevel.h index 7863d19..6558884 100644 --- a/palacios/include/palacios/vmm_lowlevel.h +++ b/palacios/include/palacios/vmm_lowlevel.h @@ -20,6 +20,10 @@ #include +#define CPUID_FEATURE_IDS 0x80000001 +#define CPUID_EXT_FEATURE_IDS 0x80000001 + + #ifdef __V3_32BIT__ static void __inline__ v3_cpuid(uint_t target, addr_t * eax, addr_t * ebx, addr_t * ecx, addr_t * edx) { @@ -92,7 +96,7 @@ static addr_t __inline__ v3_irq_save() { __asm__ __volatile__ ("pushf \n\t" "popl %0 \n\t" "cli \n\t" - :"=g" (x) + :"=g" (state) : :"memory" );