From fae60c164e284864cfabea515db6ba28d601b71d Mon Sep 17 00:00:00 2001
From: Ali Saidi <saidi@eecs.umich.edu>
Date: Wed, 1 Aug 2007 16:59:14 -0400
Subject: 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
---
 src/arch/alpha/linux/system.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/arch/alpha/linux/system.cc')

diff --git a/src/arch/alpha/linux/system.cc b/src/arch/alpha/linux/system.cc
index f93cdfbad..102598716 100644
--- a/src/arch/alpha/linux/system.cc
+++ b/src/arch/alpha/linux/system.cc
@@ -40,7 +40,6 @@
  * up boot time.
  */
 
-#include "arch/arguments.hh"
 #include "arch/vtophys.hh"
 #include "arch/alpha/idle_event.hh"
 #include "arch/alpha/linux/system.hh"
@@ -54,6 +53,7 @@
 #include "kern/linux/events.hh"
 #include "mem/physical.hh"
 #include "mem/port.hh"
+#include "sim/arguments.hh"
 #include "sim/byteswap.hh"
 
 using namespace std;
-- 
cgit v1.2.3