[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/7] i386/pc: use the QEMU_ALIGNED() macro
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH 7/7] i386/pc: use the QEMU_ALIGNED() macro |
Date: |
Mon, 8 Jan 2018 15:02:31 -0300 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/i386/pc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 3fcf318a95..85d9454c71 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -93,12 +93,12 @@ struct e820_entry {
uint64_t address;
uint64_t length;
uint32_t type;
-} QEMU_PACKED __attribute((__aligned__(4)));
+} QEMU_PACKED QEMU_ALIGNED(4);
struct e820_table {
uint32_t count;
struct e820_entry entry[E820_NR_ENTRIES];
-} QEMU_PACKED __attribute((__aligned__(4)));
+} QEMU_PACKED QEMU_ALIGNED(4);
static struct e820_table e820_reserve;
static struct e820_entry *e820_table;
--
2.15.1
- [Qemu-devel] [PATCH 2/7] net/eth: use the QEMU_PACKED macro, (continued)
- [Qemu-devel] [PATCH 2/7] net/eth: use the QEMU_PACKED macro, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [PATCH 4/7] net/rocker: move struct rocker_desc to C file, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [PATCH 5/7] net/eepro100: use QEMU_ALIGNED() macro, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [PATCH 3/7] net/rocker: use QEMU_PACKED and QEMU_ALIGNED() macros, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [RFC PATCH 6/7] net/eepro100: reduce alignment to DWORD (32bit), Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [PATCH 7/7] i386/pc: use the QEMU_ALIGNED() macro,
Philippe Mathieu-Daudé <=