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] - Blame information for rev 562

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

Line No. Rev Author Line
1 30 unneback
/*-------------------------------------*/
2
/* fltbl.h                             */
3
/* Last change :  3.11.94              */
4
/*-------------------------------------*/
5
/*
6
 *  $Id: flttbl.h,v 1.2 2001-09-27 11:59:59 chris Exp $
7
 */
8
 
9
#ifndef _FLTTBL_H_
10
#define _FLTTBL_H_
11
 
12
  /* FaultTable Entry.
13
   */
14
typedef struct  {
15
  void (* hndl)(void);                           /* Fault Handle */
16
  unsigned int type;                             /* Fault Table Type */
17
} FaultTblEntry;
18
  /* Fault Handler Type.
19
   */
20
#define LOCAL_FH        0
21
#define SYSTEM_FH       0x10
22
 
23
#define LOCAL_FW        0
24
#define SYSTEM_FW       0x027F   
25
  /* FaultTable Itself.
26
   */
27
extern FaultTblEntry faultTbl[];
28
  /* To initialize fault handling.
29
   */
30
extern void faultTblInit(void);
31
  /* Fault handler. Invoked from low-level handler.
32
   */
33
extern void faultTblHandler(unsigned int * fp,
34
                            unsigned int * faultBuffer);
35
 
36
#endif   
37
/*-------------*/
38
/* End of file */
39
/*-------------*/
40
 

powered by: WebSVN 2.1.0

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