os: refactor/rewrite entire namespace.

This commit is contained in:
Michael Scire 2020-04-08 02:21:35 -07:00
parent 6193283f03
commit 065485b971
181 changed files with 5353 additions and 1929 deletions

View file

@ -19,7 +19,7 @@ namespace ams::ldr {
namespace {
os::Mutex g_scoped_code_mount_lock;
os::Mutex g_scoped_code_mount_lock(false);
}

View file

@ -29,7 +29,7 @@ namespace ams::ldr {
constexpr const char * const LoaderSdMountName = "#amsldr-sdpatch";
static_assert(sizeof(LoaderSdMountName) <= fs::MountNameLengthMax);
os::Mutex g_ldr_sd_lock;
os::Mutex g_ldr_sd_lock(false);
bool g_mounted_sd;
bool EnsureSdCardMounted() {