summaryrefslogtreecommitdiff
path: root/src/arch/alpha/SConscript
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-08-01 16:59:14 -0400
committerAli Saidi <saidi@eecs.umich.edu>2007-08-01 16:59:14 -0400
commitfae60c164e284864cfabea515db6ba28d601b71d (patch)
tree46f81cfc7e8df85101fe2efeb020dc4be5d47874 /src/arch/alpha/SConscript
parentae3e1d22fc3bfff8c246a0a743b77f4096d95b74 (diff)
downloadgem5-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/arch/alpha/SConscript')
-rw-r--r--src/arch/alpha/SConscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/alpha/SConscript b/src/arch/alpha/SConscript
index 2d59180c4..4f293e22f 100644
--- a/src/arch/alpha/SConscript
+++ b/src/arch/alpha/SConscript
@@ -38,12 +38,12 @@ if env['TARGET_ISA'] == 'alpha':
Source('miscregfile.cc')
Source('regfile.cc')
Source('remote_gdb.cc')
+ Source('utility.cc')
if env['FULL_SYSTEM']:
SimObject('AlphaSystem.py')
SimObject('AlphaTLB.py')
- Source('arguments.cc')
Source('ev5.cc')
Source('idle_event.cc')
Source('ipr.cc')