xref: /netbsd-src/sys/arch/mvme68k/stand/libbug/getbrdid.c (revision 82d56013d7b633d116a93943de88e08335357a7c)
1 /*	$NetBSD: getbrdid.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 /* 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