X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_lowlevel.h;h=109c6d20c51409f4f8690acb5bc8e72a04124e51;hb=26807ca4c1fd7ea21a615b29626e73a75873bead;hp=7863d1929230da04c12cea6598d68a978c29edd9;hpb=794a794cec97cecc8c7de7f8b5fe33381a1e02e0;p=palacios.git diff --git a/palacios/include/palacios/vmm_lowlevel.h b/palacios/include/palacios/vmm_lowlevel.h index 7863d19..109c6d2 100644 --- a/palacios/include/palacios/vmm_lowlevel.h +++ b/palacios/include/palacios/vmm_lowlevel.h @@ -20,6 +20,10 @@ #include +#define CPUID_FEATURE_IDS 0x00000001 +#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" );