shithub: purgatorio

ref: 2183f9eaeca9fb5d57b637c15707e663caf33575
dir: /os/boot/pc/getcallerpc.c/

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

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