summaryrefslogtreecommitdiff
path: root/sys/arch/mvme88k/stand/libbug/m88k/outch.c
blob: 78110e0299f0af0f274f7d09cb37c92b89b79b37 (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 ("or r2, r0, %0" :  :"r" (a));
	BUG_CALL(_OUTCHR);
}