[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 13/30] hw/xtensa: use the BYTE-based definitions
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH 13/30] hw/xtensa: use the BYTE-based definitions |
Date: |
Thu, 15 Feb 2018 01:28:43 -0300 |
It ease code review, unit is explicit.
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
hw/xtensa/xtfpga.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xtensa/xtfpga.c b/hw/xtensa/xtfpga.c
index 70686a2eb1..922417af15 100644
--- a/hw/xtensa/xtfpga.c
+++ b/hw/xtensa/xtfpga.c
@@ -230,7 +230,7 @@ static void xtfpga_init(const XtfpgaBoardDesc *board,
MachineState *machine)
const char *kernel_cmdline = qemu_opt_get(machine_opts, "append");
const char *dtb_filename = qemu_opt_get(machine_opts, "dtb");
const char *initrd_filename = qemu_opt_get(machine_opts, "initrd");
- const unsigned system_io_size = 224 * 1024 * 1024;
+ const unsigned system_io_size = 224 * M_BYTE;
int n;
for (n = 0; n < smp_cpus; n++) {
--
2.16.1
- Re: [Qemu-devel] [PATCH 07/30] hw/arm: use the BYTE-based definitions, (continued)
[Qemu-devel] [PATCH 08/30] hw/i386: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 09/30] hw/sparc: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 10/30] hw/ppc: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 11/30] hw/s390x: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 12/30] hw/hppa: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 13/30] hw/xtensa: use the BYTE-based definitions,
Philippe Mathieu-Daudé <=
[Qemu-devel] [PATCH 14/30] hw/alpha: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 15/30] hw/lm32: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 16/30] hw/sh4: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 17/30] hw/tricore: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14
[Qemu-devel] [PATCH 18/30] hw/microblaze: use the BYTE-based definitions, Philippe Mathieu-Daudé, 2018/02/14