fixed_code.h 501 B

12345678910111213141516171819202122
  1. /* This file defines the fixed addresses where userspace programs can find
  2. atomic code sequences. */
  3. #define FIXED_CODE_START 0x400
  4. #define SIGRETURN_STUB 0x400
  5. #define ATOMIC_SEQS_START 0x410
  6. #define ATOMIC_XCHG32 0x410
  7. #define ATOMIC_CAS32 0x420
  8. #define ATOMIC_ADD32 0x430
  9. #define ATOMIC_SUB32 0x440
  10. #define ATOMIC_IOR32 0x450
  11. #define ATOMIC_AND32 0x460
  12. #define ATOMIC_XOR32 0x470
  13. #define ATOMIC_SEQS_END 0x480
  14. #define SAFE_USER_INSTRUCTION 0x480
  15. #define FIXED_CODE_END 0x490