summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2000-05-27 19:46:50 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2000-05-27 19:46:50 +0000
commit710edaa22a294d0549638e2092e753f2e2c00190 (patch)
tree755fbf982fa356e8f0b508bfbd095cad71ff79c3
parent9f3248ada0a9f9499adea7249e997bb0f9ebcad3 (diff)
Interrupt counter define for UVM.
-rw-r--r--sys/arch/amiga/amiga/genassym.cf10
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/arch/amiga/amiga/genassym.cf b/sys/arch/amiga/amiga/genassym.cf
index 97760606e16..6635ae9791e 100644
--- a/sys/arch/amiga/amiga/genassym.cf
+++ b/sys/arch/amiga/amiga/genassym.cf
@@ -1,5 +1,5 @@
# $NetBSD: genassym.cf,v 1.3 1997/07/16 00:01:49 is Exp $
-# $OpenBSD: genassym.cf,v 1.3 1997/09/18 13:39:34 niklas Exp $
+# $OpenBSD: genassym.cf,v 1.4 2000/05/27 19:46:49 art Exp $
#
# Copyright (c) 1982, 1990, 1993
# The Regents of the University of California. All rights reserved.
@@ -45,6 +45,10 @@ include <sys/user.h>
include <vm/vm.h>
+ifdef UVM
+include <uvm/uvm_extern.h>
+endif
+
include <machine/cpu.h>
include <machine/trap.h>
include <machine/psl.h>
@@ -111,7 +115,11 @@ define PM_STCHG offsetof(struct pmap, pm_stchanged)
define VM_PMAP offsetof(struct vmspace, vm_map.pmap)
# interrupt/fault metering
+ifdef UVM
+define UVMEXP_INTRS offsetof(struct uvmexp, intrs)
+else
define V_INTR offsetof(struct vmmeter, v_intr)
+endif
# general constants
define UPAGES UPAGES