summaryrefslogtreecommitdiff
path: root/src/arch/sparc/process.hh
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2018-10-18 17:50:42 -0700
committerGabe Black <gabeblack@google.com>2019-01-22 21:16:10 +0000
commit1ab1500dfd0cb64b2fef7fb5e0f9e1fa007d2481 (patch)
treee2c9cbab3738a79463e6ad9defbe845efb764a51 /src/arch/sparc/process.hh
parent230b892fa3f484a46f4cd77f889f8793416b91e2 (diff)
downloadgem5-1ab1500dfd0cb64b2fef7fb5e0f9e1fa007d2481.tar.xz
sparc: Get rid of some register type definitions.
These are IntReg, FloatReg, FloatRegBits, and MiscReg. These have been supplanted by the global types RegVal and FloatRegVal. Change-Id: I956abfc7b439b083403e1a0d01e0bb35020bde44 Reviewed-on: https://gem5-review.googlesource.com/c/13627 Maintainer: Gabe Black <gabeblack@google.com> Reviewed-by: Jason Lowe-Power <jason@lowepower.com>
Diffstat (limited to 'src/arch/sparc/process.hh')
-rw-r--r--src/arch/sparc/process.hh8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/sparc/process.hh b/src/arch/sparc/process.hh
index d7e096758..eeb267116 100644
--- a/src/arch/sparc/process.hh
+++ b/src/arch/sparc/process.hh
@@ -109,11 +109,11 @@ class Sparc32Process : public SparcProcess
void flushWindows(ThreadContext *tc);
- SparcISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
+ RegVal getSyscallArg(ThreadContext *tc, int &i);
/// Explicitly import the otherwise hidden getSyscallArg
using Process::getSyscallArg;
- void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val);
+ void setSyscallArg(ThreadContext *tc, int i, RegVal val);
};
class Sparc64Process : public SparcProcess
@@ -153,11 +153,11 @@ class Sparc64Process : public SparcProcess
void flushWindows(ThreadContext *tc);
- SparcISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
+ RegVal getSyscallArg(ThreadContext *tc, int &i);
/// Explicitly import the otherwise hidden getSyscallArg
using Process::getSyscallArg;
- void setSyscallArg(ThreadContext *tc, int i, SparcISA::IntReg val);
+ void setSyscallArg(ThreadContext *tc, int i, RegVal val);
};
#endif // __SPARC_PROCESS_HH__