VirtualBox

Ignore:
Timestamp:
Oct 20, 2014 6:00:01 PM (10 years ago)
Author:
vboxsync
Message:

VGABIOS: Fake up a few more tables.

File:
1 edited

Legend:

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

    r51154 r53099  
    182182}
    183183
     184struct dcc {
     185    uint8_t     n_ent;
     186    uint8_t     version;
     187    uint8_t     max_code;
     188    uint8_t     reserved;
     189    uint16_t    dccs[16];
     190} dcc_table = {
     191    16,
     192    1,
     193    7,
     194    0
     195};
     196
     197struct ssa {
     198    uint16_t    size;
     199    void __far  *dcc;
     200    void __far  *sacs;
     201    void __far  *pal;
     202    void __far  *resvd[3];
     203
     204} secondary_save_area = {
     205    sizeof(struct ssa),
     206    &dcc_table
     207};
     208
    184209void __far *video_save_pointer_table[7] = {
    185     &video_param_table
     210    &video_param_table,
     211    0,
     212    0,
     213    0,
     214    &secondary_save_area
    186215};
    187216
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