blob: 37db66c7030d12e91eabc205ed9ea4059195515a [file] [log] [blame]
Bernd Schmidt7adfb582007-06-21 11:34:16 +08001/* 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 Getz9f336a52007-10-29 18:23:28 +080020#define SAFE_USER_INSTRUCTION 0x480
21
22#define FIXED_CODE_END 0x490