shithub: riscv

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