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] - 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
/* systbl.h                            */
3
/* Last change : 14.10.94              */
4
/*-------------------------------------*/
5
/*
6
 *  $Id: systbl.h,v 1.2 2001-09-27 11:59:59 chris Exp $
7
 */
8
 
9
#ifndef _SYSTBL_H_
10
#define _SYSTBL_H_
11
 
12
  /* System Procedure.
13
   */
14
typedef void (* SysProc)(void);
15
  /* System Procedures Table.
16
   */
17
typedef struct {
18
  unsigned int reserved[3];             /* Reserved */
19
  unsigned int * svrStackPtr;           /* Supervisor Stack Pointer Base */
20
  unsigned int preserved[8];            /* Preserved */
21
  SysProc sysProc[259];                 /* System Procedures Entry Points */
22
} SystemTbl;
23
  /* Type of System Procedure.
24
   */
25
#define LOCAL_SP        0x0
26
#define SUPERVISOR_SP   0x2  
27
  /* Cinvert to System Procedure Type.
28
   */
29
#define SP(addr)        ((SysProc) (addr))    
30
  /* System Procedures Table Itself.
31
   */
32
extern SystemTbl systemTbl;
33
 
34
#endif   
35
/*-------------*/
36
/* End of file */
37
/*-------------*/
38
 

powered by: WebSVN 2.1.0

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