From 7669d1e334e6b96455eece78da43bf830b93d697 Mon Sep 17 00:00:00 2001 From: Richard Pennington Date: Fri, 9 Nov 2012 23:32:57 +0100 Subject: import preliminary ppc work by rdp. --- arch/ppc/pthread_arch.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 arch/ppc/pthread_arch.h (limited to 'arch/ppc/pthread_arch.h') diff --git a/arch/ppc/pthread_arch.h b/arch/ppc/pthread_arch.h new file mode 100644 index 00000000..5f96f2b0 --- /dev/null +++ b/arch/ppc/pthread_arch.h @@ -0,0 +1,6 @@ +typedef pthread_t (*__pthread_self_func_t)(void) __attribute__((const)); + +#define __pthread_self ((__pthread_self_func_t)0xffff0fe0) + +#define CANCEL_REG_SP 16 +#define CANCEL_REG_IP 18 -- cgit v1.2.1