namespace sts -> namespace ams

namespace sts::ams -> ams::exosphere, ams::.

This is to facilitate future use of ams:: namespace code in
mesosphere, as we'll want to include ams::util, ams::result, ams::svc...
This commit is contained in:
Michael Scire authored and SciresM committed 2019-12-07 12:41:28 -08:00
1 parent 4059dc6187
commit 8cb77ac136
397 files changed
+968 -926

No files matched your search

@@ -16,21 +16,21 @@
#include <stratosphere.hpp>
namespace sts::result {
namespace ams::result {
extern bool CallFatalOnResultAssertion;
}
namespace sts::result::impl {
namespace ams::result::impl {
NORETURN WEAK void OnResultAssertion(Result result) {
/* Assert that we should call fatal on result assertion. */
/* If we shouldn't fatal, this will std::abort(); */
/* If we should, we'll continue onwards. */
STS_ASSERT((sts::result::CallFatalOnResultAssertion));
AMS_ASSERT((ams::result::CallFatalOnResultAssertion));
/* TODO: sts::fatal:: */
/* TODO: ams::fatal:: */
fatalSimple(result.GetValue());
while (true) { /* ... */ }
}