mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
Add bootindex for option roms.
Extend -option-rom command to have additional parameter ,bootindex=. Signed-off-by: Gleb Natapov <gleb@redhat.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
de1f34cb63
commit
2e55e84282
12 changed files with 60 additions and 24 deletions
6
sysemu.h
6
sysemu.h
|
@ -139,7 +139,11 @@ extern uint64_t node_mem[MAX_NODES];
|
|||
extern uint64_t node_cpumask[MAX_NODES];
|
||||
|
||||
#define MAX_OPTION_ROMS 16
|
||||
extern const char *option_rom[MAX_OPTION_ROMS];
|
||||
typedef struct QEMUOptionRom {
|
||||
const char *name;
|
||||
int32_t bootindex;
|
||||
} QEMUOptionRom;
|
||||
extern QEMUOptionRom option_rom[MAX_OPTION_ROMS];
|
||||
extern int nb_option_roms;
|
||||
|
||||
#define MAX_PROM_ENVS 128
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue