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
2019-10-24 02:30:10 -07:00
committed by SciresM
parent 4059dc6187
commit 8cb77ac136
397 changed files with 968 additions and 926 deletions

View File

@@ -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) { /* ... */ }
}