sim: Remove mention of alpha.
authorGabe Black <gabeblack@google.com>
Thu, 23 Jan 2020 05:20:06 +0000 (21:20 -0800)
committerGabe Black <gabeblack@google.com>
Thu, 13 Feb 2020 23:25:09 +0000 (23:25 +0000)
Change-Id: Iec6b9284383d380885955438c3693b0d2efc497e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24649
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Jason Lowe-Power <jason@lowepower.com>
Reviewed-by: Bobby R. Bruce <bbruce@ucdavis.edu>
src/sim/syscall_emul.hh
src/sim/vptr.hh

index 3e727e8314bc701fedf327ab86f219009eceedb3..a5795763c87d30a72611ecf4cf821793e89c4fee 100644 (file)
@@ -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
index 07f00c3db7c7a96610271c6621df0a266a0bfb57..87c9efcf8d704c5c673a491d19140cb431988f7a 100644 (file)
@@ -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__