Ensure that we deselect the current package before defining the platform-specific boot words so that they are created in the global dictionary and not the current instance dictionary.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@siriusit.co.uk --- openbios-devel/arch/sparc32/openbios.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/openbios-devel/arch/sparc32/openbios.c b/openbios-devel/arch/sparc32/openbios.c index 1d8842a..a87d2ad 100644 --- a/openbios-devel/arch/sparc32/openbios.c +++ b/openbios-devel/arch/sparc32/openbios.c @@ -922,12 +922,15 @@ arch_init( void ) push_str("boot-device"); fword("property");
+ device_end(); + + bind_func("platform-boot", boot ); + bind_func("(go)", go ); + /* Set up other properties */ push_str("/chosen"); fword("find-device");
- bind_func("platform-boot", boot ); - bind_func("(go)", go );
setup_uuid(); }