Fix EDKT497. In the patch:
authoryshang1 <yshang1@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 12 Jan 2007 02:41:42 +0000 (02:41 +0000)
committeryshang1 <yshang1@de2fecce-e211-0410-80a6-f3fac2684e05>
Fri, 12 Jan 2007 02:41:42 +0000 (02:41 +0000)
commitcb4d9e67e9a3b97c6d1482218869ef7a5413f471
tree2ddca969f253325a67778852fc7bbb3992a0d08c
parentad68db95c7dd5d4b59ae59156c7ff1eea12d5e47
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.tianocore.org/svn/edk2/trunk@2225 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/EdkModulePkg/Universal/StatusCode/Dxe/Common/DxeStatusCodeCommon.c
edk2/EdkModulePkg/Universal/StatusCode/Dxe/DataHubStatusCodeWorker.c
edk2/EdkModulePkg/Universal/StatusCode/Dxe/SerialStatusCodeWorker.c