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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [sim/] [except.h] - Rev 8

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

/*
 * except.h -- exception handling
 */
 
 
#ifndef _EXCEPT_H_
#define _EXCEPT_H_
 
 
#define EXC_BUS_TIMEOUT	16	/* bus timeout exception */
#define EXC_ILL_INSTRCT	17	/* illegal instruction exception */
#define EXC_PRV_INSTRCT	18	/* privileged instruction exception */
#define EXC_DIVIDE	19	/* divide instruction exception */
#define EXC_TRAP	20	/* trap instruction exception */
#define EXC_TLB_MISS	21	/* TLB miss exception */
#define EXC_TLB_WRITE	22	/* TLB write exception */
#define EXC_TLB_INVALID	23	/* TLB invalid exception */
#define EXC_ILL_ADDRESS	24	/* illegal address exception */
#define EXC_PRV_ADDRESS	25	/* privileged address exception */
 
 
void throwException(int exception);
void pushEnvironment(jmp_buf *environment);
void popEnvironment(void);
 
 
#endif /* _EXCEPT_H_ */
 

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.