]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - arch/blackfin/include/uapi/asm/fixed_code.h
Merge remote-tracking branches 'asoc/topic/ac97', 'asoc/topic/ac97-mfd', 'asoc/topic...
[mirror_ubuntu-focal-kernel.git] / arch / blackfin / include / uapi / asm / fixed_code.h
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.
5 *
6 * Copyright 2007-2008 Analog Devices Inc.
7 *
8 * Licensed under the GPL-2 or later.
9 */
10
11 #ifndef _UAPI__BFIN_ASM_FIXED_CODE_H__
12 #define _UAPI__BFIN_ASM_FIXED_CODE_H__
13
14
15 #ifndef CONFIG_PHY_RAM_BASE_ADDRESS
16 #define CONFIG_PHY_RAM_BASE_ADDRESS 0x0
17 #endif
18
19 #define FIXED_CODE_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400)
20
21 #define SIGRETURN_STUB (CONFIG_PHY_RAM_BASE_ADDRESS + 0x400)
22
23 #define ATOMIC_SEQS_START (CONFIG_PHY_RAM_BASE_ADDRESS + 0x410)
24
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)
32
33 #define ATOMIC_SEQS_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480)
34
35 #define SAFE_USER_INSTRUCTION (CONFIG_PHY_RAM_BASE_ADDRESS + 0x480)
36
37 #define FIXED_CODE_END (CONFIG_PHY_RAM_BASE_ADDRESS + 0x490)
38
39 #endif /* _UAPI__BFIN_ASM_FIXED_CODE_H__ */