logger: Add SET service logging category.

This commit is contained in:
bunnei 2018-02-04 22:55:45 -05:00
parent fc1359dc03
commit c689fe8424
3 changed files with 12 additions and 16 deletions

View file

@ -33,19 +33,17 @@ namespace Log {
SUB(Kernel, SVC) \ SUB(Kernel, SVC) \
CLS(Service) \ CLS(Service) \
SUB(Service, ACC) \ SUB(Service, ACC) \
SUB(Service, Audio) \
SUB(Service, AM) \ SUB(Service, AM) \
SUB(Service, APM) \ SUB(Service, APM) \
SUB(Service, SM) \
SUB(Service, FS) \ SUB(Service, FS) \
SUB(Service, GSP) \
SUB(Service, CFG) \
SUB(Service, DSP) \
SUB(Service, HID) \ SUB(Service, HID) \
SUB(Service, LM) \ SUB(Service, LM) \
SUB(Service, NIFM) \ SUB(Service, NIFM) \
SUB(Service, NVDRV) \ SUB(Service, NVDRV) \
SUB(Service, PCTL) \ SUB(Service, PCTL) \
SUB(Service, Audio) \ SUB(Service, SET) \
SUB(Service, SM) \
SUB(Service, VI) \ SUB(Service, VI) \
CLS(HW) \ CLS(HW) \
SUB(HW, Memory) \ SUB(HW, Memory) \

View file

@ -49,20 +49,18 @@ enum class Class : ClassType {
Kernel_SVC, ///< Kernel system calls Kernel_SVC, ///< Kernel system calls
Service, ///< HLE implementation of system services. Each major service Service, ///< HLE implementation of system services. Each major service
/// should have its own subclass. /// should have its own subclass.
Service_ACC, ///< The ACC (Account service) implementation Service_ACC, ///< The ACC (Accounts) service
Service_AM, ///< The AM (Applet manager service) implementation Service_AM, ///< The AM (Applet manager) service
Service_APM, ///< The APM service implementation Service_APM, ///< The APM (Performance) service
Service_SM, ///< The SRV (Service Directory) implementation Service_Audio, ///< The Audio (Audio control) service
Service_FS, ///< The FS (Filesystem) service implementation Service_FS, ///< The FS (Filesystem) service
Service_GSP, ///< The GSP (GPU control) service
Service_CFG, ///< The CFG (Configuration) service
Service_DSP, ///< The DSP (DSP control) service
Service_HID, ///< The HID (Human interface device) service Service_HID, ///< The HID (Human interface device) service
Service_LM, ///< The LM (Logger) service implementation Service_LM, ///< The LM (Logger) service
Service_NIFM, ///< The NIFM (Network interface) service Service_NIFM, ///< The NIFM (Network interface) service
Service_NVDRV, ///< The NVDRV (Nvidia driver) service Service_NVDRV, ///< The NVDRV (Nvidia driver) service
Service_PCTL, ///< The PCTL (Parental control) service Service_PCTL, ///< The PCTL (Parental control) service
Service_Audio, ///< The Audio (Audio control) service Service_SET, ///< The SET (Settings) service
Service_SM, ///< The SM (Service manager) service
Service_VI, ///< The VI (Video interface) service Service_VI, ///< The VI (Video interface) service
HW, ///< Low-level hardware emulation HW, ///< Low-level hardware emulation
HW_Memory, ///< Memory-map and address translation HW_Memory, ///< Memory-map and address translation

View file

@ -24,7 +24,7 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {
rb.Push(RESULT_SUCCESS); rb.Push(RESULT_SUCCESS);
rb.Push(static_cast<u64>(lang_codes.size())); rb.Push(static_cast<u64>(lang_codes.size()));
LOG_WARNING(Service, "(STUBBED) called"); LOG_WARNING(Service_SET, "(STUBBED) called");
} }
SET::SET(const char* name) : ServiceFramework(name) { SET::SET(const char* name) : ServiceFramework(name) {