code: 9ferno

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

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

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