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/sim/process.hh | |
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/sim/process.hh')
-rw-r--r-- | src/sim/process.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh index d6ed59ced..996663847 100644 --- a/src/sim/process.hh +++ b/src/sim/process.hh @@ -61,6 +61,22 @@ namespace TheISA class RemoteGDB; } +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); +}; + class Process : public SimObject { public: |