os: implement waitable management.
This implements waitable management for Events (and
implements Events). It also refactors PM to use new
Event/Waitable semantics, and also adds STS_ASSERT
as a macro for asserting a boolean expression. The
rest of stratosphere has been refactored to use
STS_ASSERT whenever possible.
1 parent e07011b commit 609a302e162fd33e34f47b2de12a37482349895e
@Michael Scire Michael Scire authored on 28 Sep 2019
SciresM committed on 7 Dec 2019
Showing 108 changed files
View
stratosphere/ams_mitm/source/fs_mitm/fs_dir_utils.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/fs_mitm/fs_directory_redirection_filesystem.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/fs_mitm/fs_path_utils.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/fs_mitm/fs_subdirectory_filesystem.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/fs_mitm/fsmitm_layeredrom.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/fs_mitm/fsmitm_romfsbuild.cpp
Too large (Show diff)
View
stratosphere/ams_mitm/source/set_mitm/setsys_firmware_version.cpp
Too large (Show diff)
View
stratosphere/boot/source/boot_boot_reason.cpp
Too large (Show diff)
View
stratosphere/boot/source/boot_bq24193_charger.hpp
Too large (Show diff)
View
stratosphere/boot/source/boot_calibration.cpp
Too large (Show diff)
View
stratosphere/boot/source/boot_display.cpp
Too large (Show diff)
View
stratosphere/boot/source/boot_i2c_utils.cpp
Too large (Show diff)
View
stratosphere/boot/source/boot_pmc_wrapper.cpp
Too large (Show diff)
View
stratosphere/boot/source/gpio/gpio_initial_configuration.cpp
Too large (Show diff)
View
stratosphere/boot/source/gpio/gpio_utils.cpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/i2c_api.cpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/impl/i2c_bus_accessor.cpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/impl/i2c_bus_accessor.hpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/impl/i2c_device_config.cpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/impl/i2c_driver_types.hpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/driver/impl/i2c_resource_manager.cpp
Too large (Show diff)
View
stratosphere/boot/source/i2c/i2c_command_list.hpp
Too large (Show diff)
View
stratosphere/boot/source/pinmux/pinmux_initial_configuration.cpp
Too large (Show diff)
View
stratosphere/boot/source/pinmux/pinmux_utils.cpp
Too large (Show diff)
View
stratosphere/dmnt/source/cheat/impl/dmnt_cheat_api.cpp
Too large (Show diff)
View
stratosphere/fatal/source/fatal_config.cpp
Too large (Show diff)
View
stratosphere/fatal/source/fatal_config.hpp
Too large (Show diff)
View
stratosphere/fatal/source/fatal_debug.cpp
Too large (Show diff)
View
stratosphere/fatal/source/fatal_main.cpp
Too large (Show diff)
View
stratosphere/fatal/source/fatal_task.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/Makefile
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/auto_handle.hpp 100644 → 0
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/defines.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/event.hpp 100644 → 0
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/kvdb/kvdb_auto_buffer.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/kvdb/kvdb_bounded_string.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/kvdb/kvdb_file_key_value_cache.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/kvdb/kvdb_file_key_value_store.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/kvdb/kvdb_memory_key_value_store.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_common_types.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_event.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_interrupt_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_managed_handle.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_message_queue.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_system_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_thread.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_waitable_holder.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/os/os_waitable_manager.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/results.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/results/os_results.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/results/utilities.h
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/ro/ro_types.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/scope_guard.hpp 100644 → 0
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/sm/sm_types.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/svc/svc_types.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util/util_alignment.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util/util_intrusive_list.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util/util_scope_guard.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util/util_size.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/util/util_typed_storage.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/include/stratosphere/waitable_manager.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/emummc_utilities.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/firmware_version.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/kvdb/kvdb_archive.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/kvdb/kvdb_file_key_value_store.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_inter_process_event.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_inter_process_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_base.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_impl.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_handle.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_inter_process_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_interrupt_event.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_message_queue.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_holder_of_thread.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_manager_impl.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_manager_impl.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/impl/os_waitable_object_list.hpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_event.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_interrupt_event.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_message_queue.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_system_event.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_waitable_holder.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/os/os_waitable_manager.cpp 0 → 100644
Too large (Show diff)
View
stratosphere/libstratosphere/source/patcher/patcher_api.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/updater/updater_api.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/updater/updater_bis_management.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/updater/updater_bis_management.hpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/updater/updater_bis_save.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/updater/updater_paths.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/util/util_compression.cpp
Too large (Show diff)
View
stratosphere/libstratosphere/source/util/util_ini.cpp
Too large (Show diff)
View
stratosphere/loader/source/ldr_content_management.cpp
Too large (Show diff)
View
stratosphere/loader/source/ldr_ecs.cpp
Too large (Show diff)
View
stratosphere/loader/source/ldr_loader_service.cpp
Too large (Show diff)
View
stratosphere/loader/source/ldr_process_creation.cpp
Too large (Show diff)
View
stratosphere/pm/source/boot2/boot2_api.cpp
Too large (Show diff)
View
stratosphere/pm/source/impl/pm_process_info.cpp
Too large (Show diff)
View
stratosphere/pm/source/impl/pm_process_info.hpp
Too large (Show diff)
View
stratosphere/pm/source/impl/pm_process_manager.cpp
Too large (Show diff)
View
stratosphere/pm/source/impl/pm_resource_manager.cpp
Too large (Show diff)
View
stratosphere/pm/source/pm_main.cpp
Too large (Show diff)
View
stratosphere/ro/source/impl/ro_service_impl.cpp
Too large (Show diff)
View
stratosphere/sm/source/impl/sm_service_manager.cpp
Too large (Show diff)
View
stratosphere/spl/source/spl_api_impl.cpp
Too large (Show diff)