summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-25 22:02:20 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-10-25 22:02:20 +0000
commit43363982a3b7e7313dad2ffb982347b91c8cc560 (patch)
treef460f5260fc630f94e1fc09753e74788e772a396 /sys/arch
parent75a1785748733af3b8be900e11023bcc467e0e67 (diff)
fake intrcnt (for now) such that vmstat works (;
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/hppa/hppa/locore.S26
1 files changed, 25 insertions, 1 deletions
diff --git a/sys/arch/hppa/hppa/locore.S b/sys/arch/hppa/hppa/locore.S
index fda5095e3bc..5cefae5686b 100644
--- a/sys/arch/hppa/hppa/locore.S
+++ b/sys/arch/hppa/hppa/locore.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.S,v 1.93 2002/10/17 20:35:24 mickey Exp $ */
+/* $OpenBSD: locore.S,v 1.94 2002/10/25 22:02:19 mickey Exp $ */
/*
* Copyright (c) 1998-2002 Michael Shalayeff
@@ -107,6 +107,30 @@
.data
$trap_tmp_save /* XXX assumed to be aligned on 2048 */
.block TF_PHYS /* XXX must be aligned to 64 */
+
+ .globl intrcnt, eintrcnt, intrnames, eintrnames
+intrcnt
+ .block 16 * 4
+eintrcnt
+intrnames
+ .asciz "spur"
+ .asciz "lev1"
+ .asciz "lev2"
+ .asciz "lev3"
+ .asciz "lev4"
+ .asciz "lev5"
+ .asciz "lev6"
+ .asciz "lev7"
+ .asciz "lev8"
+ .asciz "lev9"
+ .asciz "lev10"
+ .asciz "lev11"
+ .asciz "lev12"
+ .asciz "lev13"
+ .asciz "lev14"
+ .asciz "lev15"
+ .asciz "clock"
+eintrnames
.align NBPG
BSS(pdc_stack, 4) /* temp stack for PDC call */