VirtualBox

Changeset 22468 in vbox for trunk/src


Ignore:
Timestamp:
Aug 26, 2009 12:49:54 PM (16 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
51482
Message:

HGSMI/VBVA VGA saved state updates.

Location:
trunk/src/VBox/Devices/Graphics
Files:
2 edited

Legend:

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

    r22444 r22468  
    5555/** The minimum amount of VRAM. */
    5656#define VGA_VRAM_MIN        (_1M)
    57 
    58 #ifdef VBOX_WITH_HGSMI
    59 # define VGA_SAVEDSTATE_VERSION  3
    60 #else
    61 # define VGA_SAVEDSTATE_VERSION  2
    62 #endif
    6357
    6458/** The size of the VGA GC mapping.
     
    54425436 * @param   u32Version  The data unit version number.
    54435437 */
    5444 static DECLCALLBACK(int) vgaR3xec(PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle, uint32_t u32Version)
     5438static DECLCALLBACK(int) vgaR3LoadExec(PPDMDEVINS pDevIns, PSSMHANDLE pSSMHandle, uint32_t u32Version)
    54455439{
    54465440    if (vga_load(pSSMHandle, PDMINS_2_DATA(pDevIns, PVGASTATE), u32Version))
     
    61256119                              NULL, vgaR3SaveExec, NULL,
    61266120#endif
    6127                               NULL, vgaR3xec, NULL);
     6121                              NULL, vgaR3LoadExec, NULL);
    61286122    if (RT_FAILURE(rc))
    61296123        return rc;
  • trunk/src/VBox/Devices/Graphics/DevVGA.h

    r22444 r22468  
    5151#define VGA_PORT_OFF_HGSMI_GUEST 4
    5252#endif /* VBOX_WITH_HGSMI */
     53
     54#ifdef VBOX_WITH_HGSMI
     55# define VGA_SAVEDSTATE_VERSION  3
     56#else
     57# define VGA_SAVEDSTATE_VERSION  2
     58#endif
    5359
    5460#define MSR_COLOR_EMULATION 0x01
Note: See TracChangeset for help on using the changeset viewer.

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