xref: /haiku/headers/private/system/arch/arm/arch_cpu_defs.h (revision 52f7c9389475e19fc21487b38064b4390eeb6fea)
1 /*
2  * Copyright 2022, Haiku Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Copyright 2010, Ingo Weinhold, ingo_weinhold@gmx.de.
6  * Distributed under the terms of the MIT License.
7  */
8 #ifndef _SYSTEM_ARCH_ARM_DEFS_H
9 #define _SYSTEM_ARCH_ARM_DEFS_H
10 
11 
12 #define SPINLOCK_PAUSE()	do {} while (false)
13 
14 #define CPSR_MODE_MASK		0x1f
15 #define CPSR_MODE_USR		0x10
16 #define CPSR_MODE_SVC		0x13
17 #define CPSR_MODE_SYS		0x1f
18 
19 #define CPSR_T				0x20
20 #define CPSR_F				0x40
21 #define CPSR_I				0x80
22 
23 #define FSR_WNR				0x800
24 
25 #endif	/* _SYSTEM_ARCH_ARM_DEFS_H */
26