1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-12-22 18:32:05 +00:00
Atmosphere/stratosphere/creport/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
..
creport_crash_report.cpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
creport_crash_report.hpp creport: use fs bindings 2020-03-08 01:45:12 -08:00
creport_main.cpp hos: change initialization API 2020-04-16 22:57:01 -07:00
creport_modules.cpp creport: minor reformatting/fixes 2020-03-08 03:08:39 -07:00
creport_modules.hpp creport: use fs bindings 2020-03-08 01:45:12 -08:00
creport_scoped_file.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
creport_scoped_file.hpp stratosphere-except-ldr: use fs bindings (this temporarily breaks loader) 2020-03-08 16:33:49 -07:00
creport_threads.cpp stratosphere: fix building with latest libnx 2020-03-29 15:24:40 -07:00
creport_threads.hpp creport: use fs bindings 2020-03-08 01:45:12 -08:00
creport_utils.cpp creport: use fs bindings 2020-03-08 01:45:12 -08:00
creport_utils.hpp creport: use fs bindings 2020-03-08 01:45:12 -08:00