Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F135503590
D13541.id36757.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
514 B
Referenced Files
None
Subscribers
None
D13541.id36757.diff
View Options
Index: stand/efi/boot1/boot1.c
===================================================================
--- stand/efi/boot1/boot1.c
+++ stand/efi/boot1/boot1.c
@@ -431,10 +431,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
Tue, Nov 11, 9:21 AM (8 h, 13 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
25147431
Default Alt Text
D13541.id36757.diff (514 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