summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/ns_s.cpp
blob: 072918d622f0efe807d5dbd609caabd861211575 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// 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[] = {
    {0x000100C0, nullptr,                      "LaunchFIRM"},
    {0x000200C0, nullptr,                      "LaunchTitle"},
    {0x00030000, nullptr,                      "TerminateApplication"},
    {0x00040040, nullptr,                      "TerminateProcess"},
    {0x000500C0, nullptr,                      "LaunchApplicationFIRM"},
    {0x00060042, nullptr,                      "SetFIRMParams4A0"},
    {0x00070042, nullptr,                      "CardUpdateInitialize"},
    {0x00080000, nullptr,                      "CardUpdateShutdown"},
    {0x000D0140, nullptr,                      "SetTWLBannerHMAC"},
    {0x000E0000, nullptr,                      "ShutdownAsync"},
    {0x00100180, nullptr,                      "RebootSystem"},
    {0x00110100, nullptr,                      "TerminateTitle"},
    {0x001200C0, nullptr,                      "SetApplicationCpuTimeLimit"},
    {0x00150140, nullptr,                      "LaunchApplication"},
    {0x00160000, nullptr,                      "RebootSystemClean"},
};

////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class

Interface::Interface() {
    Register(FunctionTable);
}

} // namespace