From 92fa61dd9909f39bacd8f2f64ae1d11c9fd1fb49 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 29 Sep 2009 20:17:50 +0000 Subject: Add vendor ID for AMD --- src/utils/cpuid.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils') diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp index 6326e84ad..eb50dee98 100644 --- a/src/utils/cpuid.cpp +++ b/src/utils/cpuid.cpp @@ -47,7 +47,7 @@ void x86_cpuid(u32bit type, u32bit out[4]) u32bit get_x86_cache_line_size() { const u32bit INTEL_CPUID[3] = { 0x756E6547, 0x6C65746E, 0x49656E69 }; - const u32bit AMD_CPUID[3] = { 0, 0, 0 }; + const u32bit AMD_CPUID[3] = { 0x68747541, 0x444D4163, 0x69746E65 }; u32bit cpuid[4] = { 0 }; x86_cpuid(0, cpuid); -- cgit v1.2.3