excSimsolarisLib.h
上传用户:luoyougen
上传日期:2008-05-12
资源大小:23136k
文件大小:1k
源码类别:

VxWorks

开发平台:

C/C++

  1. /* excSimsparcLib.h - simsparc exception library header */
  2. /* Copyright 1993-1995 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,07jun95,ism  derived from simsparc
  7. */
  8. #ifndef __INCexcSimsparcLibh
  9. #define __INCexcSimsparcLibh
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #ifndef _ASMLANGUAGE
  14. /* variable declarations */
  15. extern FUNCPTR  excExcepHook;   /* add'l rtn to call when exceptions occur */
  16. typedef struct
  17.     {
  18.     int valid;
  19.     int pc;
  20.     int npc;
  21.     int ps;
  22.     int sig;
  23.     int code;
  24.     int addr;
  25.     int ptcb;
  26.     } EXC_INFO;
  27. #endif  /* _ASMLANGUAGE */
  28. #ifdef __cplusplus
  29. }
  30. #endif
  31. #endif /* __INCexcSimsparcLibh */