freebsd-skq/sys/boot/efi
marcel fe6388dca2 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
..
boot1 The self-relocation code is not efi-specific, move it to boot/common. 2015-05-10 13:24:26 +00:00
fdt Fix the arm64 MACHINE_CPUARCH value in the efi fdt glue code. 2015-04-14 10:41:57 +00:00
include Add support for the UGA draw protocol. This includes adding a 2015-08-30 23:58:53 +00:00
libefi Avoid creating invalid UEFI device path 2015-07-07 18:44:27 +00:00
loader As expected, things aren't as simple as hoped. Consequently, we have 2015-09-07 17:56:49 +00:00
Makefile Add support for arm64 to loader.efi and boot1.efi 2015-04-14 13:55:01 +00:00
Makefile.inc Use CFLAGS_NO_SIMD in preference to varying lists of -mno-xxxx flags. 2015-08-27 23:46:42 +00:00