VirtualBox

Ignore:
Timestamp:
Mar 12, 2012 5:00:57 PM (13 years ago)
Author:
vboxsync
Message:

VGA: Do not hardcode LFB base in BIOS.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r39603 r40433  
    7676#ifdef CONFIG_BOCHS_VBE
    7777
     78/* Cross reference with <VBox/Hardware/VBoxVideoVBE.h> */
     79#define VBE_DISPI_INDEX_NB_SAVED        0xb /* Number of saved registers (vbe_regs array) */
     80#define VBE_DISPI_INDEX_NB              0xc /* Total number of VBE registers */
     81
    7882#define VGA_STATE_COMMON_BOCHS_VBE              \
    7983    uint16_t vbe_index;                         \
    80     uint16_t vbe_regs[VBE_DISPI_INDEX_NB_SAVED];\
     84    uint16_t vbe_regs[VBE_DISPI_INDEX_NB];      \
     85    uint16_t alignment[3]; /* pad to 64 bits */ \
    8186    uint32_t vbe_start_addr;                    \
    8287    uint32_t vbe_line_offset;                   \
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