You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
uefi: Remove mentions of runtime usage from GOP docs
As pointed out in #612, our
GOP docs said the protocol can be used both during boot services and
during runtime. As far as I can tell this is incorrect; as with all
other protocols it can only be used during boot services. (Of course, a
firmware implementation might leave the memory initialized, giving the
appearance that GOP is usable after exiting boot services, but that
would essentially be a UAF bug.)
For some supporting evidence, see this presentation:
https://uefi.org/sites/default/files/resources/UPFS11_P4_UEFI_GOP_AMD.pdf
On some implementations it has been observed that the framebuffer pointer can
still be used after exiting boot services, but that isn't guaranteed by the
spec. The Framebuffer::as_mut_ptr() method now mentions this.
> Major differences between GOP driver vs. legacy VGA BIOS:
> ...
> 2. Boot only services vs. both boot and OS run-time services
0 commit comments