48 lines
1.1 KiB
C
48 lines
1.1 KiB
C
/*--------------------------------------------------------------------------
|
|
S I C S
|
|
|
|
A common header file which includes the SICS kernel header files
|
|
in the right order.
|
|
|
|
Mark Koennecke, October 1997
|
|
|
|
-----------------------------------------------------------------------------*/
|
|
#ifndef SICSSICS
|
|
#define SICSSICS
|
|
|
|
typedef enum {
|
|
eTimer,
|
|
ePreset
|
|
} CounterMode;
|
|
|
|
/* the following line suppresses const declarations in tcl.h.
|
|
WARNING: including sics.h must always be done before tcl.h
|
|
-> makes the compiler happy M.Z. */
|
|
#define NO_CONST
|
|
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <assert.h>
|
|
#include "Scommon.h"
|
|
#include "event.h"
|
|
#include "obdes.h"
|
|
#include "interrupt.h"
|
|
#include "task.h"
|
|
#include "conman.h"
|
|
#include "interface.h"
|
|
#include "devexec.h"
|
|
#include "emon.h"
|
|
#include "nserver.h"
|
|
#include "servlog.h"
|
|
|
|
extern pServer pServ;
|
|
|
|
/**
|
|
* Decode privilege text. Implemented in access.c
|
|
* @param the text to decode
|
|
* @return -1 if code invalid, else the privilege code
|
|
*/
|
|
int decodeSICSPriv(char *privText);
|
|
|
|
#endif
|