Browse Source
Merge pull request #330 from purpasmart96/new_srv
Merge pull request #330 from purpasmart96/new_srv
More services & small clean upspull/15/merge
61 changed files with 367 additions and 309 deletions
-
16src/core/CMakeLists.txt
-
3src/core/hle/service/ac_u.cpp
-
6src/core/hle/service/ac_u.h
-
24src/core/hle/service/act_u.cpp
-
23src/core/hle/service/act_u.h
-
4src/core/hle/service/am_app.h
-
3src/core/hle/service/am_net.cpp
-
6src/core/hle/service/am_net.h
-
34src/core/hle/service/apt_a.cpp
-
23src/core/hle/service/apt_a.h
-
3src/core/hle/service/apt_u.cpp
-
7src/core/hle/service/apt_u.h
-
19src/core/hle/service/boss_u.cpp
-
20src/core/hle/service/boss_u.h
-
4src/core/hle/service/cecd_u.h
-
69src/core/hle/service/cfg/cfg_i.cpp
-
6src/core/hle/service/cfg/cfg_i.h
-
4src/core/hle/service/cfg/cfg_u.cpp
-
6src/core/hle/service/cfg/cfg_u.h
-
3src/core/hle/service/csnd_snd.cpp
-
6src/core/hle/service/csnd_snd.h
-
3src/core/hle/service/dsp_dsp.cpp
-
6src/core/hle/service/dsp_dsp.h
-
18src/core/hle/service/err_f.cpp
-
20src/core/hle/service/err_f.h
-
34src/core/hle/service/frd_u.cpp
-
20src/core/hle/service/frd_u.h
-
3src/core/hle/service/fs/fs_user.cpp
-
7src/core/hle/service/fs/fs_user.h
-
3src/core/hle/service/gsp_gpu.cpp
-
8src/core/hle/service/gsp_gpu.h
-
4src/core/hle/service/hid_user.cpp
-
8src/core/hle/service/hid_user.h
-
64src/core/hle/service/http_c.cpp
-
23src/core/hle/service/http_c.h
-
3src/core/hle/service/ir_rst.cpp
-
6src/core/hle/service/ir_rst.h
-
3src/core/hle/service/ir_u.cpp
-
6src/core/hle/service/ir_u.h
-
1src/core/hle/service/ldr_ro.cpp
-
4src/core/hle/service/ldr_ro.h
-
3src/core/hle/service/mic_u.cpp
-
6src/core/hle/service/mic_u.h
-
3src/core/hle/service/ndm_u.cpp
-
8src/core/hle/service/ndm_u.h
-
25src/core/hle/service/news_u.cpp
-
23src/core/hle/service/news_u.h
-
4src/core/hle/service/nim_aoc.h
-
3src/core/hle/service/nwm_uds.cpp
-
6src/core/hle/service/nwm_uds.h
-
3src/core/hle/service/pm_app.cpp
-
6src/core/hle/service/pm_app.h
-
3src/core/hle/service/ptm_u.cpp
-
6src/core/hle/service/ptm_u.h
-
12src/core/hle/service/service.cpp
-
3src/core/hle/service/soc_u.cpp
-
6src/core/hle/service/soc_u.h
-
3src/core/hle/service/srv.cpp
-
9src/core/hle/service/srv.h
-
3src/core/hle/service/ssl_c.cpp
-
8src/core/hle/service/ssl_c.h
@ -0,0 +1,24 @@ |
|||
// Copyright 2014 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/act_u.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace ACT_U
|
|||
|
|||
namespace ACT_U { |
|||
|
|||
// Empty arrays are illegal -- commented out until an entry is added.
|
|||
//const Interface::FunctionInfo FunctionTable[] = { };
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
//Register(FunctionTable, ARRAY_SIZE(FunctionTable));
|
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2014 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace ACT_U |
|||
|
|||
namespace ACT_U { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "act:u"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,34 @@ |
|||
// Copyright 2014 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/apt_a.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace APT_A
|
|||
|
|||
namespace APT_A { |
|||
|
|||
const Interface::FunctionInfo FunctionTable[] = { |
|||
{0x00010040, nullptr, "GetLockHandle?"}, |
|||
{0x00020080, nullptr, "Initialize?"}, |
|||
{0x00030040, nullptr, "Enable?"}, |
|||
{0x00040040, nullptr, "Finalize?"}, |
|||
{0x00050040, nullptr, "GetAppletManInfo?"}, |
|||
{0x00060040, nullptr, "GetAppletInfo?"}, |
|||
{0x003B0040, nullptr, "CancelLibraryApplet?"}, |
|||
{0x00430040, nullptr, "NotifyToWait?"}, |
|||
{0x004B00C2, nullptr, "AppletUtility?"}, |
|||
{0x00550040, nullptr, "WriteInputToNsState?"}, |
|||
}; |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2014 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace APT_A |
|||
|
|||
namespace APT_A { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "APT:A"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,64 @@ |
|||
// Copyright 2014 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/http_c.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace HTTP_C
|
|||
|
|||
namespace HTTP_C { |
|||
|
|||
const Interface::FunctionInfo FunctionTable[] = { |
|||
{0x00010044, nullptr, "Initialize"}, |
|||
{0x00020082, nullptr, "CreateContext"}, |
|||
{0x00030040, nullptr, "CloseContext"}, |
|||
{0x00040040, nullptr, "CancelConnection"}, |
|||
{0x00050040, nullptr, "GetRequestState"}, |
|||
{0x00060040, nullptr, "GetDownloadSizeState"}, |
|||
{0x00070040, nullptr, "GetRequestError"}, |
|||
{0x00080042, nullptr, "InitializeConnectionSession"}, |
|||
{0x00090040, nullptr, "BeginRequest"}, |
|||
{0x000A0040, nullptr, "BeginRequestAsync"}, |
|||
{0x000B0082, nullptr, "ReceiveData"}, |
|||
{0x000C0102, nullptr, "ReceiveDataTimeout"}, |
|||
{0x000D0146, nullptr, "SetProxy"}, |
|||
{0x000E0040, nullptr, "SetProxyDefault"}, |
|||
{0x000F00C4, nullptr, "SetBasicAuthorization"}, |
|||
{0x00100080, nullptr, "SetSocketBufferSize"}, |
|||
{0x001100C4, nullptr, "AddRequestHeader"}, |
|||
{0x001200C4, nullptr, "AddPostDataAscii"}, |
|||
{0x001300C4, nullptr, "AddPostDataBinary"}, |
|||
{0x00140082, nullptr, "AddPostDataRaw"}, |
|||
{0x00150080, nullptr, "SetPostDataType"}, |
|||
{0x001600C4, nullptr, "SendPostDataAscii"}, |
|||
{0x00170144, nullptr, "SendPostDataAsciiTimeout"}, |
|||
{0x001800C4, nullptr, "SendPostDataBinary"}, |
|||
{0x00190144, nullptr, "SendPostDataBinaryTimeout"}, |
|||
{0x001A0082, nullptr, "SendPostDataRaw"}, |
|||
{0x001B0102, nullptr, "SendPOSTDataRawTimeout"}, |
|||
{0x001C0080, nullptr, "SetPostDataEncoding"}, |
|||
{0x001D0040, nullptr, "NotifyFinishSendPostData"}, |
|||
{0x001E00C4, nullptr, "GetResponseHeader"}, |
|||
{0x001F0144, nullptr, "GetResponseHeaderTimeout"}, |
|||
{0x00200082, nullptr, "GetResponseData"}, |
|||
{0x00210102, nullptr, "GetResponseDataTimeout"}, |
|||
{0x00220040, nullptr, "GetResponseStatusCode"}, |
|||
{0x002300C0, nullptr, "GetResponseStatusCodeTimeout"}, |
|||
{0x00240082, nullptr, "AddTrustedRootCA"}, |
|||
{0x00350186, nullptr, "SetDefaultProxy"}, |
|||
{0x00360000, nullptr, "ClearDNSCache"}, |
|||
{0x00370080, nullptr, "SetKeepAlive"}, |
|||
{0x003800C0, nullptr, "Finalize"}, |
|||
}; |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2014 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace HTTP_C |
|||
|
|||
namespace HTTP_C { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "http:C"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
@ -0,0 +1,25 @@ |
|||
// Copyright 2014 Citra Emulator Project
|
|||
// Licensed under GPLv2 or any later version
|
|||
// Refer to the license.txt file included.
|
|||
|
|||
#include "common/log.h"
|
|||
#include "core/hle/hle.h"
|
|||
#include "core/hle/service/news_u.h"
|
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Namespace NEWS_U
|
|||
|
|||
namespace NEWS_U { |
|||
|
|||
const Interface::FunctionInfo FunctionTable[] = { |
|||
{0x000100C8, nullptr, "AddNotification"}, |
|||
}; |
|||
|
|||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|||
// Interface class
|
|||
|
|||
Interface::Interface() { |
|||
Register(FunctionTable, ARRAY_SIZE(FunctionTable)); |
|||
} |
|||
|
|||
} // namespace
|
|||
@ -0,0 +1,23 @@ |
|||
// Copyright 2014 Citra Emulator Project |
|||
// Licensed under GPLv2 or any later version |
|||
// Refer to the license.txt file included. |
|||
|
|||
#pragma once |
|||
|
|||
#include "core/hle/service/service.h" |
|||
|
|||
//////////////////////////////////////////////////////////////////////////////////////////////////// |
|||
// Namespace NEWS_U |
|||
|
|||
namespace NEWS_U { |
|||
|
|||
class Interface : public Service::Interface { |
|||
public: |
|||
Interface(); |
|||
|
|||
std::string GetPortName() const override { |
|||
return "news:u"; |
|||
} |
|||
}; |
|||
|
|||
} // namespace |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue