2 Copyright © 2015, The AROS Development Team. All rights reserved.
5 #ifndef __EXEC_PLATFORM_H
6 #define __EXEC_PLATFORM_H
8 // needed to determine if this is an smp build..
9 #include <aros/config.h>
11 #if defined(__AROSEXEC_SMP__)
12 #include <aros/types/spinlock_s.h>
14 extern void Kernel_40_KrnSpinInit(spinlock_t
*, void *);
15 #define EXEC_SPINLOCK_INIT(a,b) Kernel_40_KrnSpinInit(a,b)
20 struct Exec_PlatformData
22 /* No platform-specific data by default */
25 #define GET_THIS_TASK TLS_GET(ThisTask)
26 #define SET_THIS_TASK(x) TLS_SET(ThisTask,(x))
28 #endif /* __EXEC_PLATFORM_H */