ReactOS 0.4.15-dev-5667-ged97270
sys_arch.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _sys_sem_t
 
struct  _sys_mbox_t
 
struct  _LWIP_MESSAGE_CONTAINER
 

Macros

#define sys_jiffies()   sys_now()
 
#define SYS_MBOX_NULL   NULL
 
#define SYS_SEM_NULL   NULL
 
#define SYS_ARCH_NULL   NULL
 

Typedefs

typedef struct _sys_sem_t sys_sem_t
 
typedef struct _sys_mbox_t sys_mbox_t
 
typedef KIRQL sys_prot_t
 
typedef u32_t sys_thread_t
 
typedef struct _LWIP_MESSAGE_CONTAINER LWIP_MESSAGE_CONTAINER
 
typedef struct _LWIP_MESSAGE_CONTAINERPLWIP_MESSAGE_CONTAINER
 

Functions

void sys_arch_protect (sys_prot_t *lev)
 
void sys_arch_unprotect (sys_prot_t lev)
 

Macro Definition Documentation

◆ SYS_ARCH_NULL

#define SYS_ARCH_NULL   NULL

Definition at line 33 of file sys_arch.h.

◆ sys_jiffies

#define sys_jiffies (   void)    sys_now()

Definition at line 28 of file sys_arch.h.

◆ SYS_MBOX_NULL

#define SYS_MBOX_NULL   NULL

Definition at line 31 of file sys_arch.h.

◆ SYS_SEM_NULL

#define SYS_SEM_NULL   NULL

Definition at line 32 of file sys_arch.h.

Typedef Documentation

◆ LWIP_MESSAGE_CONTAINER

◆ PLWIP_MESSAGE_CONTAINER

◆ sys_mbox_t

◆ sys_prot_t

typedef KIRQL sys_prot_t

Definition at line 18 of file sys_arch.h.

◆ sys_sem_t

◆ sys_thread_t

Definition at line 20 of file sys_arch.h.

Function Documentation

◆ sys_arch_protect()

void sys_arch_protect ( sys_prot_t lev)

Definition at line 33 of file sys_arch.c.

34{
35 /* Preempt the dispatcher */
37}
#define KeRaiseIrql(irql, oldIrql)
Definition: env_spec_w32.h:597
#define DISPATCH_LEVEL
Definition: env_spec_w32.h:696

◆ sys_arch_unprotect()

void sys_arch_unprotect ( sys_prot_t  lev)

Definition at line 40 of file sys_arch.c.

41{
42 KeLowerIrql(lev);
43}
#define KeLowerIrql(oldIrql)
Definition: env_spec_w32.h:602