Files
xen/tools/firmware/rombios/32bitprotos.h
T
Keir Fraser b08c16ec2f hvm bios: add PMM (a memory manager during POST)
The PMM (POST Memory Manager) offers malloc/free functionality
for PCI option ROMs during POST (Power On Self Test).

This patch adds a PMM functionality to the guest BIOS.

For example, the option ROM on LSI Logic SAS card uses PMM and
failed to initialize the device without PMM.  Thus, the HVM can't
boot up directly from the passthroughed SCSI disk.
gPXE also uses PMM (I don't know what happens without PMM).

With this patch, we succeeded in SAS boot of HVM.

For further information about PMM:
http://www.phoenix.com/en/OEM-ODM/Customer+Services/White+Papers-Specs/PC+Industry+Specifications.htm
http://www.phoenix.com/NR/rdonlyres/873A00CF-33AC-4775-B77E-08E7B9754993/0/specspmm101.pdf

Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Signed-off-by: Akio Takebe <takebe_akio@jp.fujitsu.com>
2009-01-23 12:50:14 +00:00

17 lines
761 B
C

X(0, Bit32u, TCGInterruptHandler,
pushad_regs_t *regs, Bit32u esds, Bit32u flags_ptr)
X(1, void, tcpa_acpi_init, void)
X(2, Bit32u, tcpa_extend_acpi_log, Bit32u entry_ptr)
X(3, void, tcpa_calling_int19h,void)
X(4, void, tcpa_returned_int19h, void)
X(5, void, tcpa_add_event_separators, void)
X(6, void, tcpa_wake_event, void)
X(7, void, tcpa_add_bootdevice, Bit32u bootcd, Bit32u bootdrv)
X(8, void, tcpa_start_option_rom_scan, void)
X(9, void, tcpa_option_rom, Bit32u seg)
X(10, void, tcpa_ipl, Bit32u bootcd, Bit32u seg, Bit32u off, Bit32u count)
X(11, void, tcpa_measure_post, Bit32u from, Bit32u to)
X(12, Bit32u, tcpa_initialize_tpm, Bit32u physpres)
X(13, Bit32u, get_s3_waking_vector, void)
X(14, Bit32u, pmm, void *argp)