Define fun_code_header in C for symmetry with Lisp
[sbcl.git] / src / runtime / arm-arch.h
blob52fbcc8d55cd061ca4f95f4ff9c1e97ab043d42b
1 #ifndef _ARM_ARCH_H
2 #define _ARM_ARCH_H
4 #define ALIEN_STACK_GROWS_DOWNWARD
6 static inline long
7 get_spinlock(lispobj *word,long value)
9 #ifdef LISP_FEATURE_SB_THREAD
10 #error "get_spinlock not defined for threads"
11 #else
12 *word=value;
13 return 0;
14 #endif
17 static inline void
18 release_spinlock(lispobj *word)
20 #ifdef LISP_FEATURE_SB_THREAD
21 #error "release_spinlock not defined for threads"
22 #endif
23 *word=0;
26 #ifdef LISP_FEATURE_SB_THREAD
27 static inline lispobj
28 swap_lispobjs(volatile lispobj *dest, lispobj value)
30 #error "swap_lispobjs not defined for threads"
32 #endif
34 #define ARCH_HAS_LINK_REGISTER
36 #endif /* _ARM_ARCH_H */