changeset eea37fdcfc11 in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=eea37fdcfc11
description:
        ARM: Delete OABI syscall handling.

        We only support EABI binaries, so there is no reason to support OABI 
syscalls.
        The loader detects OABI calls and fatal() so there is no reason to even 
check
        here.

diffstat:

 src/arch/arm/faults.cc |  9 +--------
 1 files changed, 1 insertions(+), 8 deletions(-)

diffs (19 lines):

diff -r ef46ec5373dd -r eea37fdcfc11 src/arch/arm/faults.cc
--- a/src/arch/arm/faults.cc    Wed Feb 23 15:10:48 2011 -0600
+++ b/src/arch/arm/faults.cc    Wed Feb 23 15:10:48 2011 -0600
@@ -184,14 +184,7 @@
     // As of now, there isn't a 32 bit thumb version of this instruction.
     assert(!machInst.bigThumb);
     uint32_t callNum;
-    if (machInst.thumb) {
-        callNum = bits(machInst, 7, 0);
-    } else {
-        callNum = bits(machInst, 23, 0);
-    }
-    if (callNum == 0) {
-        callNum = tc->readIntReg(INTREG_R7);
-    }
+    callNum = tc->readIntReg(INTREG_R7);
     tc->syscall(callNum);
 
     // Advance the PC since that won't happen automatically.
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to