Commit af49a7c9 authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: xgifb: Remove use of WINCE_HEADER define

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bf4fc6ac
#ifndef _OSDEF_H_ #ifndef _OSDEF_H_
#define _OSDEF_H_ #define _OSDEF_H_
/* #define WINCE_HEADER*/
/* #define TC */ /* #define TC */
#define LINUX_KERNEL #define LINUX_KERNEL
/* #define LINUX_XF86 */ /* #define LINUX_XF86 */
...@@ -15,8 +14,6 @@ ...@@ -15,8 +14,6 @@
/**********************************************************************/ /**********************************************************************/
#ifdef TC #ifdef TC
#endif #endif
#ifdef WINCE_HEADER
#endif
#ifdef LINUX_XF86 #ifdef LINUX_XF86
#define LINUX #define LINUX
#endif #endif
...@@ -28,9 +25,6 @@ ...@@ -28,9 +25,6 @@
#ifdef TC #ifdef TC
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize); #define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif #endif
#ifdef WINCE_HEADER
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif
#ifdef LINUX_XF86 #ifdef LINUX_XF86
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize) #define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize)
#endif #endif
...@@ -44,9 +38,6 @@ ...@@ -44,9 +38,6 @@
#ifdef TC #ifdef TC
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length); #define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif #endif
#ifdef WINCE_HEADER
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif
#ifdef LINUX_XF86 #ifdef LINUX_XF86
#define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length) #define XGI_MemoryCopy(Destination,Soruce,Length) memcpy(Destination,Soruce,Length)
#endif #endif
...@@ -125,12 +116,4 @@ ...@@ -125,12 +116,4 @@
/* WIN CE */ /* WIN CE */
/**********************************************************************/ /**********************************************************************/
#ifdef WINCE_HEADER
#define OutPortByte(p,v) WRITE_PORT_UCHAR ((PUCHAR) (p), (UCHAR) (v))
#define OutPortWord(p,v) WRITE_PORT_USHORT((PUSHORT) (p), (USHORT) (v))
#define OutPortLong(p,v) WRITE_PORT_ULONG ((PULONG) (p), (ULONG) (v))
#define InPortByte(p) READ_PORT_UCHAR ((PUCHAR) (p))
#define InPortWord(p) READ_PORT_USHORT ((PUSHORT) (p))
#define InPortLong(p) READ_PORT_ULONG ((PULONG) (p))
#endif
#endif // _OSDEF_H_ #endif // _OSDEF_H_
...@@ -218,8 +218,6 @@ void NewDelaySeconds( int seconds ) ...@@ -218,8 +218,6 @@ void NewDelaySeconds( int seconds )
#endif #endif
#ifdef WINCE_HEADER
#endif
#ifdef LINUX_KERNEL #ifdef LINUX_KERNEL
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment