diff options
author | Ron Dreslinski <rdreslin@umich.edu> | 2006-03-10 16:59:02 -0500 |
---|---|---|
committer | Ron Dreslinski <rdreslin@umich.edu> | 2006-03-10 16:59:02 -0500 |
commit | 5ba4c8e96ef694431ff1715fbea7cd0e70e6b072 (patch) | |
tree | 4847c6c99043470e678ccafcdb5a0039f3ede3c6 /arch/alpha/linux | |
parent | d07115f97266185fea006854f6e5eea8bf992c4b (diff) | |
download | gem5-5ba4c8e96ef694431ff1715fbea7cd0e70e6b072.tar.xz |
It now runs hello world binary.
Fixed the exec context proxy class to have a getMemPort function.
arch/alpha/linux/process.cc:
arch/alpha/tru64/process.cc:
kern/tru64/tru64.hh:
sim/syscall_emul.cc:
sim/syscall_emul.hh:
Fix to use new exec context proxy
--HG--
extra : convert_revision : eaa05dfab3fdb77627f6cf404a2569a44232f604
Diffstat (limited to 'arch/alpha/linux')
-rw-r--r-- | arch/alpha/linux/process.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/alpha/linux/process.cc b/arch/alpha/linux/process.cc index d40895921..704773fdf 100644 --- a/arch/alpha/linux/process.cc +++ b/arch/alpha/linux/process.cc @@ -54,7 +54,7 @@ unameFunc(SyscallDesc *desc, int callnum, Process *process, strcpy(name->version, "#1 Mon Aug 18 11:32:15 EDT 2003"); strcpy(name->machine, "alpha"); - name.copyOut(xc->port); + name.copyOut(xc->getMemPort()); return 0; } @@ -74,7 +74,7 @@ osf_getsysinfoFunc(SyscallDesc *desc, int callnum, Process *process, TypedBufferArg<uint64_t> fpcr(xc->getSyscallArg(1)); // I don't think this exactly matches the HW FPCR *fpcr = 0; - fpcr.copyOut(xc->port); + fpcr.copyOut(xc->getMemPort()); return 0; } @@ -100,7 +100,7 @@ osf_setsysinfoFunc(SyscallDesc *desc, int callnum, Process *process, case 14: { // SSI_IEEE_FP_CONTROL TypedBufferArg<uint64_t> fpcr(xc->getSyscallArg(1)); // I don't think this exactly matches the HW FPCR - fpcr.copyIn(xc->port); + fpcr.copyIn(xc->getMemPort()); DPRINTFR(SyscallVerbose, "osf_setsysinfo(SSI_IEEE_FP_CONTROL): " " setting FPCR to 0x%x\n", gtoh(*(uint64_t*)fpcr)); return 0; |