/*-------------------------------------*/
|
/*-------------------------------------*/
|
/* systbl.h */
|
/* systbl.h */
|
/* Last change : 14.10.94 */
|
/* Last change : 14.10.94 */
|
/*-------------------------------------*/
|
/*-------------------------------------*/
|
/*
|
/*
|
* $Id: systbl.h,v 1.2 2001-09-27 11:59:59 chris Exp $
|
* $Id: systbl.h,v 1.2 2001-09-27 11:59:59 chris Exp $
|
*/
|
*/
|
|
|
#ifndef _SYSTBL_H_
|
#ifndef _SYSTBL_H_
|
#define _SYSTBL_H_
|
#define _SYSTBL_H_
|
|
|
/* System Procedure.
|
/* System Procedure.
|
*/
|
*/
|
typedef void (* SysProc)(void);
|
typedef void (* SysProc)(void);
|
/* System Procedures Table.
|
/* System Procedures Table.
|
*/
|
*/
|
typedef struct {
|
typedef struct {
|
unsigned int reserved[3]; /* Reserved */
|
unsigned int reserved[3]; /* Reserved */
|
unsigned int * svrStackPtr; /* Supervisor Stack Pointer Base */
|
unsigned int * svrStackPtr; /* Supervisor Stack Pointer Base */
|
unsigned int preserved[8]; /* Preserved */
|
unsigned int preserved[8]; /* Preserved */
|
SysProc sysProc[259]; /* System Procedures Entry Points */
|
SysProc sysProc[259]; /* System Procedures Entry Points */
|
} SystemTbl;
|
} SystemTbl;
|
/* Type of System Procedure.
|
/* Type of System Procedure.
|
*/
|
*/
|
#define LOCAL_SP 0x0
|
#define LOCAL_SP 0x0
|
#define SUPERVISOR_SP 0x2
|
#define SUPERVISOR_SP 0x2
|
/* Cinvert to System Procedure Type.
|
/* Cinvert to System Procedure Type.
|
*/
|
*/
|
#define SP(addr) ((SysProc) (addr))
|
#define SP(addr) ((SysProc) (addr))
|
/* System Procedures Table Itself.
|
/* System Procedures Table Itself.
|
*/
|
*/
|
extern SystemTbl systemTbl;
|
extern SystemTbl systemTbl;
|
|
|
#endif
|
#endif
|
/*-------------*/
|
/*-------------*/
|
/* End of file */
|
/* End of file */
|
/*-------------*/
|
/*-------------*/
|
|
|
|
|