boot2: move to separate process

This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-07 12:41:28 -08:00
1 parent 535e49a38d
commit 6abd756e0c
14 files changed
+427 -31

No files matched your search

@@ -15,6 +15,7 @@
*/
#include <atomic>
#include <stratosphere/boot2.hpp>
#include <stratosphere/spl.hpp>
#include <stratosphere/ldr/ldr_pm_api.hpp>
#include <stratosphere/sm/sm_manager_api.hpp>
@@ -24,8 +25,6 @@
#include "pm_process_info.hpp"
#include "../boot2/boot2_api.hpp"
namespace sts::pm::impl {
namespace {
@@ -732,7 +731,7 @@ namespace sts::pm::impl {
Result NotifyBootFinished() {
static bool g_has_boot_finished = false;
if (!g_has_boot_finished) {
boot2::LaunchBootPrograms();
boot2::LaunchPreSdCardBootProgramsAndBoot2();
g_has_boot_finished = true;
g_boot_finished_event.Signal();
}