Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/arcbios Don't forget to save MIPS_CURLWP (t8) regist...



details:   https://anonhg.NetBSD.org/src/rev/aa47e96191fe
branches:  trunk
changeset: 972552:aa47e96191fe
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sat May 30 02:46:07 2020 +0000

description:
Don't forget to save MIPS_CURLWP (t8) register before restoring it.

Maybe harmless because the only ARC BIOS function that takes
more than four arguments is currently unused.

diffstat:

 sys/dev/arcbios/arcbios_calls.S |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r fce2ed9e40bc -r aa47e96191fe sys/dev/arcbios/arcbios_calls.S
--- a/sys/dev/arcbios/arcbios_calls.S   Sat May 30 00:00:35 2020 +0000
+++ b/sys/dev/arcbios/arcbios_calls.S   Sat May 30 02:46:07 2020 +0000
@@ -32,7 +32,7 @@
 
 #include "assym.h"
 
-RCSID("$NetBSD: arcbios_calls.S,v 1.1 2011/02/20 08:02:46 matt Exp $")
+RCSID("$NetBSD: arcbios_calls.S,v 1.2 2020/05/30 02:46:07 tsutsui Exp $")
 
        .text
        .set noreorder
@@ -101,7 +101,7 @@
        nop
 
        jalr    t9
-        nop
+        move   s0, t8
 
        FIX_V0
 



Home | Main Index | Thread Index | Old Index