shithub: riscv

ref: 7cf2321ffbd4a524c559ec688b5f0f2c9949bce1
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;
}