Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
949 B

  1. //----------------------------------------------------------------------------
  2. //
  3. // ARM registers.
  4. //
  5. // Copyright (C) Microsoft Corporation, 2001-2002.
  6. //
  7. //----------------------------------------------------------------------------
  8. #ifndef __ARM_REG_H__
  9. #define __ARM_REG_H__
  10. #define ARM_FLAG_N (1 << 31)
  11. #define ARM_FLAG_Z (1 << 30)
  12. #define ARM_FLAG_C (1 << 29)
  13. #define ARM_FLAG_V (1 << 28)
  14. #define ARM_FLAG_Q (1 << 27)
  15. #define ARM_FLAG_T (1 << 5)
  16. enum
  17. {
  18. ARM_INVALID,
  19. ARM_R0, ARM_R1, ARM_R2, ARM_R3, ARM_R4, ARM_R5, ARM_R6,
  20. ARM_R7, ARM_R8, ARM_R9, ARM_R10, ARM_R11, ARM_R12,
  21. ARM_SP, ARM_LR, ARM_PC, ARM_PSR,
  22. ARM_PSR_N, ARM_PSR_Z, ARM_PSR_C, ARM_PSR_V, ARM_PSR_Q,
  23. ARM_PSR_I, ARM_PSR_F, ARM_PSR_T, ARM_PSR_MODE,
  24. };
  25. #define ARM_INT_FIRST ARM_R0
  26. #define ARM_INT_LAST ARM_PSR
  27. #define ARM_FLAG_FIRST ARM_PSR_N
  28. #define ARM_FLAG_LAST ARM_PSR_MODE
  29. #endif // #ifndef __ARM_REG_H__