diff options
author | Lisa Hsu <hsul@eecs.umich.edu> | 2008-12-07 15:07:42 -0500 |
---|---|---|
committer | Lisa Hsu <hsul@eecs.umich.edu> | 2008-12-07 15:07:42 -0500 |
commit | 993b7be4bb3dae5b15cd4c23a4c0e4c3dc7ed734 (patch) | |
tree | a595851b8385871ae104a06c59f17e62e3a9e154 /src/sim/process.hh | |
parent | e4790bcbe29b82dc81d4f34b78bb6ee2f718806a (diff) | |
download | gem5-993b7be4bb3dae5b15cd4c23a4c0e4c3dc7ed734.tar.xz |
imported patch aux-fix.patch
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index 996663847..e6b7c80b7 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -62,19 +62,15 @@ namespace TheISA } template<class IntType> -struct M5_auxv_t +struct AuxVector { IntType a_type; - union { - IntType a_val; - IntType a_ptr; - IntType a_fcn; - }; + IntType a_val; - M5_auxv_t() + AuxVector() {} - M5_auxv_t(IntType type, IntType val); + AuxVector(IntType type, IntType val); }; class Process : public SimObject |