posix-arm: new directory, with tas.c from Skip Tavakkolian

R=rsc
http://codereview.appspot.com/6408043
This commit is contained in:
Russ Cox
2012-07-14 10:30:35 -04:00
parent e64d488c01
commit 2ca76dc7de
5 changed files with 525 additions and 0 deletions

8
posix-arm/getcallerpc.c Normal file
View File

@@ -0,0 +1,8 @@
#include "u.h"
#include "libc.h"
uintptr
getcallerpc(void *a)
{
return ((uintptr*)a)[-1];
}