Changeset 26969 in vbox for trunk/include/VBox
- Timestamp:
- Mar 2, 2010 8:28:01 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 58266
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideo.h
r26767 r26969 1037 1037 #define VBOXSHGSMI_FLAG_GH_SYNCH 0x00000040 1038 1038 1039 DECLINLINE(uint8_t *) VBoxSHGSMIBufferData (const PVBOXSHGSMIHEADER pHeader) 1040 { 1041 return (uint8_t *)pHeader + sizeof (VBOXSHGSMIHEADER); 1042 } 1043 1044 DECLINLINE(PVBOXSHGSMIHEADER) VBoxSHGSMIBufferHeader (const void *pvData) 1045 { 1046 return (PVBOXSHGSMIHEADER)((uint8_t *)pvData - sizeof (VBOXSHGSMIHEADER)); 1047 } 1048 1039 1049 /* VDMA - Video DMA */ 1040 1050 1041 1051 /* VDMA Control API */ 1042 1052 /* VBOXVDMA_CTL::u32Flags */ 1043 #define VBOXVDMA_CTL_NONE 0x00000000 1044 #define VBOXVDMA_CTL_ENABLE 0x00000001 1045 #define VBOXVDMA_CTL_DISABLE 0x00000002 1046 #define VBOXVDMA_CTL_FLUSH 0x00000004 1053 typedef enum 1054 { 1055 VBOXVDMA_CTL_TYPE_NONE = 0, 1056 VBOXVDMA_CTL_TYPE_ENABLE, 1057 VBOXVDMA_CTL_TYPE_DISABLE, 1058 VBOXVDMA_CTL_TYPE_FLUSH 1059 } VBOXVDMA_CTL_TYPE; 1047 1060 1048 1061 typedef struct VBOXVDMA_CTL 1049 1062 { 1050 uint32_t u32Flags;1063 VBOXVDMA_CTL_TYPE enmCtl; 1051 1064 uint32_t u32Offset; 1052 1065 int32_t i32Result;
Note:
See TracChangeset
for help on using the changeset viewer.