Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hppa/hppa If arg3 is zero then fill it with the val...
details: https://anonhg.NetBSD.org/src/rev/943abeddb1dc
branches: trunk
changeset: 455889:943abeddb1dc
user: skrll <skrll%NetBSD.org@localhost>
date: Tue Apr 16 20:33:36 2019 +0000
description:
If arg3 is zero then fill it with the value of 'end'. Helps booting
with qemu.
diffstat:
sys/arch/hppa/hppa/locore.S | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (24 lines):
diff -r b9b48b3e8166 -r 943abeddb1dc sys/arch/hppa/hppa/locore.S
--- a/sys/arch/hppa/hppa/locore.S Tue Apr 16 19:38:14 2019 +0000
+++ b/sys/arch/hppa/hppa/locore.S Tue Apr 16 20:33:36 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.2 2019/04/15 20:45:08 skrll Exp $ */
+/* $NetBSD: locore.S,v 1.3 2019/04/16 20:33:36 skrll Exp $ */
/* $OpenBSD: locore.S,v 1.158 2008/07/28 19:08:46 miod Exp $ */
/*
@@ -174,6 +174,14 @@
stw %arg1,R%boothowto(%r1)
ldil L%bootdev,%r1
stw %arg2,R%bootdev(%r1)
+
+ comb,<> %r0, %arg3, 1f
+ nop
+
+ ldil L%end, %arg3
+ ldo R%end(%arg3), %arg3
+
+1:
ldil L%esym,%r1
stw %arg3,R%esym(%r1)
Home |
Main Index |
Thread Index |
Old Index