x86: Some small style fixes in arch/x86/process.hh.

Moved two single line functions to be all on one line, and added some
consts.

Change-Id: Iecfa3a9c2bde69ce2f26e9531864a7cb92b0a1df
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/38489
Reviewed-by: Jason Lowe-Power <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2020-12-13 02:57:02 -08:00
parent 09982dcbe9
commit 4110ee2088

View File

@@ -68,11 +68,8 @@ namespace X86ISA
std::vector<AuxVector<IntType> > extraAuxvs);
public:
Addr gdtStart()
{ return _gdtStart; }
Addr gdtSize()
{ return _gdtSize; }
Addr gdtStart() const { return _gdtStart; }
Addr gdtSize() const { return _gdtSize; }
void clone(ThreadContext *old_tc, ThreadContext *new_tc,
Process *process, RegVal flags) override;
@@ -159,7 +156,7 @@ namespace X86ISA
I386Process(const ProcessParams &params,
::Loader::ObjectFile *objFile);
const VSyscallPage &getVSyscallPage() { return vsyscallPage; }
const VSyscallPage &getVSyscallPage() const { return vsyscallPage; }
void argsInit(int pageSize);
void initState() override;