1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-23 04:12:02 +00:00
Atmosphere/stratosphere/loader/source
Michael Scire 94ec9ae41b hos: change initialization API
This was needed to make stratosphere buildable with debugging on.

os:: assertions rely on GetCurrentThread() working, and this requires
the global os resource manager to be constructed. However, __appInit executes
before global constructors. We now require that hos::InitializeForStratosphere()
be called before anything else is done. This initializes the os resource manager,
sets the hos version for libnx, and may do more things in the future.

TODO: Consider replacing __appInit/__appExit with ams:: namespace functions in general,
and wrap them so that we guarantee hos::InitializeForStratosphere is called first, and
generally ensure a consistent stratosphere environment.
2020-04-16 22:57:01 -07:00
..
ldr_anti_downgrade_tables.inc loader: update anti-downgrade tables for 10.0.0 2020-04-13 23:44:01 -07:00
ldr_arguments.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_arguments.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_capabilities.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_capabilities.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_content_management.cpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_content_management.hpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_development_manager.cpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_development_manager.hpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_launch_record.cpp ams: finish stdio -> fs bindings for stratosphere 2020-03-09 03:58:02 -07:00
ldr_launch_record.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_loader_service.cpp ldr: update 10.0.0 conditionals 2020-04-14 03:20:23 -07:00
ldr_loader_service.hpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_main.cpp hos: change initialization API 2020-04-16 22:57:01 -07:00
ldr_meta.cpp ldr: update 10.0.0 conditionals 2020-04-14 03:20:23 -07:00
ldr_meta.hpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_patcher.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
ldr_patcher.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_process_creation.cpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
ldr_process_creation.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr_ro_manager.cpp stratosphere: misc static -> global 2020-02-22 23:16:53 -08:00
ldr_ro_manager.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00