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

@@ -19,7 +19,7 @@
#include "gpio_initial_configuration.hpp"
#include "gpio_utils.hpp"
namespace sts::gpio {
namespace ams::gpio {
namespace {
@@ -70,7 +70,7 @@ namespace sts::gpio {
num_configs = NumInitialConfigsIowa;
break;
/* Unknown hardware type, we can't proceed. */
STS_UNREACHABLE_DEFAULT_CASE();
AMS_UNREACHABLE_DEFAULT_CASE();
}
} else {
/* Until 2.0.0, the GPIO map for Icosa was used for all hardware types. */
@@ -79,7 +79,7 @@ namespace sts::gpio {
}
/* Ensure we found an appropriate config. */
STS_ASSERT(configs != nullptr);
AMS_ASSERT(configs != nullptr);
for (size_t i = 0; i < num_configs; i++) {
/* Configure the GPIO. */
@@ -18,7 +18,7 @@
#include <switch.h>
#include <stratosphere.hpp>
namespace sts::gpio {
namespace ams::gpio {
void SetInitialConfiguration();
+2 -2
View File
@@ -18,7 +18,7 @@
#include "gpio_utils.hpp"
namespace sts::gpio {
namespace ams::gpio {
namespace {
@@ -33,7 +33,7 @@ namespace sts::gpio {
/* Helpers. */
inline u32 GetPadDescriptor(u32 gpio_pad_name) {
STS_ASSERT(gpio_pad_name < PadNameMax);
AMS_ASSERT(gpio_pad_name < PadNameMax);
return Map[gpio_pad_name];
}
+1 -1
View File
@@ -18,7 +18,7 @@
#include <switch.h>
#include <stratosphere.hpp>
namespace sts::gpio {
namespace ams::gpio {
/* GPIO Utilities. */
u32 Configure(u32 gpio_pad_name);