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

VxWorks

开发平台:

C/C++

  1. /* esfArm.h - ARM exception stack frames */
  2. /* Copyright 1996-1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,09may96,cdp  created
  7. */
  8. #ifndef __INCesfArmh
  9. #define __INCesfArmh
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. #ifndef _ASMLANGUAGE
  14. /* The Exception Stack Frame
  15.  * On the ARM, this is faked by a stub and the pointer
  16.  * passed back points to the PC and CPSR at the end of the
  17.  * register structure. If that changes, so must this.
  18.  */
  19. typedef struct
  20.     {
  21.     INSTR *pc; /* program counter */
  22.     ULONG cpsr; /* current PSR */
  23.     UINT32 vecAddr; /* address of exception vector => type */
  24.     } ESF;
  25. #endif /* _ASMLANGUAGE */
  26. #ifdef __cplusplus
  27. }
  28. #endif
  29. #endif /* __INCesfArmh */