mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-12-23 02:42:09 +00:00
94ec9ae41b
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. |
||
---|---|---|
.. | ||
spl_api_impl.cpp | ||
spl_api_impl.hpp | ||
spl_crypto_service.cpp | ||
spl_crypto_service.hpp | ||
spl_ctr_drbg.cpp | ||
spl_ctr_drbg.hpp | ||
spl_deprecated_service.cpp | ||
spl_deprecated_service.hpp | ||
spl_es_service.cpp | ||
spl_es_service.hpp | ||
spl_fs_service.cpp | ||
spl_fs_service.hpp | ||
spl_general_service.cpp | ||
spl_general_service.hpp | ||
spl_main.cpp | ||
spl_manu_service.cpp | ||
spl_manu_service.hpp | ||
spl_random_service.cpp | ||
spl_random_service.hpp | ||
spl_rsa_service.cpp | ||
spl_rsa_service.hpp | ||
spl_ssl_service.cpp | ||
spl_ssl_service.hpp |