Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 sun4v: the trap base address should...
details: https://anonhg.NetBSD.org/src/rev/bbb6b2dd2aaa
branches: trunk
changeset: 329081:bbb6b2dd2aaa
user: palle <palle%NetBSD.org@localhost>
date: Mon May 05 19:04:47 2014 +0000
description:
sun4v: the trap base address should be assigned to %l1 so %tba is properly setup later in the code - now the kernel gets as far as printing the copyright disclaimer, kernel version and total and
available memory before crashing
diffstat:
sys/arch/sparc64/sparc64/locore.s | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r cb6fab53a72b -r bbb6b2dd2aaa sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Mon May 05 18:08:32 2014 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Mon May 05 19:04:47 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.357 2014/04/21 17:34:38 palle Exp $ */
+/* $NetBSD: locore.s,v 1.358 2014/05/05 19:04:47 palle Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -4372,10 +4372,10 @@
bne,pt %icc, 6f
nop
/* sun4v */
- set _C_LABEL(trapbase_sun4v), %o0
+ set _C_LABEL(trapbase_sun4v), %l1
GET_MMFSA %o1
call _C_LABEL(prom_set_trap_table_sun4v) ! Now we should be running 100% from our handlers
- nop
+ mov %l1, %o0
ba 7f
nop
Home |
Main Index |
Thread Index |
Old Index