Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Forgot a protection #define.
details: https://anonhg.NetBSD.org/src/rev/83b9e456e56b
branches: trunk
changeset: 485232:83b9e456e56b
user: ragge <ragge%NetBSD.org@localhost>
date: Sat Apr 22 17:05:07 2000 +0000
description:
Forgot a protection #define.
Make use of raise-spl.
diffstat:
sys/arch/vax/vax/genassym.cf | 4 +++-
sys/arch/vax/vax/scb.c | 4 ++--
2 files changed, 5 insertions(+), 3 deletions(-)
diffs (39 lines):
diff -r 41eb6ce41dd6 -r 83b9e456e56b sys/arch/vax/vax/genassym.cf
--- a/sys/arch/vax/vax/genassym.cf Sat Apr 22 16:52:40 2000 +0000
+++ b/sys/arch/vax/vax/genassym.cf Sat Apr 22 17:05:07 2000 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: genassym.cf,v 1.11 2000/03/19 14:56:53 ragge Exp $
+# $NetBSD: genassym.cf,v 1.12 2000/04/22 17:05:07 ragge Exp $
#
# Copyright (c) 1997 Ludd, University of Lule}, Sweden.
# All rights reserved.
@@ -59,9 +59,11 @@
define KERNBASE KERNBASE
+ifdef MULTIPROCESSOR
# Multiprocessor struct members
define CI_CURPROC offsetof(struct cpu_info, ci_curproc)
define CI_WANT_RESCHED offsetof(struct cpu_info, ci_want_resched)
+endif
# mtpr register numbers
define PR_KSP PR_KSP
diff -r 41eb6ce41dd6 -r 83b9e456e56b sys/arch/vax/vax/scb.c
--- a/sys/arch/vax/vax/scb.c Sat Apr 22 16:52:40 2000 +0000
+++ b/sys/arch/vax/vax/scb.c Sat Apr 22 17:05:07 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scb.c,v 1.9 2000/01/24 02:40:34 matt Exp $ */
+/* $NetBSD: scb.c,v 1.10 2000/04/22 17:05:08 ragge Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -104,7 +104,7 @@
ipl = mfpr(PR_IPL);
if (cold == 0)
printf("stray interrupt: vector 0x%x, ipl %d\n", vector, ipl);
- else
+ else if (dep_call->cpu_flags & CPU_RAISEIPL)
a[8] = (a[8] & 0xffe0ffff) | ipl << 16;
mtpr(ipl + 1, PR_IPL);
Home |
Main Index |
Thread Index |
Old Index