mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-11-27 05:28:22 +01:00
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. |
||
|---|---|---|
| .. | ||
| ldr_anti_downgrade_tables.inc | ||
| ldr_arguments.cpp | ||
| ldr_arguments.hpp | ||
| ldr_capabilities.cpp | ||
| ldr_capabilities.hpp | ||
| ldr_content_management.cpp | ||
| ldr_content_management.hpp | ||
| ldr_development_manager.cpp | ||
| ldr_development_manager.hpp | ||
| ldr_launch_record.cpp | ||
| ldr_launch_record.hpp | ||
| ldr_loader_service.cpp | ||
| ldr_loader_service.hpp | ||
| ldr_main.cpp | ||
| ldr_meta.cpp | ||
| ldr_meta.hpp | ||
| ldr_patcher.cpp | ||
| ldr_patcher.hpp | ||
| ldr_process_creation.cpp | ||
| ldr_process_creation.hpp | ||
| ldr_ro_manager.cpp | ||
| ldr_ro_manager.hpp | ||