![]() ![]() | ![]() |
1.1 ! nbrk 1: /* $OpenBSD: outch.c,v 1.3 2004/01/24 21:12:38 miod Exp $ */ ! 2: ! 3: /* ! 4: * bug routines -- assumes that the necessary sections of memory ! 5: * are preserved. ! 6: */ ! 7: #include <sys/types.h> ! 8: ! 9: #include "libbug.h" ! 10: ! 11: void ! 12: mvmeprom_outchr(a) ! 13: char a; ! 14: { ! 15: asm volatile ("mr 3, %0" : :"r" (a)); ! 16: MVMEPROM_CALL(MVMEPROM_OUTCHR); ! 17: } ! 18: