1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-24 12:52:07 +00:00
Atmosphere/libraries/libstratosphere/source/os/impl
Michael Scire 15ff64e03a os: implement ExpandUnsignedValueToAscii
Nintendo does this as of latest firmware.

It's desirable because it removes the only usage of util::SNPrintf() from os library,
which means programs which don't otherwise use SNPrintf do not need to link it into .text.

This saves ~0xD40 of .text as of time-of-commit when successfully unlinking, and e.g.
reduces our sm (and other modules) memory size by a page.
2021-09-29 13:42:11 -07:00
..
os_address_space_allocator.cpp os: do not use deprecated libnx ::virtmemReserve api 2020-11-20 17:48:58 -08:00
os_address_space_allocator_impl.os.horizon.hpp os: do not use deprecated libnx ::virtmemReserve api 2020-11-20 17:48:58 -08:00
os_address_space_allocator_types.hpp os: do not use deprecated libnx ::virtmemReserve api 2020-11-20 17:48:58 -08:00
os_aslr_space_manager.hpp os: do not use deprecated libnx ::virtmemReserve api 2020-11-20 17:48:58 -08:00
os_aslr_space_manager_impl.os.horizon.hpp ams-1.0.0: meso no longer optional, remove conditional logic 2021-09-06 16:26:50 -07:00
os_aslr_space_manager_types.hpp os: do not use deprecated libnx ::virtmemReserve api 2020-11-20 17:48:58 -08:00
os_inter_process_event.cpp ams: prefer construct_at/destroy_at over placement new/explicit destructor 2021-03-21 20:30:40 -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_busy_mutex_impl.os.horizon.hpp os: implement BusyMutex 2021-09-28 14:53:55 -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: use ported libnx mutex impl 2020-05-17 23:20:21 -07:00
os_internal_light_event_impl.os.horizon.hpp os: tweak LightEvent codegen 2021-09-28 19:11:52 -07:00
os_internal_rw_busy_mutex_impl.os.horizon.hpp os: implement ReadWriteBusyMutex 2021-09-28 17:01:11 -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_message_queue_helper.hpp os: refactor MessageQueue to use new MessageQueueHelper template 2021-09-29 12:24:18 -07:00
os_mutex_impl.hpp os: refactor/rewrite entire namespace. 2020-04-08 02:21:35 -07:00
os_random_impl.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
os_random_impl.os.horizon.cpp ams: revamp assertion system 2020-02-22 23:05:14 -08:00
os_resource_manager.cpp ams: remove TYPED_STORAGE() macro in favor of template 2021-03-21 18:47:30 -07:00
os_resource_manager.hpp ams: prefer construct_at/destroy_at over placement new/explicit destructor 2021-03-21 20:30:40 -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 sm: update to excise unnecessary library code 2021-05-02 10:33:15 -07:00
os_rng_manager_impl.os.horizon.cpp os: add rngmanager 2020-03-16 13:08:20 -07:00
os_rw_lock_impl.hpp os: implement ReadWriteLock 2020-04-21 20:23:50 -07:00
os_rw_lock_target_impl.os.horizon.cpp os: bug fixes after re-review of rwlock code 2020-04-21 22:40:45 -07:00
os_rw_lock_target_impl.os.horizon.hpp os: implement ReadWriteLock 2020-04-21 20:23:50 -07:00
os_thread_manager.cpp os: implement ExpandUnsignedValueToAscii 2021-09-29 13:42:11 -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 ReadWriteLock 2020-04-21 20:23:50 -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 ReadWriteLock 2020-04-21 20:23:50 -07:00
os_tick_manager_impl.os.horizon.hpp os: implement ReadWriteLock 2020-04-21 20:23:50 -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_timer_event_helper.cpp os: oh geez look at the time 2020-04-29 00:41:51 -07:00
os_timer_event_helper.hpp os: oh geez look at the time 2020-04-29 00:41:51 -07:00
os_transfer_memory_impl.hpp sysupdater: implement (untested) rest of the api 2020-06-28 01:46:51 -07:00
os_transfer_memory_impl.os.horizon.cpp sysupdater: implement (untested) rest of the api 2020-06-28 01:46:51 -07:00
os_utility.cpp os: implement ExpandUnsignedValueToAscii 2021-09-29 13:42:11 -07:00
os_utility.hpp os: implement ExpandUnsignedValueToAscii 2021-09-29 13:42:11 -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 ams: remove TYPED_STORAGE() macro in favor of template 2021-03-21 18:47:30 -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 find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00
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_holder_of_timer_event.hpp os: oh geez look at the time 2020-04-29 00:41:51 -07:00
os_waitable_manager_impl.cpp os: fix missing logic in SdkReplyAndReceive 2021-01-12 18:23:28 -08:00
os_waitable_manager_impl.hpp os: implement 11.x SdkReplyAndReceive 2021-01-12 18:18:39 -08:00
os_waitable_manager_target_impl.os.horizon.cpp tipc/sm: various fixes for issues 2021-04-11 03:42:16 -07:00
os_waitable_manager_target_impl.os.horizon.hpp os: implement 11.x SdkReplyAndReceive 2021-01-12 18:18:39 -08:00
os_waitable_object_list.hpp find -exec sed -i'' -e 's/2018-2019 Atmo/2018-2020 Atmo/g' {} + 2020-01-24 02:10:40 -08:00