shithub: purgatorio

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

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

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