diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2012-12-06 17:14:19 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-12-17 20:17:41 -0600 |
commit | 9a133dd18164f3836539c95ddf0524105647e73f (patch) | |
tree | c1386051b639615f0aa40285960235617df298d8 /src/usr/trace/debug.H | |
parent | b75c353365d02d84026c7867080d1816f4199821 (diff) | |
download | talos-hostboot-9a133dd18164f3836539c95ddf0524105647e73f.tar.gz talos-hostboot-9a133dd18164f3836539c95ddf0524105647e73f.zip |
Support Trace messages for FSP.
RTC: 35396
Change-Id: I0a8dddc6198d82b10780e897a284575a317862ba
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/2648
Reviewed-by: Andrew J. Geissler <andrewg@us.ibm.com>
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/trace/debug.H')
-rw-r--r-- | src/usr/trace/debug.H | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/src/usr/trace/debug.H b/src/usr/trace/debug.H index c9a14f91e..11ece2ee8 100644 --- a/src/usr/trace/debug.H +++ b/src/usr/trace/debug.H @@ -34,17 +34,25 @@ namespace TRACE */ struct DebugSettings { + enum + { + /** Use attribute (default). */ + CONT_TRACE_USE_ATTR = 0, + /** Force disable. */ + CONT_TRACE_FORCE_DISABLE = 1, + /** Force enable. */ + CONT_TRACE_FORCE_ENABLE = 2, + }; + // Continuous Trace: - /** Override of attribute setting. - * 0 - Use attribute (default). - * 1 - Force Disable - * 2 - Force Enable - */ uint8_t contTraceOverride; + /** Global switch for debug trace (TRACS). */ + bool globalDebugEnable; /** Size of continuous trace buffer. */ uint16_t bufferSize; /** Pointer to continuous trace buffer. */ void* bufferPage; + }; extern DebugSettings g_debugSettings; |