[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 5/7] net/eepro100: use QEMU_ALIGNED() macro
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH 5/7] net/eepro100: use QEMU_ALIGNED() macro |
Date: |
Mon, 8 Jan 2018 15:02:29 -0300 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/net/eepro100.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/net/eepro100.c b/hw/net/eepro100.c
index a07a63247e..61d767524f 100644
--- a/hw/net/eepro100.c
+++ b/hw/net/eepro100.c
@@ -266,7 +266,7 @@ typedef struct {
/* Data in mem is always in the byte order of the controller (le).
* It must be dword aligned to allow direct access to 32 bit values. */
- uint8_t mem[PCI_MEM_SIZE] __attribute__((aligned(8)));
+ uint8_t mem[PCI_MEM_SIZE] QEMU_ALIGNED(8);
/* Configuration bytes. */
uint8_t configuration[22];
--
2.15.1
- [Qemu-devel] [PATCH 0/7] use QEMU_PACKED and QEMU_ALIGNED macros, Philippe Mathieu-Daudé, 2018/01/08
- [Qemu-devel] [PATCH 1/7] net: struct MACAddr can use the QEMU_PACKED macro, Philippe Mathieu-Daudé, 2018/01/08
- [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é <=
- [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é, 2018/01/08