From: Julian Seward Date: Wed, 19 Jan 2005 14:05:09 +0000 (+0000) Subject: AMD64 build fixes. X-Git-Tag: svn/VALGRIND_3_0_0~1091 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24777514e0dc49ae445278b37832509b2cd19bec;p=thirdparty%2Fvalgrind.git AMD64 build fixes. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3227 --- diff --git a/coregrind/amd64/state.c b/coregrind/amd64/state.c index 5258067e34..60ee569afb 100644 --- a/coregrind/amd64/state.c +++ b/coregrind/amd64/state.c @@ -34,6 +34,23 @@ #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 ---*/ /*------------------------------------------------------------*/