shithub: purgatorio

ref: 2459e34d77e2e21ef829c0dfaafd99433899494f
dir: /os/boot/pc/getcallerpc.c/

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

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