summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>1998-12-05 17:34:04 +0000
committermickey <mickey@openbsd.org>1998-12-05 17:34:04 +0000
commitf2120e8ac567a060a3b8b6394fbe85f5cdf36a2c (patch)
treef6db74b37e59a28deb54510ecafa92aa940a380d
parentbtlb_insert() now returns slot number, heartbeat() and cpu_gethpa(to get cpu#0 HPA) prototypes (diff)
downloadwireguard-openbsd-f2120e8ac567a060a3b8b6394fbe85f5cdf36a2c.tar.xz
wireguard-openbsd-f2120e8ac567a060a3b8b6394fbe85f5cdf36a2c.zip
some cleanup
-rw-r--r--sys/arch/hppa/include/pdc.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/sys/arch/hppa/include/pdc.h b/sys/arch/hppa/include/pdc.h
index 43cc49204b2..16ce27ad9c9 100644
--- a/sys/arch/hppa/include/pdc.h
+++ b/sys/arch/hppa/include/pdc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pdc.h,v 1.6 1998/11/23 03:28:22 mickey Exp $ */
+/* $OpenBSD: pdc.h,v 1.7 1998/12/05 17:34:04 mickey Exp $ */
/*
* Copyright (c) 1990 mt Xinu, Inc. All rights reserved.
@@ -329,7 +329,7 @@ struct pdc_cache { /* PDC_CACHE */
};
struct pdc_hpa { /* PDC_HPA */
- struct iomod *hpa; /* HPA of processor */
+ hppa_hpa_t hpa; /* HPA of processor */
int filler1;
u_int filler2[30];
};
@@ -533,14 +533,6 @@ struct iodc_data {
/* IODC entry points follow... */
};
-#define BT_HPA PAGE0->mem_boot.pz_hpa
-#define lightshow(val) { \
- static int data; \
- data = (val << 8) | 0xC0FF; \
- (*PAGE0->mem_pdc)(PDC_CHASSIS, PDC_CHASSIS_DISP, data); \
- delay(5000000); \
-}
-
extern pdcio_t pdc;
#ifdef _KERNEL