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

VxWorks

开发平台:

C/C++

  1. /* ivArm.h - ARM interrupt vectors */
  2. /* Copyright 1996-1997 Wind River Systems, Inc. */
  3. /*
  4. modification history
  5. --------------------
  6. 01a,09may96,cdp  created
  7. */
  8. #ifndef __INCivArmh
  9. #define __INCivArmh
  10. #ifdef __cplusplus
  11. extern "C" {
  12. #endif
  13. /* macros to convert interrupt vectors <-> interrupt numbers */
  14. #define IVEC_TO_INUM(intVec)    ((int) (intVec))
  15. #define INUM_TO_IVEC(intNum)    ((VOIDFUNCPTR *) (intNum))
  16. /* interrupt vector definitions are in the BSP header files */
  17. #ifdef __cplusplus
  18. }
  19. #endif
  20. #endif /* __INCivArmh */