[OpenBIOS] [PATCH 1/3] ppc: Add RTAS rtas-version property

Andreas Färber andreas.faerber at web.de
Fri Oct 15 00:17:13 CEST 2010


CHRP spec 1.0 specifies it as 1. On my PowerMac G3 it's 0x41 though.

Signed-off-by: Andreas Färber <andreas.faerber at web.de>
---
 arch/ppc/qemu/init.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/ppc/qemu/init.c b/arch/ppc/qemu/init.c
index 6601b7c..2b0b891 100644
--- a/arch/ppc/qemu/init.c
+++ b/arch/ppc/qemu/init.c
@@ -748,6 +748,7 @@ arch_of_init( void )
 		while( size < (unsigned long)of_rtas_end - (unsigned long)of_rtas_start )
 			size *= 2;
 		set_property( ph, "rtas-size", (char*)&size, sizeof(size) );
+		set_int_property(ph, "rtas-version", 1);
 	}
 #endif
 
-- 
1.7.3




More information about the OpenBIOS mailing list