diff options
Diffstat (limited to 'src/core/hle/service/service.cpp')
| -rw-r--r-- | src/core/hle/service/service.cpp | 58 |
1 files changed, 26 insertions, 32 deletions
diff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cpp index dc667500c..d681cc3dc 100644 --- a/src/core/hle/service/service.cpp +++ b/src/core/hle/service/service.cpp | |||
| @@ -8,29 +8,15 @@ | |||
| 8 | #include "core/hle/service/service.h" | 8 | #include "core/hle/service/service.h" |
| 9 | #include "core/hle/service/ac_u.h" | 9 | #include "core/hle/service/ac_u.h" |
| 10 | #include "core/hle/service/act_u.h" | 10 | #include "core/hle/service/act_u.h" |
| 11 | #include "core/hle/service/am_app.h" | ||
| 12 | #include "core/hle/service/am_net.h" | ||
| 13 | #include "core/hle/service/am_sys.h" | ||
| 14 | #include "core/hle/service/boss_p.h" | ||
| 15 | #include "core/hle/service/boss_u.h" | ||
| 16 | #include "core/hle/service/cam_u.h" | ||
| 17 | #include "core/hle/service/cecd_u.h" | ||
| 18 | #include "core/hle/service/cecd_s.h" | ||
| 19 | #include "core/hle/service/csnd_snd.h" | 11 | #include "core/hle/service/csnd_snd.h" |
| 20 | #include "core/hle/service/dsp_dsp.h" | 12 | #include "core/hle/service/dsp_dsp.h" |
| 21 | #include "core/hle/service/err_f.h" | 13 | #include "core/hle/service/err_f.h" |
| 22 | #include "core/hle/service/frd_a.h" | ||
| 23 | #include "core/hle/service/frd_u.h" | ||
| 24 | #include "core/hle/service/gsp_gpu.h" | 14 | #include "core/hle/service/gsp_gpu.h" |
| 25 | #include "core/hle/service/gsp_lcd.h" | 15 | #include "core/hle/service/gsp_lcd.h" |
| 26 | #include "core/hle/service/http_c.h" | 16 | #include "core/hle/service/http_c.h" |
| 27 | #include "core/hle/service/ldr_ro.h" | 17 | #include "core/hle/service/ldr_ro.h" |
| 28 | #include "core/hle/service/mic_u.h" | 18 | #include "core/hle/service/mic_u.h" |
| 29 | #include "core/hle/service/ndm_u.h" | 19 | #include "core/hle/service/ndm_u.h" |
| 30 | #include "core/hle/service/news_s.h" | ||
| 31 | #include "core/hle/service/news_u.h" | ||
| 32 | #include "core/hle/service/nim_aoc.h" | ||
| 33 | #include "core/hle/service/nim_u.h" | ||
| 34 | #include "core/hle/service/ns_s.h" | 20 | #include "core/hle/service/ns_s.h" |
| 35 | #include "core/hle/service/nwm_uds.h" | 21 | #include "core/hle/service/nwm_uds.h" |
| 36 | #include "core/hle/service/pm_app.h" | 22 | #include "core/hle/service/pm_app.h" |
| @@ -39,11 +25,18 @@ | |||
| 39 | #include "core/hle/service/ssl_c.h" | 25 | #include "core/hle/service/ssl_c.h" |
| 40 | #include "core/hle/service/y2r_u.h" | 26 | #include "core/hle/service/y2r_u.h" |
| 41 | 27 | ||
| 28 | #include "core/hle/service/am/am.h" | ||
| 42 | #include "core/hle/service/apt/apt.h" | 29 | #include "core/hle/service/apt/apt.h" |
| 30 | #include "core/hle/service/boss/boss.h" | ||
| 31 | #include "core/hle/service/cam/cam.h" | ||
| 32 | #include "core/hle/service/cecd/cecd.h" | ||
| 33 | #include "core/hle/service/frd/frd.h" | ||
| 43 | #include "core/hle/service/fs/archive.h" | 34 | #include "core/hle/service/fs/archive.h" |
| 44 | #include "core/hle/service/cfg/cfg.h" | 35 | #include "core/hle/service/cfg/cfg.h" |
| 45 | #include "core/hle/service/hid/hid.h" | 36 | #include "core/hle/service/hid/hid.h" |
| 46 | #include "core/hle/service/ir/ir.h" | 37 | #include "core/hle/service/ir/ir.h" |
| 38 | #include "core/hle/service/news/news.h" | ||
| 39 | #include "core/hle/service/nim/nim.h" | ||
| 47 | #include "core/hle/service/ptm/ptm.h" | 40 | #include "core/hle/service/ptm/ptm.h" |
| 48 | 41 | ||
| 49 | namespace Service { | 42 | namespace Service { |
| @@ -111,36 +104,29 @@ void Init() { | |||
| 111 | AddNamedPort(new ERR_F::Interface); | 104 | AddNamedPort(new ERR_F::Interface); |
| 112 | 105 | ||
| 113 | Service::FS::ArchiveInit(); | 106 | Service::FS::ArchiveInit(); |
| 114 | Service::CFG::Init(); | 107 | Service::AM::Init(); |
| 115 | Service::APT::Init(); | 108 | Service::APT::Init(); |
| 116 | Service::PTM::Init(); | 109 | Service::BOSS::Init(); |
| 110 | Service::CAM::Init(); | ||
| 111 | Service::CECD::Init(); | ||
| 112 | Service::CFG::Init(); | ||
| 113 | Service::FRD::Init(); | ||
| 117 | Service::HID::Init(); | 114 | Service::HID::Init(); |
| 118 | Service::IR::Init(); | 115 | Service::IR::Init(); |
| 116 | Service::NEWS::Init(); | ||
| 117 | Service::NIM::Init(); | ||
| 118 | Service::PTM::Init(); | ||
| 119 | 119 | ||
| 120 | AddService(new AC_U::Interface); | 120 | AddService(new AC_U::Interface); |
| 121 | AddService(new ACT_U::Interface); | 121 | AddService(new ACT_U::Interface); |
| 122 | AddService(new AM_APP::Interface); | ||
| 123 | AddService(new AM_NET::Interface); | ||
| 124 | AddService(new AM_SYS::Interface); | ||
| 125 | AddService(new BOSS_P::Interface); | ||
| 126 | AddService(new BOSS_U::Interface); | ||
| 127 | AddService(new CAM_U::Interface); | ||
| 128 | AddService(new CECD_S::Interface); | ||
| 129 | AddService(new CECD_U::Interface); | ||
| 130 | AddService(new CSND_SND::Interface); | 122 | AddService(new CSND_SND::Interface); |
| 131 | AddService(new DSP_DSP::Interface); | 123 | AddService(new DSP_DSP::Interface); |
| 132 | AddService(new FRD_A::Interface); | ||
| 133 | AddService(new FRD_U::Interface); | ||
| 134 | AddService(new GSP_GPU::Interface); | 124 | AddService(new GSP_GPU::Interface); |
| 135 | AddService(new GSP_LCD::Interface); | 125 | AddService(new GSP_LCD::Interface); |
| 136 | AddService(new HTTP_C::Interface); | 126 | AddService(new HTTP_C::Interface); |
| 137 | AddService(new LDR_RO::Interface); | 127 | AddService(new LDR_RO::Interface); |
| 138 | AddService(new MIC_U::Interface); | 128 | AddService(new MIC_U::Interface); |
| 139 | AddService(new NDM_U::Interface); | 129 | AddService(new NDM_U::Interface); |
| 140 | AddService(new NEWS_S::Interface); | ||
| 141 | AddService(new NEWS_U::Interface); | ||
| 142 | AddService(new NIM_AOC::Interface); | ||
| 143 | AddService(new NIM_U::Interface); | ||
| 144 | AddService(new NS_S::Interface); | 130 | AddService(new NS_S::Interface); |
| 145 | AddService(new NWM_UDS::Interface); | 131 | AddService(new NWM_UDS::Interface); |
| 146 | AddService(new PM_APP::Interface); | 132 | AddService(new PM_APP::Interface); |
| @@ -153,11 +139,19 @@ void Init() { | |||
| 153 | 139 | ||
| 154 | /// Shutdown ServiceManager | 140 | /// Shutdown ServiceManager |
| 155 | void Shutdown() { | 141 | void Shutdown() { |
| 142 | |||
| 143 | Service::PTM::Shutdown(); | ||
| 144 | Service::NIM::Shutdown(); | ||
| 145 | Service::NEWS::Shutdown(); | ||
| 156 | Service::IR::Shutdown(); | 146 | Service::IR::Shutdown(); |
| 157 | Service::HID::Shutdown(); | 147 | Service::HID::Shutdown(); |
| 158 | Service::PTM::Shutdown(); | 148 | Service::FRD::Shutdown(); |
| 159 | Service::APT::Shutdown(); | ||
| 160 | Service::CFG::Shutdown(); | 149 | Service::CFG::Shutdown(); |
| 150 | Service::CECD::Shutdown(); | ||
| 151 | Service::CAM::Shutdown(); | ||
| 152 | Service::BOSS::Shutdown(); | ||
| 153 | Service::APT::Shutdown(); | ||
| 154 | Service::AM::Shutdown(); | ||
| 161 | Service::FS::ArchiveShutdown(); | 155 | Service::FS::ArchiveShutdown(); |
| 162 | 156 | ||
| 163 | g_srv_services.clear(); | 157 | g_srv_services.clear(); |