shithub: riscv

ref: 46b8a0ac0052c5a0f760ea7ea7e7261fe160f1ce
dir: /sys/src/9/boot/printstub.c/

View raw version
#include <u.h>
#include <libc.h>

static Lock fmtl;

void
_fmtlock(void)
{
	lock(&fmtl);
}

void
_fmtunlock(void)
{
	unlock(&fmtl);
}

int
_efgfmt(Fmt*)
{
	return -1;
}