diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:26:13 +0300 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-07-07 02:34:35 +0300 |
commit | 0eb321bf2c1cc0e048faff26a01f86cdd3ec254f (patch) | |
tree | 71cb9bd9ed121156d3382066c0722c73189afe04 /vidix/sysdep/AsmMacros_x86.h | |
parent | 6d908205fbadbdf7ccdc6c5e0eb918f0b43f16e0 (diff) | |
download | mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.bz2 mpv-0eb321bf2c1cc0e048faff26a01f86cdd3ec254f.tar.xz |
Remove trailing whitespace from most files
Diffstat (limited to 'vidix/sysdep/AsmMacros_x86.h')
-rw-r--r-- | vidix/sysdep/AsmMacros_x86.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/vidix/sysdep/AsmMacros_x86.h b/vidix/sysdep/AsmMacros_x86.h index 88e71e275d..35411c92dc 100644 --- a/vidix/sysdep/AsmMacros_x86.h +++ b/vidix/sysdep/AsmMacros_x86.h @@ -92,7 +92,7 @@ extern int svgahelper_initialized; static __inline__ void svga_outb(short port, char value) { io_t iov; - + iov.val = value; iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCSOUTB, &iov); @@ -101,7 +101,7 @@ static __inline__ void svga_outb(short port, char value) static __inline__ void svga_outw(short port, char value) { io_t iov; - + iov.val = value; iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCSOUTW, &iov); @@ -110,7 +110,7 @@ static __inline__ void svga_outw(short port, char value) static __inline__ void svga_outl(short port, unsigned int value) { io_t iov; - + iov.val = value; iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCSOUTL, &iov); @@ -119,30 +119,30 @@ static __inline__ void svga_outl(short port, unsigned int value) static __inline__ unsigned int svga_inb(short port) { io_t iov; - + iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCGINB, &iov); - + return iov.val; } static __inline__ unsigned int svga_inw(short port) { io_t iov; - + iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCGINW, &iov); - + return iov.val; } static __inline__ unsigned int svga_inl(short port) { io_t iov; - + iov.port = port; ioctl(svgahelper_fd, SVGALIB_HELPER_IOCGINL, &iov); - + return iov.val; } #endif /* CONIFG_SVGAHELPER */ @@ -161,7 +161,7 @@ static __inline__ void outb(short port,char val) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_WRITE; _port.addr = port; _port.size = 1; @@ -189,7 +189,7 @@ static __inline__ void outw(short port,short val) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_WRITE; _port.addr = port; _port.size = 2; @@ -217,7 +217,7 @@ static __inline__ void outl(short port,unsigned int val) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_WRITE; _port.addr = port; _port.size = 4; @@ -246,7 +246,7 @@ static __inline__ unsigned int inb(short port) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_READ; _port.addr = port; _port.size = 1; @@ -276,7 +276,7 @@ static __inline__ unsigned int inw(short port) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_READ; _port.addr = port; _port.size = 2; @@ -306,7 +306,7 @@ static __inline__ unsigned int inl(short port) if (dhahelper_initialized == 1) { dhahelper_port_t _port; - + _port.operation = PORT_OP_READ; _port.addr = port; _port.size = 4; |