From 12eab3e7a639265250c072133e1665e796b07c5b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Mon, 29 Apr 2019 17:12:08 -0700 Subject: arch: Stop using TheISA within the ISAs. We know for sure what the ISA is, so there's no need for the indirection. Change-Id: I73ff04c50890d40a4c7f40caeee746b68b846cb3 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18488 Reviewed-by: Brandon Potter Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg Tested-by: kokoro --- src/arch/x86/process.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/x86') diff --git a/src/arch/x86/process.cc b/src/arch/x86/process.cc index d01afbc25..f4469bd02 100644 --- a/src/arch/x86/process.cc +++ b/src/arch/x86/process.cc @@ -150,7 +150,7 @@ X86_64Process::X86_64Process(ProcessParams *params, ObjectFile *objFile, void I386Process::syscall(int64_t callnum, ThreadContext *tc, Fault *fault) { - TheISA::PCState pc = tc->pcState(); + PCState pc = tc->pcState(); Addr eip = pc.pc(); if (eip >= vsyscallPage.base && eip < vsyscallPage.base + vsyscallPage.size) { -- cgit v1.2.3