Make a shadow copy of the bios rom (if available) and make it available via mmap Also, don't hardcode the length of the pixel memory in vgafb_mmap(), use the size provided by pci_mem_find.
Make a shadow copy of the bios rom (if available) and make it available via mmap
Also, don't hardcode the length of the pixel memory in vgafb_mmap(), use the size provided by pci_mem_find.

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars