summaryrefslogtreecommitdiff
path: root/sys/arch/hp300/dev/topcatreg.h
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:34:30 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2013-02-02 13:34:30 +0000
commit9cee0365257887c73c84b2f0572f4573036d4b25 (patch)
tree2dd36f67b04ad9e49f6ce6f94144c3530ea5c046 /sys/arch/hp300/dev/topcatreg.h
parent22cba234393e85cacb460dd6e3f6aadc75278969 (diff)
hp300 ELF bits. Requires many device and prom related structs to now be declared
as packed due to them containing 32-bit types at 16-bit but not 32-bit aligned offsets. The boot block updates (especially mkboot) come straight from NetBSD.
Diffstat (limited to 'sys/arch/hp300/dev/topcatreg.h')
-rw-r--r--sys/arch/hp300/dev/topcatreg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/hp300/dev/topcatreg.h b/sys/arch/hp300/dev/topcatreg.h
index 301e135b448..76fd18f3887 100644
--- a/sys/arch/hp300/dev/topcatreg.h
+++ b/sys/arch/hp300/dev/topcatreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: topcatreg.h,v 1.2 2005/01/24 21:36:39 miod Exp $ */
+/* $OpenBSD: topcatreg.h,v 1.3 2013/02/02 13:34:29 miod Exp $ */
/* $NetBSD: grf_tcreg.h,v 1.6 1994/10/26 07:24:06 cgd Exp $ */
/*
@@ -114,4 +114,4 @@ struct tcboxfb {
u_int16_t plane_mask; /* plane mask select 0x60ba */
u_int8_t f24[0x60f0-0x60ba-2];
u_int16_t strobe; /* color map trigger 0x60f0 */
-};
+} __packed;