diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2006-04-18 09:44:45 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2006-04-18 09:44:45 -0400 |
commit | cae6b571d63b38c3177f5b47891021ba69386453 (patch) | |
tree | 6039a7ce3381b6c5448fc127bdb7b063ae52115e /arch/sparc/process.hh | |
parent | 0534e355b77497a1272f6078edae1692d87a15cf (diff) | |
parent | 609c4ecea618c6406e50432e38882925db7b7ede (diff) | |
download | gem5-cae6b571d63b38c3177f5b47891021ba69386453.tar.xz |
Merge m5.eecs.umich.edu:/bk/newmem
into ewok.(none):/home/gblack/m5/newmem
--HG--
extra : convert_revision : 3eb97976caf57e43119a998c31128ca6f163c05b
Diffstat (limited to 'arch/sparc/process.hh')
-rw-r--r-- | arch/sparc/process.hh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/sparc/process.hh b/arch/sparc/process.hh index cc4d0ae0a..7b2aec7b9 100644 --- a/arch/sparc/process.hh +++ b/arch/sparc/process.hh @@ -39,6 +39,20 @@ class System; class SparcLiveProcess : public LiveProcess { protected: + typedef struct + { + int64_t a_type; + union { + int64_t a_val; + Addr a_ptr; + Addr a_fcn; + }; + } m5_auxv_t; + + static const Addr StackBias = 2047; + + std::vector<m5_auxv_t> auxv; + SparcLiveProcess(const std::string &nm, ObjectFile *objFile, System *_system, int stdin_fd, int stdout_fd, int stderr_fd, std::vector<std::string> &argv, @@ -57,6 +71,8 @@ class SparcLiveProcess : public LiveProcess std::vector<std::string> &argv, std::vector<std::string> &envp); + void argsInit(int intSize, int pageSize); + }; #endif // __SPARC_PROCESS_HH__ |