diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-02-23 04:08:55 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-02-23 04:08:55 -0500 |
commit | 5ecaaa0fb06f4ea1993f734e219f29b3ecf47741 (patch) | |
tree | 8bf0070f567b3fa08c9f2e0a8d427889f0edef4b /arch/isa_specific.hh | |
parent | 9bc7f13eebbec26357ce722faa9bf2db4740bb9d (diff) | |
parent | f462266b30abcad6b69c8b29fb1d856c04d6ac1f (diff) | |
download | gem5-5ecaaa0fb06f4ea1993f734e219f29b3ecf47741.tar.xz |
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/m5
into zizzer.eecs.umich.edu:/z/m5/Bitkeeper/multiarch
--HG--
extra : convert_revision : 850077a56aead260aa4bbd3df60b672a931d57ed
Diffstat (limited to 'arch/isa_specific.hh')
-rw-r--r-- | arch/isa_specific.hh | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/isa_specific.hh b/arch/isa_specific.hh index e11e6c292..44f8e9d64 100644 --- a/arch/isa_specific.hh +++ b/arch/isa_specific.hh @@ -50,27 +50,13 @@ //These tell the preprocessor where to find the files of a particular //ISA, and set the "TheISA" macro for use elsewhere. #if THE_ISA == ALPHA_ISA - #define ISA_PATH arch/alpha/ #define TheISA AlphaISA #elif THE_ISA == SPARC_ISA - #define ISA_PATH arch/sparc/ #define TheISA SparcISA #elif THE_ISA == MIPS_ISA - #define ISA_PATH arch/mips/ #define TheISA MipsISA #else #error "THE_ISA not set" #endif -//The following is some preprocessor voodoo to allow redirectable includes -//The end result is the ISA_INCLUDE() macro which is used inside stub -//include files in arch and which redirect to the isa in use. -#define STRINGIFY(token) #token -#define EXPAND(token) token -#define STICK_TOGETHER(firstpart, secondpart) \ - EXPAND(firstpart)EXPAND(secondpart) -#define EXPAND_AND_STRINGIFY(pathAndFile) \ - STRINGIFY(pathAndFile) -#define ISA_INCLUDE(filename) \ - EXPAND_AND_STRINGIFY(STICK_TOGETHER(ISA_PATH, filename)) #endif |