mirror of
https://github.com/yuzu-emu/yuzu-mainline.git
synced 2024-12-12 21:44:18 +01:00
Service: Move SRV interface to a new sm/ subdirectory
This will contain the implementation of the sm (Service Manager) system module.
This commit is contained in:
parent
6354d08359
commit
1eee09f364
@ -156,8 +156,8 @@ set(SRCS
|
||||
hle/service/qtm/qtm_sp.cpp
|
||||
hle/service/qtm/qtm_u.cpp
|
||||
hle/service/service.cpp
|
||||
hle/service/sm/srv.cpp
|
||||
hle/service/soc_u.cpp
|
||||
hle/service/srv.cpp
|
||||
hle/service/ssl_c.cpp
|
||||
hle/service/y2r_u.cpp
|
||||
hle/shared_page.cpp
|
||||
@ -352,8 +352,8 @@ set(HEADERS
|
||||
hle/service/qtm/qtm_sp.h
|
||||
hle/service/qtm/qtm_u.h
|
||||
hle/service/service.h
|
||||
hle/service/sm/srv.h
|
||||
hle/service/soc_u.h
|
||||
hle/service/srv.h
|
||||
hle/service/ssl_c.h
|
||||
hle/service/y2r_u.h
|
||||
hle/shared_page.h
|
||||
|
@ -38,8 +38,8 @@
|
||||
#include "core/hle/service/ptm/ptm.h"
|
||||
#include "core/hle/service/qtm/qtm.h"
|
||||
#include "core/hle/service/service.h"
|
||||
#include "core/hle/service/sm/srv.h"
|
||||
#include "core/hle/service/soc_u.h"
|
||||
#include "core/hle/service/srv.h"
|
||||
#include "core/hle/service/ssl_c.h"
|
||||
#include "core/hle/service/y2r_u.h"
|
||||
|
||||
@ -126,7 +126,7 @@ void AddService(Interface* interface_) {
|
||||
|
||||
/// Initialize ServiceManager
|
||||
void Init() {
|
||||
AddNamedPort(new SRV::SRV);
|
||||
AddNamedPort(new SM::SRV);
|
||||
AddNamedPort(new ERR::ERR_F);
|
||||
|
||||
FS::ArchiveInit();
|
||||
|
@ -9,10 +9,10 @@
|
||||
#include "core/hle/kernel/client_session.h"
|
||||
#include "core/hle/kernel/event.h"
|
||||
#include "core/hle/kernel/server_session.h"
|
||||
#include "core/hle/service/srv.h"
|
||||
#include "core/hle/service/sm/srv.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SRV {
|
||||
namespace SM {
|
||||
|
||||
static Kernel::SharedPtr<Kernel::Event> event_handle;
|
||||
|
||||
@ -184,5 +184,5 @@ SRV::~SRV() {
|
||||
event_handle = nullptr;
|
||||
}
|
||||
|
||||
} // namespace SRV
|
||||
} // namespace SM
|
||||
} // namespace Service
|
@ -4,10 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "core/hle/service/service.h"
|
||||
|
||||
namespace Service {
|
||||
namespace SRV {
|
||||
namespace SM {
|
||||
|
||||
/// Interface to "srv:" service
|
||||
class SRV final : public Interface {
|
||||
@ -20,5 +21,5 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
} // namespace SRV
|
||||
} // namespace SM
|
||||
} // namespace Service
|
Loading…
Reference in New Issue
Block a user