VirtualBox

Ignore:
Timestamp:
Aug 19, 2016 10:12:52 AM (8 years ago)
Author:
vboxsync
Message:

Devices/Graphics/BIOS: do not report a physical base pointer for non-linear VBE graphics modes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/BIOS/vbe.c

    r53100 r63594  
    453453        // Update the LFB physical address which may change at runtime
    454454        out_w(VBE_DISPI_IOPORT_INDEX, VBE_DISPI_INDEX_FB_BASE_HI);
    455         write_word(ES, DI + offsetof(ModeInfoBlock, PhysBasePtr) + 2, in_w(VBE_DISPI_IOPORT_DATA));
     455        if (using_lfb)
     456            write_word(ES, DI + offsetof(ModeInfoBlock, PhysBasePtr) + 2, in_w(VBE_DISPI_IOPORT_DATA));
     457        else
     458            write_word(ES, DI + offsetof(ModeInfoBlock, PhysBasePtr) + 2, 0);
    456459
    457460        result = 0x4f;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette