X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=ab27de1f1ea0996448d468b0de7a75b123186e23;hb=876d0f8bb916e9c56d0e6bda7703c459129f0f5e;hp=1e2be703afdd0c161bd3f4789d3d6fa7c06f744a;hpb=da654737f999018575d735b7e6af8681b5a3185c;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index 1e2be703..ab27de1f 100644 --- a/AcessNative/acesskernel_src/include/arch.h +++ b/AcessNative/acesskernel_src/include/arch.h @@ -40,10 +40,11 @@ struct sShortSpinlock extern void Threads_int_ShortLock(void **Ptr); extern void Threads_int_ShortRel(void **Ptr); +extern int Threads_int_ShortHas(void **Ptr); #define SHORTLOCK(l) Threads_int_ShortLock(&(l)->Mutex) #define SHORTREL(l) Threads_int_ShortRel(&(l)->Mutex) -#define CPU_HAS_LOCK(...) 0 +#define CPU_HAS_LOCK(l) Threads_int_ShortHas(&(l)->Mutex) //#define NUM_CFG_ENTRIES 10