Changeset 68847 in vbox for trunk/include
- Timestamp:
- Sep 24, 2017 4:49:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/Graphics/VBoxVideoIPRT.h
r68672 r68847 30 30 #include <iprt/types.h> 31 31 32 #if !defined VBOX_XPDM_MINIPORT && !defined VBOX_GUESTR3XORGMOD && !definedRT_OS_OS232 #if !defined VBOX_XPDM_MINIPORT && !defined RT_OS_OS2 33 33 # include <iprt/asm-amd64-x86.h> 34 34 #endif … … 38 38 # include <ntddvdeo.h> /* sdk, clean */ 39 39 # include <iprt/nt/Video.h> 40 #elif defined VBOX_GUESTR3XORGMOD41 # include <compiler.h>42 40 #endif 43 41 … … 66 64 VideoPortReadPortUlong((PULONG)Port) 67 65 68 #elif defined(VBOX_GUESTR3XORGMOD)69 70 /** Write an 8-bit value to an I/O port. */71 # define VBVO_PORT_WRITE_U8(Port, Value) \72 outb(Port, Value)73 /** Write a 16-bit value to an I/O port. */74 # define VBVO_PORT_WRITE_U16(Port, Value) \75 outw(Port, Value)76 /** Write a 32-bit value to an I/O port. */77 # define VBVO_PORT_WRITE_U32(Port, Value) \78 outl(Port, Value)79 /** Read an 8-bit value from an I/O port. */80 # define VBVO_PORT_READ_U8(Port) \81 inb(Port)82 /** Read a 16-bit value from an I/O port. */83 # define VBVO_PORT_READ_U16(Port) \84 inw(Port)85 /** Read a 32-bit value from an I/O port. */86 # define VBVO_PORT_READ_U32(Port) \87 inl(Port)88 89 66 #else /** @todo make these explicit */ 90 67
Note:
See TracChangeset
for help on using the changeset viewer.