1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-22 20:06:40 +00:00
Atmosphere/stratosphere
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
..
ams_mitm hos: change initialization API 2020-04-16 22:57:01 -07:00
boot hos: change initialization API 2020-04-16 22:57:01 -07:00
boot2 hos: change initialization API 2020-04-16 22:57:01 -07:00
creport hos: change initialization API 2020-04-16 22:57:01 -07:00
dmnt hos: change initialization API 2020-04-16 22:57:01 -07:00
eclct.stub loader: refactor to use fs bindings 2020-03-09 03:10:12 -07:00
erpt hos: change initialization API 2020-04-16 22:57:01 -07:00
fatal hos: change initialization API 2020-04-16 22:57:01 -07:00
loader hos: change initialization API 2020-04-16 22:57:01 -07:00
ncm hos: change initialization API 2020-04-16 22:57:01 -07:00
pgl hos: change initialization API 2020-04-16 22:57:01 -07:00
pm hos: change initialization API 2020-04-16 22:57:01 -07:00
ro hos: change initialization API 2020-04-16 22:57:01 -07:00
sm hos: change initialization API 2020-04-16 22:57:01 -07:00
spl hos: change initialization API 2020-04-16 22:57:01 -07:00
Makefile ams: fix boot sysmodule/kernel for 10.0.0 2020-04-14 10:11:58 -07:00