+/**\r
+ Fixup internal data so that EFI can be called in virtual mode.\r
+ Call the passed in Child Notify event and convert any pointers in\r
+ lib to virtual mode.\r
+\r
+ @param[in] Event The Event that is being processed\r
+ @param[in] Context Event Context\r
+**/\r
+VOID\r
+EFIAPI\r
+LibRtcVirtualNotifyEvent (\r
+ IN EFI_EVENT Event,\r
+ IN VOID *Context\r
+ )\r
+{\r
+ // Only needed if you are going to support the OS calling RTC functions in\r
+ // virtual mode. You will need to call EfiConvertPointer (). To convert any\r
+ // stored physical addresses to virtual address. After the OS transitions to\r
+ // calling in virtual mode, all future runtime calls will be made in virtual\r
+ // mode.\r
+ EfiConvertPointer (0x0, (VOID **)&mRtcIndexRegister);\r
+ EfiConvertPointer (0x0, (VOID **)&mRtcTargetRegister);\r
+}\r
+\r