summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2002-01-25 21:25:55 +0000
committermickey <mickey@openbsd.org>2002-01-25 21:25:55 +0000
commit28f79fda1ef0f41494f95c943e42d3dd680a8116 (patch)
tree8992dbee759c210cafb9cd3b38101fd1a775c675
parentCONADDR is defined elsewhere for hppa (diff)
downloadwireguard-openbsd-28f79fda1ef0f41494f95c943e42d3dd680a8116.tar.xz
wireguard-openbsd-28f79fda1ef0f41494f95c943e42d3dd680a8116.zip
define CONADDR and CONUNIT
-rw-r--r--sys/arch/hppa/include/param.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/hppa/include/param.h b/sys/arch/hppa/include/param.h
index 8392d7de823..0148b780205 100644
--- a/sys/arch/hppa/include/param.h
+++ b/sys/arch/hppa/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.15 2002/01/10 01:26:49 mickey Exp $ */
+/* $OpenBSD: param.h,v 1.16 2002/01/25 21:25:55 mickey Exp $ */
/*
* Copyright (c) 1988-1994, The University of Utah and
@@ -136,4 +136,10 @@
#define HPMMBASEADDR(v) ((unsigned)(v) & ~HPMMMASK)
#endif
+#ifndef _LOCORE
+#define CONADDR conaddr
+#define CONUNIT conunit
+extern hppa_hpa_t conaddr;
+extern int conunit;
+#endif
#endif