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/vfs | |
parent | 0977c6da14b8fc1623043daa429041863498aeae (diff) | |
download | blackbird-hostboot-5d30abd488109fafecdfb3119449aefa5dd685b2.tar.gz blackbird-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/vfs')
-rw-r--r-- | src/usr/vfs/vfsrp.C | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/usr/vfs/vfsrp.C b/src/usr/vfs/vfsrp.C index d450339be..76cfd2c0e 100644 --- a/src/usr/vfs/vfsrp.C +++ b/src/usr/vfs/vfsrp.C @@ -21,7 +21,7 @@ // // IBM_PROLOG_END /** - * @file vfsrp.C + * @file vfsrp.C * @brief Virtual File system Extended image support */ @@ -70,7 +70,7 @@ void VfsRp::init( void * i_taskArgs ) errlHndl_t err = NULL; err = Singleton<VfsRp>::instance()._init(); INITSERVICE::TaskArgs::TaskArgs* args = (INITSERVICE::TaskArgs::TaskArgs*)i_taskArgs; - if(err) + if(err) { args->postErrorLog(err); } @@ -187,9 +187,8 @@ void VfsRp::msgHandler() case VFS_MSG_EXEC: { - msg_t * msg1 = (msg_t *) msg->data[0]; TRACDCOMP(g_trac_vfs, "VFS: Got exec request of %s", - (const char*)msg1->data[0]); + (const char*)((msg_t*)msg->data[0])->data[0]); // run in own task so page faults can be handled task_create(exec, msg); @@ -290,7 +289,7 @@ void VfsRp::_exec(msg_t * i_msg) // The TOC for the extended image sits at the start of the image and is // not location dependant, so just use the one pointed to by iv_pnor_vaddr // to avoid having to copy it to this block - VfsSystemModule * module = + VfsSystemModule * module = vfs_find_module((VfsSystemModule *)(iv_pnor_vaddr + VFS_EXTENDED_MODULE_TABLE_OFFSET), (const char*) msg1->data[0]); |