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

Subversion Repositories or1k

[/] [or1k/] [branches/] [stable_0_1_x/] [or1ksim/] [cpu/] [or1k/] [except.h] - Diff between revs 261 and 437

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 261 Rev 437
Line 15... Line 15...
 
 
You should have received a copy of the GNU General Public License
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
 
 
 
#ifndef _EXCEPT_H_
 
#define _EXCEPT_H_
/* Prototypes */
/* Prototypes */
void except_handle(int except, unsigned long ea);
void except_handle(int except, unsigned long ea);
 
 
 
 
/* Define if you want pure virtual machine simulation (no exceptions etc.) */
/* Define if you want pure virtual machine simulation (no exceptions etc.) */
Line 57... Line 59...
                        E == EXCEPT_RANGE ? "Range" : \
                        E == EXCEPT_RANGE ? "Range" : \
                        E == EXCEPT_SYSCALL ? "System Call" : \
                        E == EXCEPT_SYSCALL ? "System Call" : \
                        E == EXCEPT_BREAK ? "Break" : \
                        E == EXCEPT_BREAK ? "Break" : \
                        E == EXCEPT_TRAP ? "Trap" : "Unknown"
                        E == EXCEPT_TRAP ? "Trap" : "Unknown"
 
 
 
extern struct _pending {
 
  int valid;
 
  int type;
 
  unsigned long address;
 
  unsigned long saved;
 
} pending;
 
 
 
#endif
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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