shithub: purgatorio

ref: 3efb5bbb4061056e523858b134c555949591efe2
dir: /os/boot/pc/getcallerpc.c/

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

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