parent
c4f7002d69
commit
3a90b3236e
|
@ -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 MEMERR offsetof(struct cpu_dep, cpu_memerr)
|
|||
|
||||
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
|
||||
|
|
|
@ -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 @@ scb_stray(arg)
|
|||
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);
|
||||
|
|
Loading…
Reference in New Issue