Home | History | Annotate | Line # | Download | only in libbug
      1 /*	$NetBSD: diskwr.c,v 1.3 2008/01/12 09:54:31 tsutsui Exp $	*/
      2 
      3 /*
      4  * bug routines -- assumes that the necessary sections of memory
      5  * are preserved.
      6  */
      7 #include <sys/types.h>
      8 #include <machine/prom.h>
      9 
     10 #include "libbug.h"
     11 
     12 /* returns 0: success, nonzero: error */
     13 int
     14 mvmeprom_diskwr(struct mvmeprom_dskio *arg)
     15 {
     16 	int ret;
     17 
     18 	MVMEPROM_ARG1(arg);
     19 	MVMEPROM_CALL(MVMEPROM_DSKWR);
     20 	MVMEPROM_STATRET(ret);
     21 }
     22