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: Avoid touching the %tick_cmp...
details: https://anonhg.NetBSD.org/src/rev/7a29ffc73dd6
branches: trunk
changeset: 355986:7a29ffc73dd6
user: palle <palle%NetBSD.org@localhost>
date: Sat Aug 26 20:25:00 2017 +0000
description:
sun4v: Avoid touching the %tick_cmpr register which is not present on never systems (Oracle SPARC Architecture 2011 and beyond). Based on code from OpenBSD locore.s revision 1.177. Tested on both
sun4u (qemu and USIII) and sun4v (qemu and T5-2). ok martin@
diffstat:
sys/arch/sparc64/sparc64/locore.s | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diffs (19 lines):
diff -r c050d84ce92a -r 7a29ffc73dd6 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Sat Aug 26 19:26:32 2017 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Sat Aug 26 20:25:00 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.411 2017/05/06 21:46:31 palle Exp $ */
+/* $NetBSD: locore.s,v 1.412 2017/08/26 20:25:00 palle Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -5119,9 +5119,6 @@
.align 8
start:
dostart:
- mov 1, %g1
- sllx %g1, 63, %g1
- wr %g1, TICK_CMPR ! XXXXXXX clear and disable %tick_cmpr for now
/*
* Startup.
*
Home |
Main Index |
Thread Index |
Old Index