diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2008-12-04 18:03:35 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2008-12-04 18:03:35 -0500 |
commit | e2c7618e508c6e5c0cbbd091eabb336f3e259465 (patch) | |
tree | b62bba786153422bcaffe32b285b9cb97ca23339 /src/arch/sparc | |
parent | 041ca19edc7ebd905b3fe3e1b731c0b19a146896 (diff) | |
download | gem5-e2c7618e508c6e5c0cbbd091eabb336f3e259465.tar.xz |
This patch pulls out the auxiliary vector struct from individual ISA
LiveProcesses to the base LiveProcess definition so anyone can use them.
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/process.hh | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/arch/sparc/process.hh b/src/arch/sparc/process.hh index a37760139..95abb93d3 100644 --- a/src/arch/sparc/process.hh +++ b/src/arch/sparc/process.hh @@ -71,26 +71,6 @@ class SparcLiveProcess : public LiveProcess virtual void flushWindows(ThreadContext *tc) = 0; }; -template<class IntType> -struct M5_auxv_t -{ - IntType a_type; - union { - IntType a_val; - IntType a_ptr; - IntType a_fcn; - }; - - M5_auxv_t() - {} - - M5_auxv_t(IntType type, IntType val) - { - a_type = SparcISA::htog(type); - a_val = SparcISA::htog(val); - } -}; - class Sparc32LiveProcess : public SparcLiveProcess { protected: |