From: Jack Lange Date: Fri, 18 Sep 2009 22:42:48 +0000 (-0500) Subject: register assignment fix X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=ed2b3c62f54f46c31ed18a100bb442e1656a3ddd register assignment fix --- diff --git a/palacios/include/palacios/vmm_lowlevel.h b/palacios/include/palacios/vmm_lowlevel.h index 8e85162..f3c8db5 100644 --- a/palacios/include/palacios/vmm_lowlevel.h +++ b/palacios/include/palacios/vmm_lowlevel.h @@ -30,7 +30,7 @@ static void __inline__ v3_cpuid(uint32_t target, uint32_t * ecx, uint32_t * edx) { __asm__ __volatile__ ( "cpuid\n\t" - : "=a" (*eax), "=S" (*ebx), "=c" (*ecx), "=d" (*edx) + : "=a" (*eax), "=b" (*ebx), "=c" (*ecx), "=d" (*edx) : "0" (target), "2" (*ecx) ); return;