OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i960/] [rxgen960/] [startup/] [systbl.h] - Rev 30

Go to most recent revision | Compare with Previous | Blame | View Log

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

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.