diff options
author | Philippe Mathieu-Daudé | 2021-09-17 20:59:49 +0200 |
---|---|---|
committer | Laurent Vivier | 2021-09-27 10:57:21 +0200 |
commit | 72686c586dd655ef7b946a1295ab8cfbbbcae0ff (patch) | |
tree | de665dcddd6c4e7a168367f3f6168278f33f54fb /include/hw/loader.h | |
parent | docs/nvdimm: Update nvdimm option value in machine example (diff) | |
download | qemu-72686c586dd655ef7b946a1295ab8cfbbbcae0ff.tar.gz qemu-72686c586dd655ef7b946a1295ab8cfbbbcae0ff.tar.xz qemu-72686c586dd655ef7b946a1295ab8cfbbbcae0ff.zip |
hw/loader: Restrict PC_ROM_* definitions to hw/i386/pc
The PC_ROM_* definitions are only used by the PC machine,
and are irrelevant to the other architectures / machines.
Reduce their scope by moving them to hw/i386/pc.c.
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20210917185949.2244956-1-philmd@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'include/hw/loader.h')
-rw-r--r-- | include/hw/loader.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/hw/loader.h b/include/hw/loader.h index cbfc184873..81104cb02f 100644 --- a/include/hw/loader.h +++ b/include/hw/loader.h @@ -336,12 +336,6 @@ void hmp_info_roms(Monitor *mon, const QDict *qdict); #define rom_add_blob_fixed_as(_f, _b, _l, _a, _as) \ rom_add_blob(_f, _b, _l, _l, _a, NULL, NULL, NULL, _as, true) -#define PC_ROM_MIN_VGA 0xc0000 -#define PC_ROM_MIN_OPTION 0xc8000 -#define PC_ROM_MAX 0xe0000 -#define PC_ROM_ALIGN 0x800 -#define PC_ROM_SIZE (PC_ROM_MAX - PC_ROM_MIN_VGA) - int rom_add_vga(const char *file); int rom_add_option(const char *file, int32_t bootindex); |