From 0420a4d1de2919dce2eb3594e0d0c9984c63737a Mon Sep 17 00:00:00 2001 From: archshift Date: Tue, 17 Feb 2015 15:15:04 -0800 Subject: Added information reporting from ThrowFatalError This was RE'd from the errdisp applet. --- src/common/common_funcs.h | 2 -- src/common/logging/backend.cpp | 1 + src/common/logging/log.h | 1 + 3 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/common_funcs.h b/src/common/common_funcs.h index 4bbcc357..28ccebc1 100644 --- a/src/common/common_funcs.h +++ b/src/common/common_funcs.h @@ -14,8 +14,6 @@ #define SLEEP(x) usleep(x*1000) #endif -template struct CompileTimeAssert; -template<> struct CompileTimeAssert {}; #define b2(x) ( (x) | ( (x) >> 1) ) #define b4(x) ( b2(x) | ( b2(x) >> 2) ) diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 8fee20a8..7c1010b2 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp @@ -33,6 +33,7 @@ static std::shared_ptr global_logger; CLS(Service) \ SUB(Service, SRV) \ SUB(Service, FS) \ + SUB(Service, ERR) \ SUB(Service, APT) \ SUB(Service, GSP) \ SUB(Service, AC) \ diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 6c5ca396..7b67b3c0 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -53,6 +53,7 @@ enum class Class : ClassType { /// should have its own subclass. Service_SRV, ///< The SRV (Service Directory) implementation Service_FS, ///< The FS (Filesystem) service implementation + Service_ERR, ///< The ERR (Error) port implementation Service_APT, ///< The APT (Applets) service Service_GSP, ///< The GSP (GPU control) service Service_AC, ///< The AC (WiFi status) service -- cgit v1.2.3