@@ -1,4 +1,4 @@
-/* $NetBSD: openbios.c,v 1.6 2021/03/30 01:47:45 rin Exp $ */
+/* $NetBSD: openbios.c,v 1.7 2021/03/30 01:50:13 rin Exp $ */
/*
* Copyright (c) 2004 Shigeyuki Fukushima.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: openbios.c,v 1.6 2021/03/30 01:47:45 rin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: openbios.c,v 1.7 2021/03/30 01:50:13 rin Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -44,6 +44,7 @@
* Board configuration structure from the OpenBIOS.
*
* Supported (XXX):
+ * IBM/AMCC Walnut PowerPC 405GP Evaluation Board
* 405GPr 1.2 ROM Monitor (5/25/02)
*/
struct board_bios_data {
@@ -73,6 +74,7 @@
unsigned int
openbios_board_memsize_get(void)
{
+
return board_bios.mem_size;
}
@@ -141,7 +143,6 @@
panic("setting pci-frequency");
prop_object_release(pn);
}
-
void
openbios_board_print(void)