Page MenuHomeFreeBSD

loader.efi mode command is missing modes
ClosedPublic

Authored by tsoome on Jan 3 2016, 9:19 AM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 23 2024, 1:26 AM
Unknown Object (File)
Sep 11 2024, 7:56 PM
Unknown Object (File)
Sep 11 2024, 5:47 AM
Unknown Object (File)
Sep 8 2024, 6:00 PM
Unknown Object (File)
Sep 7 2024, 8:29 PM
Unknown Object (File)
Sep 7 2024, 8:33 AM
Unknown Object (File)
Aug 30 2024, 6:35 PM
Unknown Object (File)
Aug 18 2024, 5:00 PM
Subscribers

Details

Summary

the current mode command is assuming contiguous list of supported modes, which is not quite true, for example my qemu is supporting modes 0 and 2, but not 1.

This update adds informational line about current mode used and is fixing for loop.

Test Plan

this is the result from test in qemu:

OK mode
Current mode: 0
Mode 0: 80 columns, 25 rows
Mode 2: 100 columns, 31 rows
Select a mode with the command "mode <number>"

Also tested in vmware fusion and AMI bios.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

tsoome retitled this revision from to loader.efi mode command is missing modes.
tsoome updated this object.
tsoome edited the test plan for this revision. (Show Details)
tsoome set the repository for this revision to rS FreeBSD src repository - subversion.
emaste added a reviewer: emaste.
This revision is now accepted and ready to land.Jan 4 2016, 2:58 AM
This revision was automatically updated to reflect the committed changes.