From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:56457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCX-0002wh-Ks for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QxmCW-00024s-FS for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:29 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:37974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QxmCW-00024L-8r for qemu-devel@nongnu.org; Sun, 28 Aug 2011 16:43:28 -0400 From: Stefan Weil Date: Sun, 28 Aug 2011 22:43:17 +0200 Message-Id: <1314564200-6872-5-git-send-email-weil@mail.berlios.de> In-Reply-To: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> References: <1314564200-6872-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 4/7] hpet: Fix packing for w32 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Alexander Graf Use QEMU_PACKED to eliminate the effects of compiler option -mms-bitfields. Cc: Alexander Graf Signed-off-by: Stefan Weil --- hw/hpet_emul.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hw/hpet_emul.h b/hw/hpet_emul.h index 8bf312a..6128702 100644 --- a/hw/hpet_emul.h +++ b/hw/hpet_emul.h @@ -59,13 +59,13 @@ struct hpet_fw_entry uint64_t address; uint16_t min_tick; uint8_t page_prot; -} __attribute__ ((packed)); +} QEMU_PACKED; struct hpet_fw_config { uint8_t count; struct hpet_fw_entry hpet[8]; -} __attribute__ ((packed)); +} QEMU_PACKED; extern struct hpet_fw_config hpet_cfg; #endif -- 1.7.0.4