mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2024-11-27 14:22:17 +00:00
94ec9ae41b
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. |
||
---|---|---|
.. | ||
os_inter_process_event.cpp | ||
os_inter_process_event.hpp | ||
os_inter_process_event_impl.hpp | ||
os_inter_process_event_impl.os.horizon.cpp | ||
os_inter_process_event_impl.os.horizon.hpp | ||
os_internal_condition_variable_impl.os.horizon.cpp | ||
os_internal_critical_section_impl.os.horizon.cpp | ||
os_interrupt_event_impl.hpp | ||
os_interrupt_event_target_impl.os.horizon.cpp | ||
os_interrupt_event_target_impl.os.horizon.hpp | ||
os_memory_permission_impl.hpp | ||
os_memory_permission_impl.os.horizon.cpp | ||
os_mutex_impl.hpp | ||
os_random_impl.hpp | ||
os_random_impl.os.horizon.cpp | ||
os_resource_manager.cpp | ||
os_resource_manager.hpp | ||
os_rng_manager.hpp | ||
os_rng_manager_impl.cpp | ||
os_rng_manager_impl.hpp | ||
os_rng_manager_impl.os.horizon.cpp | ||
os_thread_manager.cpp | ||
os_thread_manager.hpp | ||
os_thread_manager_impl.os.horizon.cpp | ||
os_thread_manager_impl.os.horizon.hpp | ||
os_thread_manager_types.hpp | ||
os_tick_manager.hpp | ||
os_tick_manager_impl.cpp | ||
os_tick_manager_impl.hpp | ||
os_tick_manager_impl.os.horizon.hpp | ||
os_timeout_helper.cpp | ||
os_timeout_helper.hpp | ||
os_timeout_helper_impl.os.horizon.cpp | ||
os_timeout_helper_impl.os.horizon.hpp | ||
os_waitable_holder_base.hpp | ||
os_waitable_holder_impl.hpp | ||
os_waitable_holder_of_event.hpp | ||
os_waitable_holder_of_handle.hpp | ||
os_waitable_holder_of_inter_process_event.hpp | ||
os_waitable_holder_of_interrupt_event.cpp | ||
os_waitable_holder_of_interrupt_event.hpp | ||
os_waitable_holder_of_message_queue.hpp | ||
os_waitable_holder_of_semaphore.hpp | ||
os_waitable_holder_of_thread.hpp | ||
os_waitable_manager_impl.cpp | ||
os_waitable_manager_impl.hpp | ||
os_waitable_manager_target_impl.os.horizon.cpp | ||
os_waitable_manager_target_impl.os.horizon.hpp | ||
os_waitable_object_list.hpp |