Sean Wilson has uploaded this change for review. ( https://gem5-review.googlesource.com/3720

Change subject: x86: Add consistent overrides to process.hh
......................................................................

x86: Add consistent overrides to process.hh

Change-Id: I912601b6f781a0bbedd06583c059589374f6d5c6
Signed-off-by: Sean Wilson <[email protected]>
---
M src/arch/x86/process.hh
1 file changed, 14 insertions(+), 9 deletions(-)



diff --git a/src/arch/x86/process.hh b/src/arch/x86/process.hh
index fe31348..9cd5378 100644
--- a/src/arch/x86/process.hh
+++ b/src/arch/x86/process.hh
@@ -79,9 +79,10 @@
         Addr gdtSize()
         { return _gdtSize; }

-        SyscallDesc* getDesc(int callnum);
+        SyscallDesc* getDesc(int callnum) override;

- void setSyscallReturn(ThreadContext *tc, SyscallReturn return_value);
+        void setSyscallReturn(ThreadContext *tc,
+                              SyscallReturn return_value) override;
         void clone(ThreadContext *old_tc, ThreadContext *new_tc,
                    Process *process, TheISA::IntReg flags);

@@ -131,12 +132,13 @@

       public:
         void argsInit(int pageSize);
-        void initState();
+        void initState() override;

-        X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
+        X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i) override;
         /// Explicitly import the otherwise hidden getSyscallArg
         using Process::getSyscallArg;
-        void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val);
+        void setSyscallArg(ThreadContext *tc, int i,
+                           X86ISA::IntReg val) override;
         void clone(ThreadContext *old_tc, ThreadContext *new_tc,
                    Process *process, TheISA::IntReg flags);
     };
@@ -173,13 +175,16 @@

       public:
         void argsInit(int pageSize);
-        void initState();
+        void initState() override;

         void syscall(int64_t callnum, ThreadContext *tc,
                      Fault *fault) override;
-        X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i);
-        X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i, int width);
-        void setSyscallArg(ThreadContext *tc, int i, X86ISA::IntReg val);
+        X86ISA::IntReg getSyscallArg(ThreadContext *tc,
+                                     int &i) override;
+        X86ISA::IntReg getSyscallArg(ThreadContext *tc, int &i,
+                                     int width) override;
+        void setSyscallArg(ThreadContext *tc, int i,
+                           X86ISA::IntReg val) override;
         void clone(ThreadContext *old_tc, ThreadContext *new_tc,
                    Process *process, TheISA::IntReg flags);
     };

--
To view, visit https://gem5-review.googlesource.com/3720
To unsubscribe, visit https://gem5-review.googlesource.com/settings

Gerrit-Project: public/gem5
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I912601b6f781a0bbedd06583c059589374f6d5c6
Gerrit-Change-Number: 3720
Gerrit-PatchSet: 1
Gerrit-Owner: Sean Wilson <[email protected]>
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to