diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-10-19 19:55:45 +0200 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2014-10-19 19:55:45 +0200 |
commit | d7785060fb66c9c4fc19475668bd861fb6462941 (patch) | |
tree | 10d6634296660d04715eca5534716bc4eb6af89b /sys/src/boot/efi/efi.h | |
parent | d6ea4969607d9d6b33ae5a40a947f8a2aa2c0845 (diff) |
efi: use LocateHandle() and HandleProtocol() to check for multiple gop protocols to find a usable one
the gop returned by LocateProtocol() is not usable on thinkpad x230,
so iterate over all handles to find a usable one.
Diffstat (limited to 'sys/src/boot/efi/efi.h')
-rw-r--r-- | sys/src/boot/efi/efi.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/src/boot/efi/efi.h b/sys/src/boot/efi/efi.h index 545635690..142385af3 100644 --- a/sys/src/boot/efi/efi.h +++ b/sys/src/boot/efi/efi.h @@ -10,6 +10,12 @@ typedef uintptr UINTN; typedef void* EFI_HANDLE; typedef UINT32 EFI_STATUS; +enum { + AllHandles, + ByRegisterNotify, + ByProtocol, +}; + typedef struct { UINT32 Data1; UINT16 Data2; |