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/sub.c | |
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/sub.c')
-rw-r--r-- | sys/src/boot/efi/sub.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/boot/efi/sub.c b/sys/src/boot/efi/sub.c index 29be948b1..a7fd5d4c3 100644 --- a/sys/src/boot/efi/sub.c +++ b/sys/src/boot/efi/sub.c @@ -367,6 +367,7 @@ bootkern(void *f) memset(d, 0, t - d); close(f); + print("boot\n"); unload(); jump(e); |