X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Fppc-arch.h;h=be871d8c3e7055ceedf902f177bc1ae621217498;hb=c1aa8b6b5b870f21bc8c81da85708e9d71d4eb93;hp=b43e78e250b9c9e9ecc1a8bfd6d12ae1313f5e4b;hpb=c1b4849c95bad4f3535fba2b9307fd37e15bcf6d;p=sbcl.git diff --git a/src/runtime/ppc-arch.h b/src/runtime/ppc-arch.h index b43e78e..be871d8 100644 --- a/src/runtime/ppc-arch.h +++ b/src/runtime/ppc-arch.h @@ -1,6 +1,21 @@ #ifndef _PPC_ARCH_H #define _PPC_ARCH_H +static inline void +get_spinlock(lispobj *word,long value) +{ + *word=value; /* FIXME for threads */ +} + +static inline void +release_spinlock(lispobj *word) +{ + *word=0; +} + + #define ARCH_HAS_LINK_REGISTER +extern void ppc_flush_icache(os_vm_address_t address, os_vm_size_t length); + #endif /* _PPC_ARCH_H */