mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 08:43:55 -06:00
pvpanic: add API to access io port
Add API to find pvpanic device and get its io port. Will be used to fill in guest info structure. Reviewed-by: Gerd Hoffmann <kraxel@redhat.com> Tested-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Tested-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
6f1426ab0f
commit
309cd62d6b
2 changed files with 13 additions and 1 deletions
|
@ -235,6 +235,7 @@ void pc_system_firmware_init(MemoryRegion *rom_memory,
|
|||
|
||||
/* pvpanic.c */
|
||||
void pvpanic_init(ISABus *bus);
|
||||
uint16_t pvpanic_port(void);
|
||||
|
||||
/* e820 types */
|
||||
#define E820_RAM 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue