1 /* FIXME: Aren't preprocessor symbols with underscore prefixes
2 * reserved for the system libraries? If so, it would be tidy to
3 * rename flags like _X86_ARCH_H so their names are in a part of the
4 * namespace that we control. */
7 #ifndef SBCL_GENESIS_CONFIG
8 #error genesis/config.h (or sbcl.h) must be incuded before this file
11 #define ARCH_HAS_STACK_POINTER
13 /* FIXME: Do we also want
14 * #define ARCH_HAS_FLOAT_REGISTERS
15 * here? (The answer wasn't obvious to me when merging the
16 * architecture-abstracting patches for CSR's SPARC port. -- WHN
19 #ifdef LISP_FEATURE_SB_THREAD
21 extern never_returns lose(char *fmt, ...);
24 get_spinlock(volatile lispobj *word,int value)
28 lose("recursive get_spinlock: 0x%x,%d\n",word,value);
33 : "r" (value), "m" (*word)
39 release_spinlock(volatile lispobj *word)
47 get_spinlock(lispobj *word, int value)
53 release_spinlock(lispobj *word) {
57 #endif /* LISP_FEATURE_SB_THREAD */
58 #endif /* _X86_ARCH_H */