Atmosphere/libraries/libstratosphere/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
..
ams os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
boot2 boot2: update for 10.0.0 2020-04-14 03:30:03 -07:00
cfg hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
crypto erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
dd emummc: fix for svcQueryIoMapping abi change 2020-04-14 11:15:19 -07:00
diag pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
dmnt
erpt/srv hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
fs loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
fssrv
fssystem pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
hid os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
hos hos: change initialization API 2020-04-16 22:57:01 -07:00
kvdb
ldr pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
lmem os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
lr pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
map hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
mem os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
ncm ncm: update to 10.0.0 (#879) 2020-04-14 10:11:51 -07:00
nim erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
os hos: change initialization API 2020-04-16 22:57:01 -07:00
patcher os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
pgl pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
pm pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
psc hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
result
settings pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
sf hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
sm os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
spl pm: Update to support 10.0.0 2020-04-14 02:54:55 -07:00
time erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
updater
util
service_guard.h