summaryrefslogtreecommitdiff
path: root/src/arch/riscv/process.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/riscv/process.hh')
-rw-r--r--src/arch/riscv/process.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/riscv/process.hh b/src/arch/riscv/process.hh
index f732a4436..2a27f350e 100644
--- a/src/arch/riscv/process.hh
+++ b/src/arch/riscv/process.hh
@@ -48,17 +48,19 @@ class RiscvProcess : public Process
protected:
RiscvProcess(ProcessParams * params, ObjectFile *objFile);
- void initState();
+ void initState() override;
template<class IntType>
void argsInit(int pageSize);
public:
- RiscvISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
+ RiscvISA::IntReg getSyscallArg(ThreadContext *tc, int &i) override;
/// Explicitly import the otherwise hidden getSyscallArg
using Process::getSyscallArg;
- void setSyscallArg(ThreadContext *tc, int i, RiscvISA::IntReg val);
- void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
+ void setSyscallArg(ThreadContext *tc, int i,
+ RiscvISA::IntReg val) override;
+ void setSyscallReturn(ThreadContext *tc,
+ SyscallReturn return_value) override;
virtual bool mmapGrowsDown() const override { return false; }
};