Contents

PGCopyOptionROMURL()

Copies the URL of the ROM image to use on the guest graphics device.

Declaration

func PGCopyOptionROMURL() -> URL

Return Value

The URL of the ROM file to load.

Discussion

The URL points to a local file of a flat ROM image. After loading the file, pad the data size to a power of two and fill the extra bytes with zeroes. Map the resulting data into the guest, setting the PCI ROM base address register to point to the data.

See Also

PCI Device Characteristics