Beispiel #1
0
int arch_defterm_getc(u8 * ch)
{
	if (!pl011_lowlevel_can_getc(v2m_defterm_base)) {
		return VMM_EFAIL;
	}
	*ch = pl011_lowlevel_getc(v2m_defterm_base);
	return VMM_OK;
}
Beispiel #2
0
static int pl011_defterm_getc(u8 *ch)
{
	if (!pl011_lowlevel_can_getc(pl011_defterm_base)) {
		return VMM_EFAIL;
	}
	*ch = pl011_lowlevel_getc(pl011_defterm_base);
	return VMM_OK;
}