1 /* 2 * Copyright 2004, Axel Dörfler, axeld@pinc-software.de. 3 * Distributed under the terms of the MIT License. 4 */ 5 #ifndef _KERNEL_ARCH_ARM_CONFIG_H 6 #define _KERNEL_ARCH_ARM_CONFIG_H 7 8 9 #define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned int 10 11 #define STACK_GROWS_DOWNWARDS 12 13 // If we're building on ARMv5 or older, all our atomics need to be syscalls... :( 14 #if _M_ARM <= 5 15 #define ATOMIC_FUNCS_ARE_SYSCALLS 16 #endif 17 18 // If we're building on ARMv6 or older, 64-bit atomics need to be syscalls... 19 #if _M_ARM < 7 20 #define ATOMIC64_FUNCS_ARE_SYSCALLS 21 #endif 22 23 #endif /* _KERNEL_ARCH_ARM_CONFIG_H */ 24