1 /* $NetBSD: getbrdid.c,v 1.2.152.1 2008/02/18 21:04:50 mjf 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 /* BUG - query board routines */ 13 struct mvmeprom_brdid * 14 mvmeprom_getbrdid(void) 15 { 16 struct mvmeprom_brdid *id; 17 18 MVMEPROM_NOARG(); 19 MVMEPROM_CALL(MVMEPROM_GETBRDID); 20 MVMEPROM_RETURN(id); 21 } 22