Fix EDKT497. In the patch:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Jan 2007 02:41:42 +0000 (02:41 +0000)
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Jan 2007 02:41:42 +0000 (02:41 +0000)
commit35d4cd92bd21a3538f6c300723b715b1df6911bb
treed2c1da936676547a9bddf61f2d0acae8b0d5faba
parentaffa5a128c1a10424bb2fa9b7dd3d2b3f6091f33
Fix EDKT497. In the patch:
1) Check TPL<=TPL_CALLBACK prior to invoking SerialIO protocol.
2) Check TPL <= TPL_NOTIFY prior to allocate memory in datahub status code driver.
3) Add lock to prevent the critical data.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2225 6f19259b-4bc3-4df7-8a09-765794883524
EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
EdkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c
EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c