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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [cpu/] [or1k/] [except.h] - Diff between revs 599 and 1350

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

Rev 599 Rev 1350
Line 56... Line 56...
                        E == EXCEPT_SYSCALL ? "System Call" : \
                        E == EXCEPT_SYSCALL ? "System Call" : \
                        E == EXCEPT_TRAP ? "Trap" : "Unknown"
                        E == EXCEPT_TRAP ? "Trap" : "Unknown"
 
 
extern struct _pending {
extern struct _pending {
  int valid;
  int valid;
  int type;
  oraddr_t type;
  unsigned long address;
  oraddr_t address;
  unsigned long saved;
  oraddr_t saved;
} pending;
} pending;
 
 
/* Prototypes */
/* Prototypes */
void except_handle(int except, unsigned long ea);
void except_handle(oraddr_t except, oraddr_t ea);
 
 
/* Actually handles exception */
/* Actually handles exception */
void except_handle_backend (int except, unsigned long ea, unsigned long pc_saved);
void except_handle_backend (oraddr_t except, oraddr_t ea, oraddr_t pc_saved);
 
 
/* Discards all pending exceptions */
/* Discards all pending exceptions */
void clear_pending_exception();
void clear_pending_exception();
 
 
#endif
#endif

powered by: WebSVN 2.1.0

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