Module Name: src
Committed By: tsutsui
Date: Sat May 30 02:46:07 UTC 2020
Modified Files:
src/sys/dev/arcbios: arcbios_calls.S
Log Message:
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.
To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/sys/dev/arcbios/arcbios_calls.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/arcbios/arcbios_calls.S
diff -u src/sys/dev/arcbios/arcbios_calls.S:1.1 src/sys/dev/arcbios/arcbios_calls.S:1.2
--- src/sys/dev/arcbios/arcbios_calls.S:1.1 Sun Feb 20 08:02:46 2011
+++ src/sys/dev/arcbios/arcbios_calls.S Sat May 30 02:46:07 2020
@@ -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 @@ NESTED(arcbios_5to8_args, CALLFRAME2_SIZ
nop
jalr t9
- nop
+ move s0, t8
FIX_V0