From 208dcd315eb9d57d651753c63309d68f17875580 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 22 Jan 2020 21:20:06 -0800 Subject: [PATCH] sim: Remove mention of alpha. Change-Id: Iec6b9284383d380885955438c3693b0d2efc497e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24649 Tested-by: kokoro Maintainer: Jason Lowe-Power Reviewed-by: Bobby R. Bruce --- src/sim/syscall_emul.hh | 4 +--- src/sim/vptr.hh | 6 +++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/sim/syscall_emul.hh b/src/sim/syscall_emul.hh index 3e727e831..a5795763c 100644 --- a/src/sim/syscall_emul.hh +++ b/src/sim/syscall_emul.hh @@ -1568,9 +1568,7 @@ cloneFunc(SyscallDesc *desc, int callnum, ThreadContext *tc) cp->setSyscallReturn(ctc, 0); -#if THE_ISA == ALPHA_ISA - ctc->setIntReg(TheISA::SyscallSuccessReg, 0); -#elif THE_ISA == SPARC_ISA +#if THE_ISA == SPARC_ISA tc->setIntReg(TheISA::SyscallPseudoReturnReg, 0); ctc->setIntReg(TheISA::SyscallPseudoReturnReg, 1); #endif diff --git a/src/sim/vptr.hh b/src/sim/vptr.hh index 07f00c3db..87c9efcf8 100644 --- a/src/sim/vptr.hh +++ b/src/sim/vptr.hh @@ -28,8 +28,8 @@ * Authors: Nathan Binkert */ -#ifndef __ARCH_ALPHA_VPTR_HH__ -#define __ARCH_ALPHA_VPTR_HH__ +#ifndef __SIM_VPTR_HH__ +#define __SIM_VPTR_HH__ #include "mem/fs_translating_port_proxy.hh" @@ -132,4 +132,4 @@ class VPtr } }; -#endif // __ARCH_ALPHA_VPTR_HH__ +#endif // __SIM_VPTR_HH__ -- 2.30.2