Patch by Andreas Faerber:

* Choosing Reboot from the menu will now reboot the system instead of
   returning to the OpenFirmware prompt. Places, where returning to the
   prompt was desirable have been adapted to maintain their current behavior.

Thanks!


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34852 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2010-01-02 10:04:37 +00:00
parent 9592b510c5
commit 50028fc7aa

View File

@ -103,7 +103,7 @@ platform_start_kernel(void)
void
platform_exit(void)
{
of_exit();
of_interpret("reset-all", 0, 0);
}
@ -157,10 +157,10 @@ start(void *openFirmwareEntry)
arch_mmu_init();
if (boot_arch_cpu_init() != B_OK)
platform_exit();
of_exit();
if (init_real_time_clock() != B_OK)
platform_exit();
of_exit();
gKernelArgs.platform_args.openfirmware_entry = openFirmwareEntry;