Bernd Schmidt | 7adfb58 | 2007-06-21 11:34:16 +0800 | [diff] [blame] | 1 | /* This file defines the fixed addresses where userspace programs can find |
| 2 | atomic code sequences. */ |
| 3 | |
| 4 | #define FIXED_CODE_START 0x400 |
| 5 | |
| 6 | #define SIGRETURN_STUB 0x400 |
| 7 | |
| 8 | #define ATOMIC_SEQS_START 0x410 |
| 9 | |
| 10 | #define ATOMIC_XCHG32 0x410 |
| 11 | #define ATOMIC_CAS32 0x420 |
| 12 | #define ATOMIC_ADD32 0x430 |
| 13 | #define ATOMIC_SUB32 0x440 |
| 14 | #define ATOMIC_IOR32 0x450 |
| 15 | #define ATOMIC_AND32 0x460 |
| 16 | #define ATOMIC_XOR32 0x470 |
| 17 | |
| 18 | #define ATOMIC_SEQS_END 0x480 |
| 19 | |
Robin Getz | 9f336a5 | 2007-10-29 18:23:28 +0800 | [diff] [blame] | 20 | #define SAFE_USER_INSTRUCTION 0x480 |
| 21 | |
| 22 | #define FIXED_CODE_END 0x490 |