diff options
| -rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
| -rw-r--r-- | src/common/logging/log.h | 1 | ||||
| -rw-r--r-- | src/core/hle/service/am/am.cpp | 48 | ||||
| -rw-r--r-- | src/core/hle/service/am/applet_ae.cpp | 18 | ||||
| -rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 18 |
5 files changed, 44 insertions, 42 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 3b0a0c62b..4a1397b7b 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -33,6 +33,7 @@ namespace Log { | |||
| 33 | SUB(Kernel, SVC) \ | 33 | SUB(Kernel, SVC) \ |
| 34 | CLS(Service) \ | 34 | CLS(Service) \ |
| 35 | SUB(Service, ACC) \ | 35 | SUB(Service, ACC) \ |
| 36 | SUB(Service, AM) \ | ||
| 36 | SUB(Service, SM) \ | 37 | SUB(Service, SM) \ |
| 37 | SUB(Service, FS) \ | 38 | SUB(Service, FS) \ |
| 38 | SUB(Service, GSP) \ | 39 | SUB(Service, GSP) \ |
diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 46a522ed9..72e4f2ef7 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h | |||
| @@ -50,6 +50,7 @@ enum class Class : ClassType { | |||
| 50 | Service, ///< HLE implementation of system services. Each major service | 50 | Service, ///< HLE implementation of system services. Each major service |
| 51 | /// should have its own subclass. | 51 | /// should have its own subclass. |
| 52 | Service_ACC, ///< The ACC (Account service) implementation | 52 | Service_ACC, ///< The ACC (Account service) implementation |
| 53 | Service_AM, ///< The AM (Applet manager service) implementation | ||
| 53 | Service_SM, ///< The SRV (Service Directory) implementation | 54 | Service_SM, ///< The SRV (Service Directory) implementation |
| 54 | Service_FS, ///< The FS (Filesystem) service implementation | 55 | Service_FS, ///< The FS (Filesystem) service implementation |
| 55 | Service_GSP, ///< The GSP (GPU control) service | 56 | Service_GSP, ///< The GSP (GPU control) service |
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 2825abd1a..eb4a04c53 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp | |||
| @@ -22,14 +22,14 @@ IWindowController::IWindowController() : ServiceFramework("IWindowController") { | |||
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | void IWindowController::GetAppletResourceUserId(Kernel::HLERequestContext& ctx) { | 24 | void IWindowController::GetAppletResourceUserId(Kernel::HLERequestContext& ctx) { |
| 25 | LOG_WARNING(Service, "(STUBBED) called"); | 25 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 26 | IPC::ResponseBuilder rb{ctx, 4}; | 26 | IPC::ResponseBuilder rb{ctx, 4}; |
| 27 | rb.Push(RESULT_SUCCESS); | 27 | rb.Push(RESULT_SUCCESS); |
| 28 | rb.Push<u64>(0); | 28 | rb.Push<u64>(0); |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | void IWindowController::AcquireForegroundRights(Kernel::HLERequestContext& ctx) { | 31 | void IWindowController::AcquireForegroundRights(Kernel::HLERequestContext& ctx) { |
| 32 | LOG_WARNING(Service, "(STUBBED) called"); | 32 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 33 | IPC::ResponseBuilder rb{ctx, 2}; | 33 | IPC::ResponseBuilder rb{ctx, 2}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | } | 35 | } |
| @@ -73,14 +73,14 @@ void ISelfController::SetFocusHandlingMode(Kernel::HLERequestContext& ctx) { | |||
| 73 | IPC::ResponseBuilder rb{ctx, 2}; | 73 | IPC::ResponseBuilder rb{ctx, 2}; |
| 74 | rb.Push(RESULT_SUCCESS); | 74 | rb.Push(RESULT_SUCCESS); |
| 75 | 75 | ||
| 76 | LOG_WARNING(Service, "(STUBBED) called"); | 76 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 77 | } | 77 | } |
| 78 | 78 | ||
| 79 | void ISelfController::SetRestartMessageEnabled(Kernel::HLERequestContext& ctx) { | 79 | void ISelfController::SetRestartMessageEnabled(Kernel::HLERequestContext& ctx) { |
| 80 | IPC::ResponseBuilder rb{ctx, 2}; | 80 | IPC::ResponseBuilder rb{ctx, 2}; |
| 81 | rb.Push(RESULT_SUCCESS); | 81 | rb.Push(RESULT_SUCCESS); |
| 82 | 82 | ||
| 83 | LOG_WARNING(Service, "(STUBBED) called"); | 83 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestContext& ctx) { | 86 | void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestContext& ctx) { |
| @@ -91,7 +91,7 @@ void ISelfController::SetPerformanceModeChangedNotification(Kernel::HLERequestCo | |||
| 91 | IPC::ResponseBuilder rb{ctx, 2}; | 91 | IPC::ResponseBuilder rb{ctx, 2}; |
| 92 | rb.Push(RESULT_SUCCESS); | 92 | rb.Push(RESULT_SUCCESS); |
| 93 | 93 | ||
| 94 | LOG_WARNING(Service, "(STUBBED) called flag=%u", static_cast<u32>(flag)); | 94 | LOG_WARNING(Service_AM, "(STUBBED) called flag=%u", static_cast<u32>(flag)); |
| 95 | } | 95 | } |
| 96 | 96 | ||
| 97 | void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestContext& ctx) { | 97 | void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestContext& ctx) { |
| @@ -102,7 +102,7 @@ void ISelfController::SetOperationModeChangedNotification(Kernel::HLERequestCont | |||
| 102 | IPC::ResponseBuilder rb{ctx, 2}; | 102 | IPC::ResponseBuilder rb{ctx, 2}; |
| 103 | rb.Push(RESULT_SUCCESS); | 103 | rb.Push(RESULT_SUCCESS); |
| 104 | 104 | ||
| 105 | LOG_WARNING(Service, "(STUBBED) called flag=%u", static_cast<u32>(flag)); | 105 | LOG_WARNING(Service_AM, "(STUBBED) called flag=%u", static_cast<u32>(flag)); |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& ctx) { | 108 | void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& ctx) { |
| @@ -115,21 +115,21 @@ void ISelfController::SetOutOfFocusSuspendingEnabled(Kernel::HLERequestContext& | |||
| 115 | IPC::ResponseBuilder rb{ctx, 2}; | 115 | IPC::ResponseBuilder rb{ctx, 2}; |
| 116 | rb.Push(RESULT_SUCCESS); | 116 | rb.Push(RESULT_SUCCESS); |
| 117 | 117 | ||
| 118 | LOG_WARNING(Service, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); | 118 | LOG_WARNING(Service_AM, "(STUBBED) called enabled=%u", static_cast<u32>(enabled)); |
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { | 121 | void ISelfController::LockExit(Kernel::HLERequestContext& ctx) { |
| 122 | IPC::ResponseBuilder rb{ctx, 2}; | 122 | IPC::ResponseBuilder rb{ctx, 2}; |
| 123 | rb.Push(RESULT_SUCCESS); | 123 | rb.Push(RESULT_SUCCESS); |
| 124 | 124 | ||
| 125 | LOG_WARNING(Service, "(STUBBED) called"); | 125 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 126 | } | 126 | } |
| 127 | 127 | ||
| 128 | void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { | 128 | void ISelfController::UnlockExit(Kernel::HLERequestContext& ctx) { |
| 129 | IPC::ResponseBuilder rb{ctx, 2}; | 129 | IPC::ResponseBuilder rb{ctx, 2}; |
| 130 | rb.Push(RESULT_SUCCESS); | 130 | rb.Push(RESULT_SUCCESS); |
| 131 | 131 | ||
| 132 | LOG_WARNING(Service, "(STUBBED) called"); | 132 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 133 | } | 133 | } |
| 134 | 134 | ||
| 135 | void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) { | 135 | void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) { |
| @@ -142,7 +142,7 @@ void ISelfController::CreateManagedDisplayLayer(Kernel::HLERequestContext& ctx) | |||
| 142 | rb.Push(RESULT_SUCCESS); | 142 | rb.Push(RESULT_SUCCESS); |
| 143 | rb.Push(layer_id); | 143 | rb.Push(layer_id); |
| 144 | 144 | ||
| 145 | LOG_WARNING(Service, "(STUBBED) called"); | 145 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 146 | } | 146 | } |
| 147 | 147 | ||
| 148 | ICommonStateGetter::ICommonStateGetter() : ServiceFramework("ICommonStateGetter") { | 148 | ICommonStateGetter::ICommonStateGetter() : ServiceFramework("ICommonStateGetter") { |
| @@ -165,7 +165,7 @@ void ICommonStateGetter::GetEventHandle(Kernel::HLERequestContext& ctx) { | |||
| 165 | rb.Push(RESULT_SUCCESS); | 165 | rb.Push(RESULT_SUCCESS); |
| 166 | rb.PushCopyObjects(event); | 166 | rb.PushCopyObjects(event); |
| 167 | 167 | ||
| 168 | LOG_WARNING(Service, "(STUBBED) called"); | 168 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 169 | } | 169 | } |
| 170 | 170 | ||
| 171 | void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { | 171 | void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { |
| @@ -173,7 +173,7 @@ void ICommonStateGetter::ReceiveMessage(Kernel::HLERequestContext& ctx) { | |||
| 173 | rb.Push(RESULT_SUCCESS); | 173 | rb.Push(RESULT_SUCCESS); |
| 174 | rb.Push<u32>(15); | 174 | rb.Push<u32>(15); |
| 175 | 175 | ||
| 176 | LOG_WARNING(Service, "(STUBBED) called"); | 176 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 177 | } | 177 | } |
| 178 | 178 | ||
| 179 | void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { | 179 | void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { |
| @@ -181,7 +181,7 @@ void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { | |||
| 181 | rb.Push(RESULT_SUCCESS); | 181 | rb.Push(RESULT_SUCCESS); |
| 182 | rb.Push(static_cast<u8>(FocusState::InFocus)); | 182 | rb.Push(static_cast<u8>(FocusState::InFocus)); |
| 183 | 183 | ||
| 184 | LOG_WARNING(Service, "(STUBBED) called"); | 184 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 185 | } | 185 | } |
| 186 | 186 | ||
| 187 | void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { | 187 | void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { |
| @@ -189,7 +189,7 @@ void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { | |||
| 189 | rb.Push(RESULT_SUCCESS); | 189 | rb.Push(RESULT_SUCCESS); |
| 190 | rb.Push(static_cast<u8>(OperationMode::Handheld)); | 190 | rb.Push(static_cast<u8>(OperationMode::Handheld)); |
| 191 | 191 | ||
| 192 | LOG_WARNING(Service, "(STUBBED) called"); | 192 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 193 | } | 193 | } |
| 194 | 194 | ||
| 195 | void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { | 195 | void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { |
| @@ -197,7 +197,7 @@ void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { | |||
| 197 | rb.Push(RESULT_SUCCESS); | 197 | rb.Push(RESULT_SUCCESS); |
| 198 | rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); | 198 | rb.Push(static_cast<u32>(APM::PerformanceMode::Handheld)); |
| 199 | 199 | ||
| 200 | LOG_WARNING(Service, "(STUBBED) called"); | 200 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 201 | } | 201 | } |
| 202 | 202 | ||
| 203 | ILibraryAppletCreator::ILibraryAppletCreator() : ServiceFramework("ILibraryAppletCreator") {} | 203 | ILibraryAppletCreator::ILibraryAppletCreator() : ServiceFramework("ILibraryAppletCreator") {} |
| @@ -222,7 +222,7 @@ private: | |||
| 222 | rb.Push(RESULT_SUCCESS); | 222 | rb.Push(RESULT_SUCCESS); |
| 223 | rb.Push(static_cast<u64>(buffer.size())); | 223 | rb.Push(static_cast<u64>(buffer.size())); |
| 224 | 224 | ||
| 225 | LOG_DEBUG(Service, "called"); | 225 | LOG_DEBUG(Service_AM, "called"); |
| 226 | } | 226 | } |
| 227 | 227 | ||
| 228 | void Read(Kernel::HLERequestContext& ctx) { | 228 | void Read(Kernel::HLERequestContext& ctx) { |
| @@ -240,7 +240,7 @@ private: | |||
| 240 | 240 | ||
| 241 | rb.Push(RESULT_SUCCESS); | 241 | rb.Push(RESULT_SUCCESS); |
| 242 | 242 | ||
| 243 | LOG_DEBUG(Service, "called"); | 243 | LOG_DEBUG(Service_AM, "called"); |
| 244 | } | 244 | } |
| 245 | }; | 245 | }; |
| 246 | 246 | ||
| @@ -263,7 +263,7 @@ private: | |||
| 263 | rb.Push(RESULT_SUCCESS); | 263 | rb.Push(RESULT_SUCCESS); |
| 264 | rb.PushIpcInterface<AM::IStorageAccessor>(buffer); | 264 | rb.PushIpcInterface<AM::IStorageAccessor>(buffer); |
| 265 | 265 | ||
| 266 | LOG_DEBUG(Service, "called"); | 266 | LOG_DEBUG(Service_AM, "called"); |
| 267 | } | 267 | } |
| 268 | }; | 268 | }; |
| 269 | 269 | ||
| @@ -296,7 +296,7 @@ void IApplicationFunctions::PopLaunchParameter(Kernel::HLERequestContext& ctx) { | |||
| 296 | rb.Push(RESULT_SUCCESS); | 296 | rb.Push(RESULT_SUCCESS); |
| 297 | rb.PushIpcInterface<AM::IStorage>(buffer); | 297 | rb.PushIpcInterface<AM::IStorage>(buffer); |
| 298 | 298 | ||
| 299 | LOG_DEBUG(Service, "called"); | 299 | LOG_DEBUG(Service_AM, "called"); |
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) { | 302 | void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) { |
| @@ -309,27 +309,27 @@ void IApplicationFunctions::SetTerminateResult(Kernel::HLERequestContext& ctx) { | |||
| 309 | IPC::ResponseBuilder rb{ctx, 2}; | 309 | IPC::ResponseBuilder rb{ctx, 2}; |
| 310 | rb.Push(RESULT_SUCCESS); | 310 | rb.Push(RESULT_SUCCESS); |
| 311 | 311 | ||
| 312 | LOG_WARNING(Service, "(STUBBED) called, result=0x%08X", result); | 312 | LOG_WARNING(Service_AM, "(STUBBED) called, result=0x%08X", result); |
| 313 | } | 313 | } |
| 314 | 314 | ||
| 315 | void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) { | 315 | void IApplicationFunctions::GetDesiredLanguage(Kernel::HLERequestContext& ctx) { |
| 316 | IPC::ResponseBuilder rb{ctx, 4}; | 316 | IPC::ResponseBuilder rb{ctx, 4}; |
| 317 | rb.Push(RESULT_SUCCESS); | 317 | rb.Push(RESULT_SUCCESS); |
| 318 | rb.Push<u64>(SystemLanguage::English); | 318 | rb.Push<u64>(SystemLanguage::English); |
| 319 | LOG_WARNING(Service, "(STUBBED) called"); | 319 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 320 | } | 320 | } |
| 321 | 321 | ||
| 322 | void IApplicationFunctions::InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) { | 322 | void IApplicationFunctions::InitializeGamePlayRecording(Kernel::HLERequestContext& ctx) { |
| 323 | IPC::ResponseBuilder rb{ctx, 2}; | 323 | IPC::ResponseBuilder rb{ctx, 2}; |
| 324 | rb.Push(RESULT_SUCCESS); | 324 | rb.Push(RESULT_SUCCESS); |
| 325 | LOG_WARNING(Service, "(STUBBED) called"); | 325 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 326 | } | 326 | } |
| 327 | 327 | ||
| 328 | void IApplicationFunctions::SetGamePlayRecordingState(Kernel::HLERequestContext& ctx) { | 328 | void IApplicationFunctions::SetGamePlayRecordingState(Kernel::HLERequestContext& ctx) { |
| 329 | IPC::ResponseBuilder rb{ctx, 2}; | 329 | IPC::ResponseBuilder rb{ctx, 2}; |
| 330 | rb.Push(RESULT_SUCCESS); | 330 | rb.Push(RESULT_SUCCESS); |
| 331 | 331 | ||
| 332 | LOG_WARNING(Service, "(STUBBED) called"); | 332 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 333 | } | 333 | } |
| 334 | 334 | ||
| 335 | void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { | 335 | void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { |
| @@ -337,7 +337,7 @@ void IApplicationFunctions::NotifyRunning(Kernel::HLERequestContext& ctx) { | |||
| 337 | rb.Push(RESULT_SUCCESS); | 337 | rb.Push(RESULT_SUCCESS); |
| 338 | rb.Push<u8>(0); // Unknown, seems to be ignored by official processes | 338 | rb.Push<u8>(0); // Unknown, seems to be ignored by official processes |
| 339 | 339 | ||
| 340 | LOG_WARNING(Service, "(STUBBED) called"); | 340 | LOG_WARNING(Service_AM, "(STUBBED) called"); |
| 341 | } | 341 | } |
| 342 | 342 | ||
| 343 | void InstallInterfaces(SM::ServiceManager& service_manager, | 343 | void InstallInterfaces(SM::ServiceManager& service_manager, |
diff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cpp index a63fb6210..0e51caa70 100644 --- a/src/core/hle/service/am/applet_ae.cpp +++ b/src/core/hle/service/am/applet_ae.cpp | |||
| @@ -33,56 +33,56 @@ private: | |||
| 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | rb.PushIpcInterface<ICommonStateGetter>(); | 35 | rb.PushIpcInterface<ICommonStateGetter>(); |
| 36 | LOG_DEBUG(Service, "called"); | 36 | LOG_DEBUG(Service_AM, "called"); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void GetSelfController(Kernel::HLERequestContext& ctx) { | 39 | void GetSelfController(Kernel::HLERequestContext& ctx) { |
| 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 41 | rb.Push(RESULT_SUCCESS); | 41 | rb.Push(RESULT_SUCCESS); |
| 42 | rb.PushIpcInterface<ISelfController>(nvflinger); | 42 | rb.PushIpcInterface<ISelfController>(nvflinger); |
| 43 | LOG_DEBUG(Service, "called"); | 43 | LOG_DEBUG(Service_AM, "called"); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | void GetWindowController(Kernel::HLERequestContext& ctx) { | 46 | void GetWindowController(Kernel::HLERequestContext& ctx) { |
| 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 48 | rb.Push(RESULT_SUCCESS); | 48 | rb.Push(RESULT_SUCCESS); |
| 49 | rb.PushIpcInterface<IWindowController>(); | 49 | rb.PushIpcInterface<IWindowController>(); |
| 50 | LOG_DEBUG(Service, "called"); | 50 | LOG_DEBUG(Service_AM, "called"); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | void GetAudioController(Kernel::HLERequestContext& ctx) { | 53 | void GetAudioController(Kernel::HLERequestContext& ctx) { |
| 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 55 | rb.Push(RESULT_SUCCESS); | 55 | rb.Push(RESULT_SUCCESS); |
| 56 | rb.PushIpcInterface<IAudioController>(); | 56 | rb.PushIpcInterface<IAudioController>(); |
| 57 | LOG_DEBUG(Service, "called"); | 57 | LOG_DEBUG(Service_AM, "called"); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void GetDisplayController(Kernel::HLERequestContext& ctx) { | 60 | void GetDisplayController(Kernel::HLERequestContext& ctx) { |
| 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 62 | rb.Push(RESULT_SUCCESS); | 62 | rb.Push(RESULT_SUCCESS); |
| 63 | rb.PushIpcInterface<IDisplayController>(); | 63 | rb.PushIpcInterface<IDisplayController>(); |
| 64 | LOG_DEBUG(Service, "called"); | 64 | LOG_DEBUG(Service_AM, "called"); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { | 67 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { |
| 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 69 | rb.Push(RESULT_SUCCESS); | 69 | rb.Push(RESULT_SUCCESS); |
| 70 | rb.PushIpcInterface<IDebugFunctions>(); | 70 | rb.PushIpcInterface<IDebugFunctions>(); |
| 71 | LOG_DEBUG(Service, "called"); | 71 | LOG_DEBUG(Service_AM, "called"); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { | 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { |
| 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 76 | rb.Push(RESULT_SUCCESS); | 76 | rb.Push(RESULT_SUCCESS); |
| 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); | 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); |
| 78 | LOG_DEBUG(Service, "called"); | 78 | LOG_DEBUG(Service_AM, "called"); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { | 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { |
| 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 83 | rb.Push(RESULT_SUCCESS); | 83 | rb.Push(RESULT_SUCCESS); |
| 84 | rb.PushIpcInterface<IApplicationFunctions>(); | 84 | rb.PushIpcInterface<IApplicationFunctions>(); |
| 85 | LOG_DEBUG(Service, "called"); | 85 | LOG_DEBUG(Service_AM, "called"); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; | 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; |
| @@ -92,7 +92,7 @@ void AppletAE::OpenLibraryAppletProxyOld(Kernel::HLERequestContext& ctx) { | |||
| 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 93 | rb.Push(RESULT_SUCCESS); | 93 | rb.Push(RESULT_SUCCESS); |
| 94 | rb.PushIpcInterface<ILibraryAppletProxy>(nvflinger); | 94 | rb.PushIpcInterface<ILibraryAppletProxy>(nvflinger); |
| 95 | LOG_DEBUG(Service, "called"); | 95 | LOG_DEBUG(Service_AM, "called"); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | AppletAE::AppletAE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) | 98 | AppletAE::AppletAE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) |
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 5aa765770..bdcebe689 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp | |||
| @@ -33,56 +33,56 @@ private: | |||
| 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 33 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 34 | rb.Push(RESULT_SUCCESS); | 34 | rb.Push(RESULT_SUCCESS); |
| 35 | rb.PushIpcInterface<IAudioController>(); | 35 | rb.PushIpcInterface<IAudioController>(); |
| 36 | LOG_DEBUG(Service, "called"); | 36 | LOG_DEBUG(Service_AM, "called"); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | void GetDisplayController(Kernel::HLERequestContext& ctx) { | 39 | void GetDisplayController(Kernel::HLERequestContext& ctx) { |
| 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 40 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 41 | rb.Push(RESULT_SUCCESS); | 41 | rb.Push(RESULT_SUCCESS); |
| 42 | rb.PushIpcInterface<IDisplayController>(); | 42 | rb.PushIpcInterface<IDisplayController>(); |
| 43 | LOG_DEBUG(Service, "called"); | 43 | LOG_DEBUG(Service_AM, "called"); |
| 44 | } | 44 | } |
| 45 | 45 | ||
| 46 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { | 46 | void GetDebugFunctions(Kernel::HLERequestContext& ctx) { |
| 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 47 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 48 | rb.Push(RESULT_SUCCESS); | 48 | rb.Push(RESULT_SUCCESS); |
| 49 | rb.PushIpcInterface<IDebugFunctions>(); | 49 | rb.PushIpcInterface<IDebugFunctions>(); |
| 50 | LOG_DEBUG(Service, "called"); | 50 | LOG_DEBUG(Service_AM, "called"); |
| 51 | } | 51 | } |
| 52 | 52 | ||
| 53 | void GetWindowController(Kernel::HLERequestContext& ctx) { | 53 | void GetWindowController(Kernel::HLERequestContext& ctx) { |
| 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 54 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 55 | rb.Push(RESULT_SUCCESS); | 55 | rb.Push(RESULT_SUCCESS); |
| 56 | rb.PushIpcInterface<IWindowController>(); | 56 | rb.PushIpcInterface<IWindowController>(); |
| 57 | LOG_DEBUG(Service, "called"); | 57 | LOG_DEBUG(Service_AM, "called"); |
| 58 | } | 58 | } |
| 59 | 59 | ||
| 60 | void GetSelfController(Kernel::HLERequestContext& ctx) { | 60 | void GetSelfController(Kernel::HLERequestContext& ctx) { |
| 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 61 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 62 | rb.Push(RESULT_SUCCESS); | 62 | rb.Push(RESULT_SUCCESS); |
| 63 | rb.PushIpcInterface<ISelfController>(nvflinger); | 63 | rb.PushIpcInterface<ISelfController>(nvflinger); |
| 64 | LOG_DEBUG(Service, "called"); | 64 | LOG_DEBUG(Service_AM, "called"); |
| 65 | } | 65 | } |
| 66 | 66 | ||
| 67 | void GetCommonStateGetter(Kernel::HLERequestContext& ctx) { | 67 | void GetCommonStateGetter(Kernel::HLERequestContext& ctx) { |
| 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 68 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 69 | rb.Push(RESULT_SUCCESS); | 69 | rb.Push(RESULT_SUCCESS); |
| 70 | rb.PushIpcInterface<ICommonStateGetter>(); | 70 | rb.PushIpcInterface<ICommonStateGetter>(); |
| 71 | LOG_DEBUG(Service, "called"); | 71 | LOG_DEBUG(Service_AM, "called"); |
| 72 | } | 72 | } |
| 73 | 73 | ||
| 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { | 74 | void GetLibraryAppletCreator(Kernel::HLERequestContext& ctx) { |
| 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 75 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 76 | rb.Push(RESULT_SUCCESS); | 76 | rb.Push(RESULT_SUCCESS); |
| 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); | 77 | rb.PushIpcInterface<ILibraryAppletCreator>(); |
| 78 | LOG_DEBUG(Service, "called"); | 78 | LOG_DEBUG(Service_AM, "called"); |
| 79 | } | 79 | } |
| 80 | 80 | ||
| 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { | 81 | void GetApplicationFunctions(Kernel::HLERequestContext& ctx) { |
| 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 82 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 83 | rb.Push(RESULT_SUCCESS); | 83 | rb.Push(RESULT_SUCCESS); |
| 84 | rb.PushIpcInterface<IApplicationFunctions>(); | 84 | rb.PushIpcInterface<IApplicationFunctions>(); |
| 85 | LOG_DEBUG(Service, "called"); | 85 | LOG_DEBUG(Service_AM, "called"); |
| 86 | } | 86 | } |
| 87 | 87 | ||
| 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; | 88 | std::shared_ptr<NVFlinger::NVFlinger> nvflinger; |
| @@ -92,7 +92,7 @@ void AppletOE::OpenApplicationProxy(Kernel::HLERequestContext& ctx) { | |||
| 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 92 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 93 | rb.Push(RESULT_SUCCESS); | 93 | rb.Push(RESULT_SUCCESS); |
| 94 | rb.PushIpcInterface<IApplicationProxy>(nvflinger); | 94 | rb.PushIpcInterface<IApplicationProxy>(nvflinger); |
| 95 | LOG_DEBUG(Service, "called"); | 95 | LOG_DEBUG(Service_AM, "called"); |
| 96 | } | 96 | } |
| 97 | 97 | ||
| 98 | AppletOE::AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) | 98 | AppletOE::AppletOE(std::shared_ptr<NVFlinger::NVFlinger> nvflinger) |