2015-01-14 04:56:00 +00:00
|
|
|
// Copyright 2015 Citra Emulator Project
|
|
|
|
// Licensed under GPLv2 or any later version
|
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#include "core/hle/service/ns_s.h"
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Namespace NS_S
|
|
|
|
|
|
|
|
namespace NS_S {
|
|
|
|
|
|
|
|
const Interface::FunctionInfo FunctionTable[] = {
|
2015-12-30 14:30:57 +00:00
|
|
|
{0x000100C0, nullptr, "LaunchFIRM"},
|
2015-01-14 04:56:00 +00:00
|
|
|
{0x000200C0, nullptr, "LaunchTitle"},
|
2016-02-02 02:37:10 +00:00
|
|
|
{0x00030000, nullptr, "TerminateApplication"},
|
|
|
|
{0x00040040, nullptr, "TerminateProcess"},
|
2015-12-30 14:30:57 +00:00
|
|
|
{0x000500C0, nullptr, "LaunchApplicationFIRM"},
|
|
|
|
{0x00060042, nullptr, "SetFIRMParams4A0"},
|
|
|
|
{0x00070042, nullptr, "CardUpdateInitialize"},
|
2016-02-02 02:37:10 +00:00
|
|
|
{0x00080000, nullptr, "CardUpdateShutdown"},
|
|
|
|
{0x000D0140, nullptr, "SetTWLBannerHMAC"},
|
2015-12-30 14:30:57 +00:00
|
|
|
{0x000E0000, nullptr, "ShutdownAsync"},
|
|
|
|
{0x00100180, nullptr, "RebootSystem"},
|
2016-02-02 02:37:10 +00:00
|
|
|
{0x00110100, nullptr, "TerminateTitle"},
|
|
|
|
{0x001200C0, nullptr, "SetApplicationCpuTimeLimit"},
|
2015-12-30 14:30:57 +00:00
|
|
|
{0x00150140, nullptr, "LaunchApplication"},
|
2016-02-02 02:37:10 +00:00
|
|
|
{0x00160000, nullptr, "RebootSystemClean"},
|
2015-01-14 04:56:00 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Interface class
|
|
|
|
|
|
|
|
Interface::Interface() {
|
2015-01-30 18:56:49 +00:00
|
|
|
Register(FunctionTable);
|
2015-01-14 04:56:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace
|