VirtualBox

Ignore:
Timestamp:
Nov 8, 2013 3:54:02 PM (11 years ago)
Author:
vboxsync
Message:

forward-port and adopt VHWA fixes

File:
1 edited

Legend:

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

    r45808 r49420  
    6464#endif /* VBOX_WITH_HGSMI */
    6565#include "DevVGASavedState.h"
     66
     67# include <iprt/list.h>
    6668
    6769#define MSR_COLOR_EMULATION 0x01
     
    196198#endif
    197199
     200#ifdef VBOX_WITH_VIDEOHWACCEL
     201#define VBOX_VHWA_MAX_PENDING_COMMANDS 1000
     202
     203typedef struct _VBOX_VHWA_PENDINGCMD
     204{
     205    RTLISTNODE Node;
     206    PVBOXVHWACMD pCommand;
     207} VBOX_VHWA_PENDINGCMD;
     208#endif
     209
    198210typedef struct VGAState {
    199211#ifndef VBOX
     
    420432#  endif
    421433# endif /* VBOX_WITH_HGSMI */
     434
     435    struct {
     436        uint32_t cPending;
     437        uint32_t Padding1;
     438        union
     439        {
     440            RTLISTNODE PendingList;
     441            /* make sure the structure sized cross different contexts correctly */
     442            struct
     443            {
     444                R3PTRTYPE(void *) dummy1;
     445                R3PTRTYPE(void *) dummy2;
     446            } dummy;
     447        };
     448    } pendingVhwaCommands;
    422449#endif /* VBOX */
    423450} VGAState;
     
    496523int vbvaVHWAReset (PVGASTATE pVGAState);
    497524
     525void vbvaTimerCb(PVGASTATE pVGAState);
     526
    498527int vboxVBVASaveStatePrep (PPDMDEVINS pDevIns, PSSMHANDLE pSSM);
    499528int vboxVBVASaveStateDone (PPDMDEVINS pDevIns, PSSMHANDLE pSSM);
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