Atmosphere-libs/libstratosphere/source/os
Michael Scire 5a52014d1c 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-24 17:29:08 -07:00
..
impl hos: change initialization API 2020-04-24 17:29:08 -07:00
os_condition_variable.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_event.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_interrupt_event.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_memory_heap.cpp mem: implement most of StandardAllocator (#860) 2020-03-30 20:41:21 -07:00
os_memory_permission.cpp mem: implement most of StandardAllocator (#860) 2020-03-30 20:41:21 -07:00
os_message_queue.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_mutex.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_process_handle.cpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-03-02 19:50:40 -08:00
os_random.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_sdk_mutex.cpp pgl: Reimplement the pgl sysmodule (#896) 2020-04-16 20:05:56 -07:00
os_semaphore.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_stratosphere_api.cpp hos: change initialization API 2020-04-24 17:29:08 -07:00
os_system_event.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_thread_local_storage_api.cpp mem: implement most of StandardAllocator (#860) 2020-03-30 20:41:21 -07:00
os_thread.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00
os_tick.cpp os: implement Tick api, make build with -Werror 2020-03-18 00:15:01 -07:00
os_virtual_address_memory.cpp mem: implement most of StandardAllocator (#860) 2020-03-30 20:41:21 -07:00
os_waitable.cpp os: refactor/rewrite entire namespace. 2020-04-15 11:54:59 -07:00