mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 21:24:11 -04:00
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:
parent
4059dc6187
commit
8cb77ac136
397 changed files with 968 additions and 926 deletions
|
@ -21,7 +21,7 @@
|
|||
#include <stratosphere/pm.hpp>
|
||||
#include <stratosphere/boot2.hpp>
|
||||
|
||||
namespace sts::boot2 {
|
||||
namespace ams::boot2 {
|
||||
|
||||
namespace {
|
||||
|
||||
|
@ -145,9 +145,9 @@ namespace sts::boot2 {
|
|||
/* Launch, lightly validate result. */
|
||||
{
|
||||
const auto launch_result = pm::shell::LaunchTitle(&process_id, loc, launch_flags);
|
||||
STS_ASSERT(!(svc::ResultOutOfResource::Includes(launch_result)));
|
||||
STS_ASSERT(!(svc::ResultOutOfMemory::Includes(launch_result)));
|
||||
STS_ASSERT(!(svc::ResultLimitReached::Includes(launch_result)));
|
||||
AMS_ASSERT(!(svc::ResultOutOfResource::Includes(launch_result)));
|
||||
AMS_ASSERT(!(svc::ResultOutOfMemory::Includes(launch_result)));
|
||||
AMS_ASSERT(!(svc::ResultLimitReached::Includes(launch_result)));
|
||||
}
|
||||
|
||||
if (out_process_id) {
|
||||
|
@ -271,7 +271,7 @@ namespace sts::boot2 {
|
|||
}
|
||||
|
||||
/* Don't allow invalid lines. */
|
||||
STS_ASSERT(name_len <= sizeof(sm::ServiceName));
|
||||
AMS_ASSERT(name_len <= sizeof(sm::ServiceName));
|
||||
|
||||
/* Declare the service. */
|
||||
R_ASSERT(sm::mitm::DeclareFutureMitm(sm::ServiceName::Encode(mitm_list + offset, name_len)));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue