//\r
UINT64 mEfiMtc;\r
\r
-\r
//\r
// Event to use to update the Mtc's high part when wrapping\r
//\r
return EFI_SUCCESS;\r
}\r
\r
+\r
+\r
+/**\r
+ Call back function on EFI_EVENT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event.\r
+\r
+ Fixup internal data so that the driver is callable in EFI runtime \r
+ in virtual mode. Convert gRT to virtual address. gRT is from \r
+ UefiRuntimeServicesTableLib class. It is not fixed up by \r
+ UefiRuntimeServicesTableLib instance.\r
+\r
+ @param Event Event whose notification function is being invoked.\r
+ @param Context The context of the Notification context. Not used in\r
+ this call back function.\r
+\r
+**/\r
+VOID\r
+EFIAPI\r
+MonotonicCounterDriverSetVirtualAddressMap (\r
+ IN EFI_EVENT Event,\r
+ IN VOID *Context\r
+ )\r
+/*++\r
+\r
+Routine Description:\r
+\r
+Arguments:\r
+\r
+Returns:\r
+\r
+--*/\r
+{\r
+ gRT->ConvertPointer (0, (VOID **) &gRT);\r
+}\r
+\r
+\r
+\r
EFI_STATUS\r
EFIAPI\r
MonotonicCounterDriverGetNextHighMonotonicCount (\r