From b859a7030d883cc208347387b19285c53b64fb54 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 20 Nov 2018 16:58:19 -0800 Subject: x86: Stop using/defining some ISA specific register types. These have been replaced with the generic RegVal type. Change-Id: I75c1134212067dea43aa0903d813633e06f3d6c6 Reviewed-on: https://gem5-review.googlesource.com/c/14476 Reviewed-by: Gabe Black Maintainer: Gabe Black --- src/arch/x86/linux/process.cc | 4 ++-- src/arch/x86/linux/process.hh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/arch/x86/linux') diff --git a/src/arch/x86/linux/process.cc b/src/arch/x86/linux/process.cc index 6a9aea85b..9e8997afc 100644 --- a/src/arch/x86/linux/process.cc +++ b/src/arch/x86/linux/process.cc @@ -549,7 +549,7 @@ X86_64LinuxProcess::X86_64LinuxProcess(ProcessParams * params, {} void X86_64LinuxProcess::clone(ThreadContext *old_tc, ThreadContext *new_tc, - Process *process, TheISA::IntReg flags) + Process *process, RegVal flags) { X86_64Process::clone(old_tc, new_tc, (X86_64Process*)process, flags); } @@ -891,7 +891,7 @@ I386LinuxProcess::I386LinuxProcess(ProcessParams * params, ObjectFile *objFile) {} void I386LinuxProcess::clone(ThreadContext *old_tc, ThreadContext *new_tc, - Process *process, TheISA::IntReg flags) + Process *process, RegVal flags) { I386Process::clone(old_tc, new_tc, (I386Process*)process, flags); } diff --git a/src/arch/x86/linux/process.hh b/src/arch/x86/linux/process.hh index bafa9cc6c..d4c9b0cf6 100644 --- a/src/arch/x86/linux/process.hh +++ b/src/arch/x86/linux/process.hh @@ -55,7 +55,7 @@ class X86_64LinuxProcess : public X86_64Process /// Constructor. X86_64LinuxProcess(ProcessParams * params, ObjectFile *objFile); void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *process, - TheISA::IntReg flags); + RegVal flags); }; class I386LinuxProcess : public I386Process @@ -64,7 +64,7 @@ class I386LinuxProcess : public I386Process /// Constructor. I386LinuxProcess(ProcessParams * params, ObjectFile *objFile); void clone(ThreadContext *old_tc, ThreadContext *new_tc, Process *process, - TheISA::IntReg flags); + RegVal flags); }; } // namespace X86ISA -- cgit v1.2.3