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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [except.h] - Blame information for rev 254

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

Line No. Rev Author Line
1 8 hellwig
/*
2
 * except.h -- exception handling
3
 */
4
 
5
 
6
#ifndef _EXCEPT_H_
7
#define _EXCEPT_H_
8
 
9
 
10
#define EXC_BUS_TIMEOUT 16      /* bus timeout exception */
11
#define EXC_ILL_INSTRCT 17      /* illegal instruction exception */
12
#define EXC_PRV_INSTRCT 18      /* privileged instruction exception */
13
#define EXC_DIVIDE      19      /* divide instruction exception */
14
#define EXC_TRAP        20      /* trap instruction exception */
15
#define EXC_TLB_MISS    21      /* TLB miss exception */
16
#define EXC_TLB_WRITE   22      /* TLB write exception */
17
#define EXC_TLB_INVALID 23      /* TLB invalid exception */
18
#define EXC_ILL_ADDRESS 24      /* illegal address exception */
19
#define EXC_PRV_ADDRESS 25      /* privileged address exception */
20
 
21
 
22
void throwException(int exception);
23
void pushEnvironment(jmp_buf *environment);
24
void popEnvironment(void);
25
 
26
 
27
#endif /* _EXCEPT_H_ */

powered by: WebSVN 2.1.0

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