Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F105823771
D13541.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
529 B
Referenced Files
None
Subscribers
None
D13541.diff
View Options
Index: head/stand/efi/boot1/boot1.c
===================================================================
--- head/stand/efi/boot1/boot1.c
+++ head/stand/efi/boot1/boot1.c
@@ -430,10 +430,10 @@
conout = ST->ConOut;
conout->Reset(conout, TRUE);
max_dim = best_mode = 0;
- for (i = 0; ; i++) {
+ for (i = 0; i < conout->Mode->MaxMode; i++) {
status = conout->QueryMode(conout, i, &cols, &rows);
if (EFI_ERROR(status))
- break;
+ continue;
if (cols * rows > max_dim) {
max_dim = cols * rows;
best_mode = i;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 22, 6:22 AM (19 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15551201
Default Alt Text
D13541.diff (529 B)
Attached To
Mode
D13541: [efi/boot1] Scan all display modes rather than sequential try-fail way
Attached
Detach File
Event Timeline
Log In to Comment