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:
@@ -21,7 +21,7 @@
|
||||
#include "creport_crash_report.hpp"
|
||||
#include "creport_utils.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
namespace {
|
||||
|
||||
@@ -116,8 +116,8 @@ namespace sts::creport {
|
||||
}
|
||||
|
||||
void CrashReport::GetFatalContext(FatalContext *_out) const {
|
||||
static_assert(sizeof(*_out) == sizeof(sts::fatal::CpuContext));
|
||||
sts::fatal::CpuContext *out = reinterpret_cast<sts::fatal::CpuContext *>(_out);
|
||||
static_assert(sizeof(*_out) == sizeof(ams::fatal::CpuContext));
|
||||
ams::fatal::CpuContext *out = reinterpret_cast<ams::fatal::CpuContext *>(_out);
|
||||
std::memset(out, 0, sizeof(*out));
|
||||
|
||||
/* TODO: Support generating 32-bit fatal contexts? */
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include "creport_threads.hpp"
|
||||
#include "creport_modules.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
class CrashReport {
|
||||
private:
|
||||
|
||||
@@ -46,19 +46,19 @@ extern "C" {
|
||||
void __libnx_exception_handler(ThreadExceptionDump *ctx);
|
||||
}
|
||||
|
||||
namespace sts::ams {
|
||||
namespace ams {
|
||||
|
||||
ncm::TitleId StratosphereTitleId = ncm::TitleId::Creport;
|
||||
ncm::TitleId CurrentTitleId = ncm::TitleId::Creport;
|
||||
|
||||
namespace result {
|
||||
|
||||
bool CallFatalOnResultAssertion = true;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
namespace sts::result {
|
||||
|
||||
bool CallFatalOnResultAssertion = true;
|
||||
|
||||
}
|
||||
|
||||
using namespace sts;
|
||||
using namespace ams;
|
||||
|
||||
void __libnx_exception_handler(ThreadExceptionDump *ctx) {
|
||||
ams::CrashHandler(ctx);
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "creport_modules.hpp"
|
||||
#include "creport_utils.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <stratosphere.hpp>
|
||||
#include "creport_threads.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
class ModuleList {
|
||||
private:
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
#include "creport_threads.hpp"
|
||||
#include "creport_modules.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
#include <stratosphere.hpp>
|
||||
#include <map>
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
/* Forward declare ModuleList class. */
|
||||
class ModuleList;
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "creport_utils.hpp"
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
namespace {
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
#include <switch.h>
|
||||
#include <stratosphere.hpp>
|
||||
|
||||
namespace sts::creport {
|
||||
namespace ams::creport {
|
||||
|
||||
/* Utility functions. */
|
||||
void DumpMemoryHexToFile(FILE *f, const char *prefix, const void *data, size_t size);
|
||||
|
||||
Reference in New Issue
Block a user