freebsd-dev/sys/boot/efi/loader
Marcel Moolenaar 40ea8e710e As expected, things aren't as simple as hoped. Consequently, we have
no option but to use the smbios information to fill in the blanks.
It's a good thing UGA is a protocol of the past and GOP has all the
info we need.

Anyway, the logic has been tweaked a little to get the easier bits
of information up front. This includes the resolution and the frame
buffer address. Then we look at the smbios information and define
expected values as well as the missing bits (frame buffer offset and
stride). If the values obtained match the expect values, we fill in
the blanks and return. Otherwise we use the existing detection logic
to figure it out.

Rename the environment variables from uga_framebuffer abd uga_stride
to hw.efifb.address and hw.efifb.stride. The latter names are more
in line with other variable names.

We currently have hardcoded settings for:
1.  Mid-2007 iMac (iMac7,1)
2.  Late-2007 MacBook (MacBook3,1)
2015-09-07 17:56:49 +00:00
..
arch As expected, things aren't as simple as hoped. Consequently, we have 2015-09-07 17:56:49 +00:00
autoload.c
bootinfo.c Limit EFI framebuffer metadata to amd64 for now 2015-04-10 18:08:09 +00:00
conf.c Only enable comconsole and nullconsole on x86. 2015-04-03 12:08:08 +00:00
copy.c Add support for arm64 to loader.efi and boot1.efi 2015-04-14 13:55:01 +00:00
devicename.c
loader_efi.h
main.c Add FDT to the list of known GUIDs. 2015-05-05 11:07:43 +00:00
Makefile Install the forth bits on arm64. For now limit it to just arm64 as on x86 2015-09-01 13:51:07 +00:00
version