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 Don't set `runtime' here; it's done...
details: https://anonhg.NetBSD.org/src/rev/0fcf14af365c
branches: trunk
changeset: 486592:0fcf14af365c
user: thorpej <thorpej%NetBSD.org@localhost>
date: Fri May 26 05:27:29 2000 +0000
description:
Don't set `runtime' here; it's done at the end of mi_switch().
cvS: ----------------------------------------------------------------------
diffstat:
sys/arch/sparc64/sparc64/locore.s | 14 +-------------
1 files changed, 1 insertions(+), 13 deletions(-)
diffs (35 lines):
diff -r 533b3c1b597f -r 0fcf14af365c sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Fri May 26 05:07:02 2000 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Fri May 26 05:27:29 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.57 2000/05/26 00:36:50 thorpej Exp $ */
+/* $NetBSD: locore.s,v 1.58 2000/05/26 05:27:29 thorpej Exp $ */
/*
* Copyright (c) 1996-1999 Eduardo Horvath
* Copyright (c) 1996 Paul Kranenburg
@@ -7039,7 +7039,6 @@
* Apparently cpu_switch() is called with curproc as the first argument,
* but no port seems to make use of that parameter.
*/
- .globl _C_LABEL(runtime)
.globl _C_LABEL(time)
ENTRY(cpu_switch)
/*
@@ -7108,17 +7107,6 @@
wrpr %g0, PIL_CLOCK, %pil ! (void) splclock();
Lsw_scan:
- /*
- * We're about to run a (possibly) new process. Set runtime
- * to indicate its start time.
- */
- sethi %hi(_C_LABEL(time)), %o0
- LDPTR [%o0 + %lo(_C_LABEL(time))], %o2! Need to do this in 2 steps cause time may not be aligned
- LDPTR [%o0 + %lo(_C_LABEL(time)+PTRSZ)], %o3
- sethi %hi(_C_LABEL(runtime)), %o0
- STPTR %o2, [%o0 + %lo(_C_LABEL(runtime))]
- STPTR %o3, [%o0 + %lo(_C_LABEL(runtime)+PTRSZ)]
-
ld [%g2 + %lo(_C_LABEL(whichqs))], %o3
#ifndef POPC
Home |
Main Index |
Thread Index |
Old Index