]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
For UGA, the frame buffer address obtained by scanning the
authorMarcel Moolenaar <marcel@FreeBSD.org>
Thu, 3 Sep 2015 04:35:17 +0000 (04:35 +0000)
committerMarcel Moolenaar <marcel@FreeBSD.org>
Thu, 3 Sep 2015 04:35:17 +0000 (04:35 +0000)
commit504ca525759ff312d9ca59216c576637544116c4
treebbddc82ecbfa4e77db31a1bf91c623f254424fde
parent8fdb5185b9926c5a93e61c058655b381219eb8c1
For UGA, the frame buffer address obtained by scanning the
PCI BARs does not necessarily correspond to the upper-left
most pixel. Scan the frame buffer for which byte changed
when changing the pixel at (0,0).

Use the same technique to determine the stride. Except for
changing the pixel at (0,0), we change the pixel at (0,1).

PR: 202730
Tested by: hartzell (at) alerce.com
sys/boot/efi/loader/arch/amd64/framebuffer.c