Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/arm/arm32 Provide a hook for platform-specific inte...
details: https://anonhg.NetBSD.org/src/rev/84d146b1bffe
branches: trunk
changeset: 518386:84d146b1bffe
user: thorpej <thorpej%NetBSD.org@localhost>
date: Thu Nov 29 17:12:22 2001 +0000
description:
Provide a hook for platform-specific interrupt code to specify
the "spl" cookie in the switch frame.
diffstat:
sys/arch/arm/arm32/vm_machdep.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 456ec3a93641 -r 84d146b1bffe sys/arch/arm/arm32/vm_machdep.c
--- a/sys/arch/arm/arm32/vm_machdep.c Thu Nov 29 17:10:31 2001 +0000
+++ b/sys/arch/arm/arm32/vm_machdep.c Thu Nov 29 17:12:22 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vm_machdep.c,v 1.10 2001/11/24 01:26:24 thorpej Exp $ */
+/* $NetBSD: vm_machdep.c,v 1.11 2001/11/29 17:12:22 thorpej Exp $ */
/*
* Copyright (c) 1994-1998 Mark Brinicombe.
@@ -176,7 +176,11 @@
tf->tf_usr_sp = (u_int)stack + stacksize;
sf = (struct switchframe *)tf - 1;
+#ifdef __NEWINTR
+ sf->sf_spl = cpu_sf_spl0();
+#else
sf->sf_spl = _SPL_0;
+#endif
sf->sf_r4 = (u_int)func;
sf->sf_r5 = (u_int)arg;
sf->sf_pc = (u_int)proc_trampoline;
Home |
Main Index |
Thread Index |
Old Index