x86/speculation/mds: Fix documentation typo
[linux/fpc-iii.git] / arch / blackfin / include / uapi / asm / fixed_code.h
blob707b9214bb26b3c19198c12bee0d9e658faaa683
1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
2 /*
3 * This file defines the fixed addresses where userspace programs
4 * can find atomic code sequences.
6 * Copyright 2007-2008 Analog Devices Inc.
8 * Licensed under the GPL-2 or later.
9 */
11 #ifndef _UAPI__BFIN_ASM_FIXED_CODE_H__
12 #define _UAPI__BFIN_ASM_FIXED_CODE_H__
15 #ifndef CONFIG_PHY_RAM_BASE_ADDRESS
16 #define CONFIG_PHY_RAM_BASE_ADDRESS 0x0
17 #endif
19 #define FIXED_CODE_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400)
21 #define SIGRETURN_STUB (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400)
23 #define ATOMIC_SEQS_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x410)
25 #define ATOMIC_XCHG32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x410)
26 #define ATOMIC_CAS32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x420)
27 #define ATOMIC_ADD32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x430)
28 #define ATOMIC_SUB32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x440)
29 #define ATOMIC_IOR32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x450)
30 #define ATOMIC_AND32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x460)
31 #define ATOMIC_XOR32 (CONFIG_PHY_RAM_BASE_ADDRESS + 0x470)
33 #define ATOMIC_SEQS_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480)
35 #define SAFE_USER_INSTRUCTION (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480)
37 #define FIXED_CODE_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x490)
39 #endif /* _UAPI__BFIN_ASM_FIXED_CODE_H__ */