summaryrefslogtreecommitdiffstats
path: root/hw/mips/loongson3_bootp.h
diff options
context:
space:
mode:
authorBin Meng2021-01-22 13:24:04 +0100
committerPhilippe Mathieu-Daudé2021-02-21 14:22:09 +0100
commitac9b0117d545d4e318c6827251fdf654385188f5 (patch)
tree4aef7cd3b0bd48aaf0fb395bdcaea79e0a5cf946 /hw/mips/loongson3_bootp.h
parentMerge remote-tracking branch 'remotes/philmd-gitlab/tags/sdmmc-20210220' into... (diff)
downloadqemu-ac9b0117d545d4e318c6827251fdf654385188f5.tar.gz
qemu-ac9b0117d545d4e318c6827251fdf654385188f5.tar.xz
qemu-ac9b0117d545d4e318c6827251fdf654385188f5.zip
hw/mips: loongson3: Drop 'struct MemmapEntry'
There is already a MemMapEntry type defined in hwaddr.h. Let's drop the loongson3 defined `struct MemmapEntry` and use the existing one. Signed-off-by: Bin Meng <bin.meng@windriver.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210122122404.11970-1-bmeng.cn@gmail.com> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'hw/mips/loongson3_bootp.h')
-rw-r--r--hw/mips/loongson3_bootp.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/hw/mips/loongson3_bootp.h b/hw/mips/loongson3_bootp.h
index 09f8480abf..d525ab745a 100644
--- a/hw/mips/loongson3_bootp.h
+++ b/hw/mips/loongson3_bootp.h
@@ -228,12 +228,7 @@ enum {
LOADER_PARAM,
};
-struct MemmapEntry {
- hwaddr base;
- hwaddr size;
-};
-
-extern const struct MemmapEntry virt_memmap[];
+extern const MemMapEntry virt_memmap[];
void init_loongson_params(struct loongson_params *lp, void *p,
uint64_t cpu_freq, uint64_t ram_size);
void init_reset_system(struct efi_reset_system_t *reset);