]> Git Repo - qemu.git/commitdiff
hw/riscv: sifive_e: Add 'const' to sifive_e_memmap[]
authorBin Meng <[email protected]>
Wed, 31 Mar 2021 10:36:12 +0000 (18:36 +0800)
committerAlistair Francis <[email protected]>
Tue, 11 May 2021 10:01:10 +0000 (20:01 +1000)
This was accidentally dropped before. Add it back.

Fixes: 732612856a8 ("hw/riscv: Drop 'struct MemmapEntry'")
Reported-by: Emmanuel Blot <[email protected]>
Signed-off-by: Bin Meng <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Alistair Francis <[email protected]>
Message-id: 20210331103612[email protected]
Signed-off-by: Alistair Francis <[email protected]>
hw/riscv/sifive_e.c

index 3e8b44b2c0091c82bb7e6ed25b93f0f3573666ce..ddc658c8d683adee8f92251b990fce9b76ed36da 100644 (file)
@@ -48,7 +48,7 @@
 #include "sysemu/arch_init.h"
 #include "sysemu/sysemu.h"
 
-static MemMapEntry sifive_e_memmap[] = {
+static const MemMapEntry sifive_e_memmap[] = {
     [SIFIVE_E_DEV_DEBUG] =    {        0x0,     0x1000 },
     [SIFIVE_E_DEV_MROM] =     {     0x1000,     0x2000 },
     [SIFIVE_E_DEV_OTP] =      {    0x20000,     0x2000 },
This page took 0.027004 seconds and 4 git commands to generate.