Changeset 45003 in vbox
- Timestamp:
- Mar 12, 2013 8:50:06 AM (12 years ago)
- svn:sync-xref-src-repo-rev:
- 84231
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/VBoxVideoGuest.h
r44528 r45003 39 39 # include <Video.h> 40 40 RT_C_DECLS_END 41 #elif defined VBOX_GUESTR3XORGMOD 42 # include <compiler.h> 41 43 #else 42 44 # include <iprt/asm-amd64-x86.h> … … 124 126 #ifdef VBOX_XPDM_MINIPORT 125 127 VideoPortWritePortUchar((PUCHAR)Port, Value); 128 #elif defined VBOX_GUESTR3XORGMOD 129 outb(Port, Value); 126 130 #else /** @todo make these explicit */ 127 131 ASMOutU8(Port, Value); … … 134 138 #ifdef VBOX_XPDM_MINIPORT 135 139 VideoPortWritePortUshort((PUSHORT)Port,Value); 140 #elif defined VBOX_GUESTR3XORGMOD 141 outw(Port, Value); 136 142 #else 137 143 ASMOutU16(Port, Value); … … 144 150 #ifdef VBOX_XPDM_MINIPORT 145 151 VideoPortWritePortUlong((PULONG)Port,Value); 152 #elif defined VBOX_GUESTR3XORGMOD 153 outl(Port, Value); 146 154 #else 147 155 ASMOutU32(Port, Value); … … 154 162 #ifdef VBOX_XPDM_MINIPORT 155 163 return VideoPortReadPortUchar((PUCHAR)Port); 164 #elif defined VBOX_GUESTR3XORGMOD 165 return inb(Port); 156 166 #else 157 167 return ASMInU8(Port); … … 164 174 #ifdef VBOX_XPDM_MINIPORT 165 175 return VideoPortReadPortUshort((PUSHORT)Port); 176 #elif defined VBOX_GUESTR3XORGMOD 177 return inw(Port); 166 178 #else 167 179 return ASMInU16(Port); … … 174 186 #ifdef VBOX_XPDM_MINIPORT 175 187 return VideoPortReadPortUlong((PULONG)Port); 188 #elif defined VBOX_GUESTR3XORGMOD 189 return inl(Port); 176 190 #else 177 191 return ASMInU32(Port);
Note:
See TracChangeset
for help on using the changeset viewer.