diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-08-01 16:59:14 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-08-01 16:59:14 -0400 |
commit | fae60c164e284864cfabea515db6ba28d601b71d (patch) | |
tree | 46f81cfc7e8df85101fe2efeb020dc4be5d47874 /src/kern/tru64/printf.hh | |
parent | ae3e1d22fc3bfff8c246a0a743b77f4096d95b74 (diff) | |
download | gem5-fae60c164e284864cfabea515db6ba28d601b71d.tar.xz |
Arguments: Get rid of duplicate code for the Arguments class in each architecture.
Move the argument files to src/sim and add a utility.cc file with a function
getArguments() that returns the given argument in the architecture specific fashion.
getArguments() was getArg() is the architecture specific Argument class and has had
all magic numbers replaced with meaningful constants. Also add a function to the
Argument class for testing if an argument is NULL.
--HG--
rename : src/arch/alpha/arguments.cc => src/sim/arguments.cc
rename : src/arch/alpha/arguments.hh => src/sim/arguments.hh
extra : convert_revision : 8b93667bafaa03b52aadb64d669adfe835266b8e
Diffstat (limited to 'src/kern/tru64/printf.hh')
-rw-r--r-- | src/kern/tru64/printf.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kern/tru64/printf.hh b/src/kern/tru64/printf.hh index ff453b1c1..5036694c0 100644 --- a/src/kern/tru64/printf.hh +++ b/src/kern/tru64/printf.hh @@ -31,10 +31,10 @@ #ifndef __PRINTF_HH__ #define __PRINTF_HH__ -#include "arch/arguments.hh" +#include "sim/arguments.hh" namespace tru64 { - void Printf(TheISA::Arguments args); + void Printf(Arguments args); } #endif // __PRINTF_HH__ |