Protocols — Console Support
Version 1.10 12/01/02 10-45
typedef enum {
EfiUgaDriverFromPciRom,
EfiUgaDriverFromSystem,
EfiDriverHandoffMax
} EFI_DRIVER_HANOFF_ENUM;
typedef struct {
EFI_DRIVER_HANOFF_ENUM Type;
EFI_DEVICE_PATH *DevicePath;
VOID *PciRomImage;
UINT64 PciRomSize;
} EFI_DRIVER_OS_HANDOFF;
Type The type of the EFI_DRIVER_OS_HANDOFF structure. Currently only
EfiUgaDriverHandoff is defined and it represents the
EFI_DRIVER_OS_HANDOFF in the context of a UGA device.
DevicePath Pointer to the EFI device path that represents the UGA PCI address.
Please note the device path does not contain the PCI bus as it may
change from boot to boot.
PciRomImage If Type is EfiUgaDriverFromPciRom then PciRomImage
represents the contains of the PCI devices ROM bar. If Type is
EfiUgaDriverFromSystem then the PciRomImage was produced
by system for an onboard device. A PCI ROM can contain multiple EFI
images and every image in the ROM must be loaded.
PciRomSize The size of PciRomImage in bytes. The size will only include areas
defines in the PCI 2.2 Option ROM header and not the entire space
decoded by the ROM BAR. For example if the ROM BAR decoded to
16 MB, but the ROM image physically only contained 64 KB of
information this value would be 64 KB.