|
From: <sv...@va...> - 2005-04-02 17:01:55
|
Author: tom
Date: 2005-04-02 18:01:52 +0100 (Sat, 02 Apr 2005)
New Revision: 3505
Modified:
trunk/coregrind/amd64/state.c
Log:
Assert that cpuid is available - this is just done to force the
code from cpuid.S to be pulled in so that tools can use it.
Modified: trunk/coregrind/amd64/state.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/amd64/state.c 2005-04-02 17:01:07 UTC (rev 3504)
+++ trunk/coregrind/amd64/state.c 2005-04-02 17:01:52 UTC (rev 3505)
@@ -45,6 +45,7 @@
Bool VGA_(getArchAndSubArch)( /*OUT*/VexArch* vex_arch,=20
/*OUT*/VexSubArch* vex_subarch )
{
+ vg_assert(VG_(has_cpuid)());
*vex_arch =3D VexArchAMD64;
*vex_subarch =3D VexSubArch_NONE;
return True;
|