code: purgatorio

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

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

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