VirtualBox

Changeset 29742 in vbox for trunk/include/VBox


Ignore:
Timestamp:
May 21, 2010 3:58:56 PM (15 years ago)
Author:
vboxsync
Message:

wddm/2D: more impl (get caps + initialization working)

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HGSMI/HGSMI.h

    r28800 r29742  
    241241}
    242242
     243DECLINLINE(uint8_t *) HGSMIBufferDataAndChInfoFromOffset (const HGSMIAREA *pArea, HGSMIOFFSET offBuffer, uint16_t * pChInfo)
     244{
     245    HGSMIBUFFERHEADER *pHeader = HGSMIOffsetToPointer (pArea, offBuffer);
     246    Assert(pHeader);
     247    if(pHeader)
     248    {
     249        *pChInfo = pHeader->u16ChannelInfo;
     250        return HGSMIBufferData(pHeader);
     251    }
     252    return NULL;
     253}
     254
    243255HGSMICHANNEL *HGSMIChannelFindById (HGSMICHANNELINFO * pChannelInfo, uint8_t u8Channel);
    244256
  • trunk/include/VBox/VBoxVideo.h

    r29488 r29742  
    812812# define VBVA_VDMA_CMD    11 /* G->H DMA command             */
    813813#endif
     814#define VBVA_INFO_CAPS   12 /* informs host about HGSMI caps. see _VBVACAPS below */
    814815
    815816/* host->guest commands */
     
    10131014
    10141015} VBVAMOUSEPOINTERSHAPE;
     1016
     1017/* the guest driver can handle asynch guest cmd completion by reading the command offset from io port */
     1018#define VBVACAPS_COMPLETEGCMD_BY_IOREAD 0x00000001
     1019/* the guest driver can handle video adapter IRQs */
     1020#define VBVACAPS_IRQ                    0x00000002
     1021typedef struct _VBVACAPS
     1022{
     1023    int32_t rc;
     1024    uint32_t fCaps;
     1025} VBVACAPS;
    10151026
    10161027#pragma pack()
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