diff options
author | Patrick Williams <iawillia@us.ibm.com> | 2011-08-22 17:33:44 -0500 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2011-08-24 12:53:03 -0500 |
commit | 5d30abd488109fafecdfb3119449aefa5dd685b2 (patch) | |
tree | 8ef9d0d49b15507b8d1f3d82a52ce27d8af242d7 /src/usr/example/test | |
parent | 0977c6da14b8fc1623043daa429041863498aeae (diff) | |
download | talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.tar.gz talos-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.zip |
Add environment var to remove debug messages.
- Add printkd function.
- Create HOSTBOOT_DEBUG env var for printk.
- Update trace interfaces to utilize HOSTBOOT_DEBUG.
- Fix compile errors due to unused variables.
Change-Id: Ib18c3ecd51ca333e0118949bf35476e9c5aa46a7
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/273
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/usr/example/test')
-rw-r--r-- | src/usr/example/test/exampletest.H | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/example/test/exampletest.H b/src/usr/example/test/exampletest.H index 8e89cb03d..c08a30db5 100644 --- a/src/usr/example/test/exampletest.H +++ b/src/usr/example/test/exampletest.H @@ -102,7 +102,9 @@ public: void testExampleForceTrace(void) { uint32_t i_32test = 0xdeadbeef; + i_32test--; i_32test++; uint64_t i_64test = 0xbadc0ffee0ddf00d; + i_64test--; i_64test++; TS_TRACE("Run TS_TRACE() as part of the example test\n" ); |