Set up alien stack correctly on non-x86oids.
[sbcl.git] / src / runtime / sparc-arch.h
1 #ifndef _SPARC_ARCH_H
2 #define _SPARC_ARCH_H
3
4 static inline void
5 get_spinlock(lispobj *word,long value)
6 {
7     *word=value;                /* FIXME for threads */
8 }
9
10 static inline void
11 release_spinlock(lispobj *word)
12 {
13     *word=0;
14 }
15
16 #define ARCH_HAS_NPC_REGISTER
17 #define ALIEN_STACK_GROWS_DOWNWARD
18
19 #endif /* _SPARC_ARCH_H */