Re: [Qemu-devel] [PATCH 02/13] cpuid: replace magic number with named constant

2010-03-06 Thread Aurelien Jarno
On Tue, Feb 02, 2010 at 11:08:10AM +0100, Andre Przywara wrote: > CPUID leaf Fn8000_0001.EDX contains a copy of many Fn_0001.EDX bits. > Define a name for the mask to improve readability and avoid typos. > > Signed-off-by: Andre Przywara Acked-by: Aurelien Jarno > --- > target-i386/cpuid.

[Qemu-devel] [PATCH 02/13] cpuid: replace magic number with named constant

2010-02-02 Thread Andre Przywara
CPUID leaf Fn8000_0001.EDX contains a copy of many Fn_0001.EDX bits. Define a name for the mask to improve readability and avoid typos. Signed-off-by: Andre Przywara --- target-i386/cpuid.c | 11 ++- 1 files changed, 6 insertions(+), 5 deletions(-) diff --git a/target-i386/cpuid.c