summaryrefslogblamecommitdiff
path: root/arch/arm/pthread_arch.h
blob: c6b973681fc14cef800395047df18171efd46327 (plain) (tree)
1
2
3
4
5
6
7






                                               
static inline struct pthread *__pthread_self()
{
	return ((void *(*)(void))0xffff0fe0)();
}

#define CANCEL_REG_SP 16
#define CANCEL_REG_IP 18