]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
AMD64 build fixes.
authorJulian Seward <jseward@acm.org>
Wed, 19 Jan 2005 14:05:09 +0000 (14:05 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 19 Jan 2005 14:05:09 +0000 (14:05 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3227

coregrind/amd64/state.c

index 5258067e3440401d62837df57ad3e58d41a3ee80..60ee569afbdef2c29512b577794d450817ee1acd 100644 (file)
 
 #include "libvex_guest_amd64.h"
 
+
+/*------------------------------------------------------------*/
+/*--- Determining arch/subarch.                            ---*/
+/*------------------------------------------------------------*/
+
+// Returns the architecture and subarchitecture, or indicates
+// that this subarchitecture is unable to run Valgrind
+// Returns False to indicate we cannot proceed further.
+Bool VGA_(getArchAndSubArch)( /*OUT*/VexArch*    vex_arch, 
+                              /*OUT*/VexSubArch* vex_subarch )
+{
+   *vex_arch = VexArchAMD64;
+   *vex_subarch = VexSubArch_NONE;
+   return True;
+}
+
+
 /*------------------------------------------------------------*/
 /*--- Initialising the first thread                        ---*/
 /*------------------------------------------------------------*/