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

Subversion Repositories openrisc

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

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

/*-------------------------------------*/
/* fltbl.h                             */
/* Last change :  3.11.94              */
/*-------------------------------------*/
/*
 *  $Id: flttbl.h,v 1.2 2001-09-27 11:59:59 chris Exp $
 */
 
#ifndef _FLTTBL_H_
#define _FLTTBL_H_
 
  /* FaultTable Entry.   
   */
typedef struct  { 
  void (* hndl)(void);                           /* Fault Handle */
  unsigned int type;                             /* Fault Table Type */
} FaultTblEntry;
  /* Fault Handler Type.
   */
#define LOCAL_FH	0
#define SYSTEM_FH	0x10
 
#define LOCAL_FW	0
#define SYSTEM_FW	0x027F   
  /* FaultTable Itself.
   */
extern FaultTblEntry faultTbl[];
  /* To initialize fault handling.
   */
extern void faultTblInit(void);   
  /* Fault handler. Invoked from low-level handler.
   */
extern void faultTblHandler(unsigned int * fp,
                            unsigned int * faultBuffer);
 
#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.