mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-21 18:35:13 -04:00
boot2: move to separate process
This commit is contained in:
parent
535e49a38d
commit
6abd756e0c
14 changed files with 427 additions and 31 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue