1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-23 20:32:10 +00:00
Atmosphere/libraries/libstratosphere/source/os/impl
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
..
os_inter_process_event.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_inter_process_event.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_inter_process_event_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_inter_process_event_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_inter_process_event_impl.os.horizon.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_internal_condition_variable_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_internal_critical_section_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_interrupt_event_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_interrupt_event_target_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_interrupt_event_target_impl.os.horizon.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_memory_permission_impl.hpp mem: implement most of StandardAllocator (#860) 2020-03-29 14:43:16 -07:00
os_memory_permission_impl.os.horizon.cpp mem: implement most of StandardAllocator (#860) 2020-03-29 14:43:16 -07:00
os_mutex_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_random_impl.hpp
os_random_impl.os.horizon.cpp ams: revamp assertion system 2020-02-22 23:05:14 -08:00
os_resource_manager.cpp hos: change initialization API 2020-04-16 22:57:01 -07:00
os_resource_manager.hpp hos: change initialization API 2020-04-16 22:57:01 -07:00
os_rng_manager.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_rng_manager_impl.cpp os: add rngmanager 2020-03-16 13:08:20 -07:00
os_rng_manager_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_rng_manager_impl.os.horizon.cpp os: add rngmanager 2020-03-16 13:08:20 -07:00
os_thread_manager.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_thread_manager.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_thread_manager_impl.os.horizon.cpp hos::Version: rename enum members 2020-04-13 22:19:44 -07:00
os_thread_manager_impl.os.horizon.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_thread_manager_types.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_tick_manager.hpp os: implement Tick api, make build with -Werror 2020-03-16 01:02:55 -07:00
os_tick_manager_impl.cpp os: implement Tick api, make build with -Werror 2020-03-16 01:02:55 -07:00
os_tick_manager_impl.hpp os: implement Tick api, make build with -Werror 2020-03-16 01:02:55 -07:00
os_tick_manager_impl.os.horizon.hpp Add architecture-specific guard for get tick 2020-03-16 01:05:30 -07:00
os_timeout_helper.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_timeout_helper.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_timeout_helper_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_timeout_helper_impl.os.horizon.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_base.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_event.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_handle.hpp
os_waitable_holder_of_inter_process_event.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_interrupt_event.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_interrupt_event.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_message_queue.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_semaphore.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_holder_of_thread.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_manager_impl.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_manager_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_manager_target_impl.os.horizon.cpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_manager_target_impl.os.horizon.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_waitable_object_list.hpp