summaryrefslogtreecommitdiff
path: root/sim/syscall_emul.hh
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-02-21 03:38:21 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-02-21 03:38:21 -0500
commit3f7979c99d8dc4f434e3daa2e179616f1669e16e (patch)
tree85d426effe10c1b34a3f434417213231a4aac528 /sim/syscall_emul.hh
parent74d7cd1ceadd8ba803bbb83750e11a3c488d3fe1 (diff)
downloadgem5-3f7979c99d8dc4f434e3daa2e179616f1669e16e.tar.xz
Made Addr a global type
--HG-- extra : convert_revision : 869bd9fa5d8591115ac9b4a7401eb2490986b835
Diffstat (limited to 'sim/syscall_emul.hh')
-rw-r--r--sim/syscall_emul.hh5
1 files changed, 1 insertions, 4 deletions
diff --git a/sim/syscall_emul.hh b/sim/syscall_emul.hh
index 4e4f9a5d7..f49248dea 100644
--- a/sim/syscall_emul.hh
+++ b/sim/syscall_emul.hh
@@ -90,9 +90,6 @@ class SyscallDesc {
class BaseBufferArg {
- protected:
- typedef TheISA::Addr Addr;
-
public:
BaseBufferArg(Addr _addr, int _size) : addr(_addr), size(_size)
@@ -643,7 +640,7 @@ template <class OS>
SyscallReturn
mmapFunc(SyscallDesc *desc, int num, Process *p, ExecContext *xc)
{
- TheISA::Addr start = xc->getSyscallArg(0);
+ Addr start = xc->getSyscallArg(0);
uint64_t length = xc->getSyscallArg(1);
// int prot = xc->getSyscallArg(2);
int flags = xc->getSyscallArg(3);