Atmosphere/stratosphere/spl/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
..
spl_api_impl.cpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_api_impl.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_crypto_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_crypto_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_ctr_drbg.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_ctr_drbg.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_deprecated_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_deprecated_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_es_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_es_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_fs_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_fs_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_general_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_general_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_main.cpp hos: change initialization API 2020-04-16 22:57:01 -07:00
spl_manu_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_manu_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
spl_random_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_random_service.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_rsa_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_rsa_service.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_ssl_service.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl_ssl_service.hpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00