Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
osd_util.h File Reference
#include "osd_defs.h"

Go to the source code of this file.

Data Structures

union  access_U
 

Macros

#define DPT_UNALIGNED
 
#define DPT_EXPORT
 
#define DPT_IMPORT
 
#define DPT_RUNTIME_IMPORT   DPT_IMPORT
 
#define _DPT_32_BIT
 
#define _DPT_UNIX
 
#define _DPT_PREEMPTIVE
 
#define _DPT_MULTI_THREADED
 
#define _DPT_MULTI_TASKING
 
#define _DPT_C
 
#define DPTSQO   {
 
#define DPTSQC   }
 
#define BYTE   unsigned char
 
#define WORD   unsigned short
 
#define _DPT_TYPEDEFS
 
#define NULL   0
 
#define NET_SWAP_2(x)   (x)
 
#define NET_SWAP_4(x)   (x)
 
#define DPT_THREAD_PRIORITY_LOWEST   0x00
 
#define DPT_THREAD_PRIORITY_NORMAL   0x01
 
#define DPT_THREAD_PRIORITY_HIGHEST   0x02
 

Typedefs

typedef unsigned char uCHAR
 
typedef unsigned short uSHORT
 
typedef unsigned int uINT
 
typedef unsigned long uLONG
 

Functions

uSHORT osdSwap2 (DPT_UNALIGNED uSHORT *)
 
uLONG osdSwap3 (DPT_UNALIGNED uLONG *)
 
uLONG osdSwap4 (DPT_UNALIGNED uLONG *)
 
uSHORT trueSwap2 (DPT_UNALIGNED uSHORT *)
 
uLONG trueSwap4 (DPT_UNALIGNED uLONG *)
 
uLONG netSwap4 (uLONG val)
 
DLL_HANDLE_T osdLoadModule (uCHAR *)
 
uSHORT osdUnloadModule (DLL_HANDLE_T)
 
voidosdGetFnAddr (DLL_HANDLE_T, uCHAR *)
 
SEMAPHORE_T osdCreateNamedSemaphore (char *)
 
SEMAPHORE_T osdCreateSemaphore (void)
 
SEMAPHORE_T osdCreateEventSemaphore (void)
 
SEMAPHORE_T osdCreateNamedEventSemaphore (char *)
 
uSHORT osdDestroySemaphore (SEMAPHORE_T)
 
uLONG osdRequestSemaphore (SEMAPHORE_T, uLONG)
 
uSHORT osdReleaseSemaphore (SEMAPHORE_T)
 
uLONG osdWaitForEventSemaphore (SEMAPHORE_T, uLONG)
 
uLONG osdSignalEventSemaphore (SEMAPHORE_T)
 
uLONG osdResetEventSemaphore (SEMAPHORE_T)
 
void osdSwitchThreads (void)
 
uLONG osdStartThread (void *, void *)
 
uLONG osdGetThreadID (void)
 
void osdWakeThread (uLONG)
 
void osdSleep (uLONG)
 
uCHAR osdSetThreadPriority (uLONG tid, uCHAR priority)
 

Macro Definition Documentation

#define _DPT_32_BIT

Definition at line 109 of file osd_util.h.

#define _DPT_C

Definition at line 148 of file osd_util.h.

#define _DPT_MULTI_TASKING

Definition at line 130 of file osd_util.h.

#define _DPT_MULTI_THREADED

Definition at line 126 of file osd_util.h.

#define _DPT_PREEMPTIVE

Definition at line 122 of file osd_util.h.

#define _DPT_TYPEDEFS

Definition at line 184 of file osd_util.h.

#define _DPT_UNIX

Definition at line 113 of file osd_util.h.

#define BYTE   unsigned char

Definition at line 179 of file osd_util.h.

#define DPT_EXPORT

Definition at line 91 of file osd_util.h.

#define DPT_IMPORT

Definition at line 95 of file osd_util.h.

#define DPT_RUNTIME_IMPORT   DPT_IMPORT

Definition at line 99 of file osd_util.h.

#define DPT_THREAD_PRIORITY_HIGHEST   0x02

Definition at line 350 of file osd_util.h.

#define DPT_THREAD_PRIORITY_LOWEST   0x00

Definition at line 348 of file osd_util.h.

#define DPT_THREAD_PRIORITY_NORMAL   0x01

Definition at line 349 of file osd_util.h.

#define DPT_UNALIGNED

Definition at line 87 of file osd_util.h.

#define DPTSQC   }

Definition at line 169 of file osd_util.h.

#define DPTSQO   {

Definition at line 168 of file osd_util.h.

#define NET_SWAP_2 (   x)    (x)

Definition at line 280 of file osd_util.h.

#define NET_SWAP_4 (   x)    (x)

Definition at line 284 of file osd_util.h.

#define NULL   0

Definition at line 198 of file osd_util.h.

#define WORD   unsigned short

Definition at line 180 of file osd_util.h.

Typedef Documentation

typedef unsigned char uCHAR

Definition at line 185 of file osd_util.h.

typedef unsigned int uINT

Definition at line 187 of file osd_util.h.

typedef unsigned long uLONG

Definition at line 188 of file osd_util.h.

typedef unsigned short uSHORT

Definition at line 186 of file osd_util.h.

Function Documentation

uLONG netSwap4 ( uLONG  val)
SEMAPHORE_T osdCreateEventSemaphore ( void  )
SEMAPHORE_T osdCreateNamedEventSemaphore ( char )
SEMAPHORE_T osdCreateNamedSemaphore ( char )
SEMAPHORE_T osdCreateSemaphore ( void  )
uSHORT osdDestroySemaphore ( SEMAPHORE_T  )
void* osdGetFnAddr ( DLL_HANDLE_T  ,
uCHAR  
)
uLONG osdGetThreadID ( void  )
DLL_HANDLE_T osdLoadModule ( uCHAR )
uSHORT osdReleaseSemaphore ( SEMAPHORE_T  )
uLONG osdRequestSemaphore ( SEMAPHORE_T  ,
uLONG   
)
uLONG osdResetEventSemaphore ( SEMAPHORE_T  )
uCHAR osdSetThreadPriority ( uLONG  tid,
uCHAR  priority 
)
uLONG osdSignalEventSemaphore ( SEMAPHORE_T  )
void osdSleep ( uLONG  )
uLONG osdStartThread ( void ,
void  
)
uSHORT osdSwap2 ( DPT_UNALIGNED uSHORT )
uLONG osdSwap3 ( DPT_UNALIGNED uLONG )
uLONG osdSwap4 ( DPT_UNALIGNED uLONG )
void osdSwitchThreads ( void  )
uSHORT osdUnloadModule ( DLL_HANDLE_T  )
uLONG osdWaitForEventSemaphore ( SEMAPHORE_T  ,
uLONG   
)
void osdWakeThread ( uLONG  )
uSHORT trueSwap2 ( DPT_UNALIGNED uSHORT )
uLONG trueSwap4 ( DPT_UNALIGNED uLONG )