summaryrefslogtreecommitdiff
path: root/sys/arch/mvmeppc/stand/libbug/outch.c
blob: 5d98a4e00650795bd903d3fa6219f4c509731a5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * bug routines -- assumes that the necessary sections of memory
 * are preserved.
 */
#include <sys/types.h>
#include <machine/prom.h>

void
mvmeprom_outchr(a)
	char a;
{
	asm volatile ("mr 3, %0" :  :"r" (a));
	MVMEPROM_CALL(MVMEPROM_OUTCHR);
}