From: Julian Seward Date: Fri, 26 Nov 2004 19:34:34 +0000 (+0000) Subject: x86g_dirtyhelper_CPUID: Claim to be a P55C (Intel Pentium/MMX) X-Git-Tag: svn/VALGRIND_3_0_1^2~741 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e5eae7fe597c84f95bfe16d92d17b559c98bd8c;p=thirdparty%2Fvalgrind.git x86g_dirtyhelper_CPUID: Claim to be a P55C (Intel Pentium/MMX) git-svn-id: svn://svn.valgrind.org/vex/trunk@593 --- diff --git a/VEX/priv/guest-x86/ghelpers.c b/VEX/priv/guest-x86/ghelpers.c index 54a4259581..e09b919e4a 100644 --- a/VEX/priv/guest-x86/ghelpers.c +++ b/VEX/priv/guest-x86/ghelpers.c @@ -1603,7 +1603,7 @@ ULong x86g_calculate_RCR ( UInt arg, UInt rot_amt, UInt eflags_in, UInt sz ) /* CALLED FROM GENERATED CODE */ /* DIRTY HELPER (modifies guest state) */ -/* Claim to be a P54C P133 (pre-MMX Pentium) */ +/* Claim to be a P55C (Intel Pentium/MMX) */ void x86g_dirtyhelper_CPUID ( VexGuestX86State* st ) { if (st->guest_EAX == 0) { @@ -1612,10 +1612,10 @@ void x86g_dirtyhelper_CPUID ( VexGuestX86State* st ) st->guest_ECX = 0x6c65746e; st->guest_EDX = 0x49656e69; } else { - st->guest_EAX = 0x52b; + st->guest_EAX = 0x543; st->guest_EBX = 0x0; st->guest_ECX = 0x0; - st->guest_EDX = 0x1bf; + st->guest_EDX = 0x8001bf; } }