sys/src/sysevtsrv.c File Reference

reading and clearing event flags More...

#include <linux/linkage.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <cebdef.h>
#include <pridef.h>
#include <cpudef.h>
#include <ssdef.h>
#include <system_data_cells.h>
#include <misc_routines.h>
#include <sch_routines.h>

Go to the source code of this file.

Defines

#define MYDEB_EFC

Functions

unsigned long * getefcp (struct _pcb *p, unsigned long efn)
 Returns a pointer to the event flag give a PCB and the event flag number.
unsigned long * getefc (struct _pcb *p, unsigned long efn)
unsigned long * getefcno (unsigned long efn)
asmlinkage int exe_clref (unsigned int efn)
 clear event flag - see 5.2 9.8
asmlinkage int exe_readef (unsigned int efn, unsigned int *state)
 read event flag - see 5.2 9.8
asmlinkage int exe_setef (unsigned int efn)
 set event flag - see 5.2 9.8

Variables

long efc []
long efcc []


Detailed Description

reading and clearing event flags

Author:
Roar Thronęs

Definition in file sysevtsrv.c.


Define Documentation

#define MYDEB_EFC

Definition at line 23 of file sysevtsrv.c.


Function Documentation

asmlinkage int exe_clref ( unsigned int  efn  ) 

clear event flag - see 5.2 9.8

Parameters:
efn event flag number

Definition at line 57 of file sysevtsrv.c.

References _pcb, ctl_gl_pcb, efc, efcc, getefc(), SS__WASCLR, and SS__WASSET.

Referenced by exe_enq(), exe_getdvi(), exe_getjpi(), exe_getsyi(), exe_qio(), exe_setimr(), and exe_synch().

asmlinkage int exe_readef ( unsigned int  efn,
unsigned int *  state 
)

read event flag - see 5.2 9.8

Parameters:
efn event flag number
state return here

Definition at line 90 of file sysevtsrv.c.

References _pcb, and getefc().

asmlinkage int exe_setef ( unsigned int  efn  ) 

set event flag - see 5.2 9.8

Parameters:
efn event flag number

Definition at line 103 of file sysevtsrv.c.

References _pcb, and sch_postef().

unsigned long* getefc ( struct _pcb *  p,
unsigned long  efn 
) [inline]

Definition at line 35 of file sysevtsrv.c.

References _ceb::ceb_l_efc.

Referenced by exe_clref(), exe_readef(), exe_wait(), and sch_postef().

unsigned long* getefcno ( unsigned long  efn  )  [inline]

Definition at line 44 of file sysevtsrv.c.

Referenced by sch_postef().

unsigned long* getefcp ( struct _pcb *  p,
unsigned long  efn 
) [inline]

Returns a pointer to the event flag give a PCB and the event flag number.

Parameters:
p PCB pointer
efn event flag number

Definition at line 31 of file sysevtsrv.c.

Referenced by exe_ascefc(), exe_dacefc(), exe_wait(), and sch_postef().


Variable Documentation

long efc[]

Definition at line 75 of file postef.c.

Referenced by exe_clref(), and sch_postef().

long efcc[]

Definition at line 76 of file postef.c.

Referenced by exe_clref(), and sch_postef().


Generated on Fri Oct 9 10:26:02 2009 for FreeVMS by  doxygen 1.5.5