Atmosphere/libraries/libstratosphere/include/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 hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
boot2 find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
cfg Implement the NCM sysmodule (closes #91) 2020-03-08 00:06:23 -08:00
dd ams: revamp assertion system 2020-02-22 23:05:14 -08:00
dmnt Implement the NCM sysmodule (closes #91) 2020-03-08 00:06:23 -08:00
erpt hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
fatal os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
fs loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
fssrv hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
fssystem loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
hid find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
hos hos: change initialization API 2020-04-16 22:57:01 -07:00
kvdb os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
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 hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
map ams: revamp assertion system 2020-02-22 23:05:14 -08:00
mem erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
ncm pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
nim NCM client implementation (#858) 2020-04-03 22:40:46 -07:00
os pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
patcher loader: refactor to use fs bindings 2020-03-09 03:10:12 -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
ro Implement the NCM sysmodule (closes #91) 2020-03-08 00:06:23 -08:00
settings pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
sf pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
sm NCM client implementation (#858) 2020-04-03 22:40:46 -07:00
spl pm: Update to support 10.0.0 2020-04-14 02:54:55 -07:00
svc ams: fix boot sysmodule/kernel for 10.0.0 2020-04-14 10:11:58 -07:00
time erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
updater updater: improve api 2020-03-30 20:39:56 -07:00
util ams: finish stdio -> fs bindings for stratosphere 2020-03-09 03:58:02 -07:00
ams.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
boot2.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
cfg.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
dd.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
dmnt.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
erpt.hpp erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
fatal.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
fs.hpp fs: add MountImageDirectory 2020-03-27 16:59:27 -07:00
fssrv.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
fssystem.hpp loader: update for 10.0.0 2020-04-14 02:45:28 -07:00
hid.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
hos.hpp hos: change initialization API 2020-04-16 22:57:01 -07:00
kvdb.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ldr.hpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
lmem.hpp lmem: Implement UnitHeap, ExpHeap (#823) 2020-02-24 19:44:27 -08:00
lr.hpp Implement the NCM sysmodule (closes #91) 2020-03-08 00:06:23 -08:00
map.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
mem.hpp mem: implement most of StandardAllocator (#860) 2020-03-29 14:43:16 -07:00
ncm.hpp ncm: update to 10.0.0 (#879) 2020-04-14 10:11:51 -07:00
nim.hpp nim: add DestroySystemUpdateTask/ListSystemUpdateTask (#863) 2020-03-31 12:50:55 -07:00
os.hpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
patcher.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
pgl.hpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
pm.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
psc.hpp erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
reg.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
ro.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
settings.hpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
sf.hpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 19:55:47 -07:00
sm.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
spl.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
time.hpp erpt: reimplement the sysmodule (#875) 2020-04-13 17:07:37 -07:00
updater.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
util.hpp util: add uuid 2020-02-24 20:14:48 -08:00