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#include "arch_arm_version.h" 9 10#define FUNCTION_CALL_PARAMETER_ALIGNMENT_TYPE unsigned int 11 12#define STACK_GROWS_DOWNWARDS 13 14// If we're building on ARMv5 or older, all our atomics need to be syscalls... :( 15#if __ARM_ARCH__ <= 5 16#define ATOMIC_FUNCS_ARE_SYSCALLS 17#endif 18 19// If we're building on ARMv6 or older, 64-bit atomics need to be syscalls... 20#if __ARM_ARCH__ <= 6 21#define ATOMIC64_FUNCS_ARE_SYSCALLS 22#endif 23 24#endif /* _KERNEL_ARCH_ARM_CONFIG_H */ 25