shithub: purgatorio

ref: a920c765f2b4130590fb5971a50690b21664957a
dir: /os/boot/pc/getcallerpc.c/

View raw version
#include "u.h"
#include "lib.h"

ulong
getcallerpc(void *x)
{
	return (((ulong*)(x))[-1]);
}