There is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib...
authorklu2 <klu2@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 1 Feb 2007 03:05:49 +0000 (03:05 +0000)
committerklu2 <klu2@de2fecce-e211-0410-80a6-f3fac2684e05>
Thu, 1 Feb 2007 03:05:49 +0000 (03:05 +0000)
commitddd6a684b0439b0a2f765f5f2d2f436e2c6a040f
tree3a0e648244b5866d7888bf3880050c0de8b80f95
parentfe73614c5f4f72dcc729e91bf09e177cf73bf896
There is a bug in original EdkModulePkg\Library\EdkUefiRuntimeLib\Common\RuntimeLib.c. Originally, if a driver did not produce a <SetVirtualAddressMapCallBack>'s function, EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE notify event will not be created in RuntimeDriverLibConstruct(), This is a bug, because at least, mRT pointer need to be converted for runtime service.
This bug will lead runtime interface GetMonoCount() failure because EdkModulePkg\Universal\MonotonicCounter\RuntimeDxe driver does not produce any <SetVirtualAddressMapCallBack>'s function.

git-svn-id: https://edk2.tianocore.org/svn/edk2/trunk@2343 de2fecce-e211-0410-80a6-f3fac2684e05
edk2/EdkModulePkg/Library/EdkUefiRuntimeLib/Common/RuntimeLib.c