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.
1 parent 1e7a327 commit 15ff64e03a377e132ec5e4d62ceca6e6b2b4eb73
@Michael Scire Michael Scire authored on 29 Sep 2021
Showing 3 changed files
View
libraries/libstratosphere/source/os/impl/os_thread_manager.cpp
View
libraries/libstratosphere/source/os/impl/os_utility.cpp 0 → 100644
View
libraries/libstratosphere/source/os/impl/os_utility.hpp 0 → 100644