From 9cee0365257887c73c84b2f0572f4573036d4b25 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Sat, 2 Feb 2013 13:34:30 +0000 Subject: 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. --- sys/arch/hp300/dev/topcatreg.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/arch/hp300/dev/topcatreg.h') 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; -- cgit v1.2.3