summaryrefslogtreecommitdiff
path: root/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/UefiRuntimeLib/RuntimeLib.c')
-rw-r--r--MdePkg/Library/UefiRuntimeLib/RuntimeLib.c22
1 files changed, 18 insertions, 4 deletions
diff --git a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
index 818cd66e4a..3205d57bc0 100644
--- a/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
+++ b/MdePkg/Library/UefiRuntimeLib/RuntimeLib.c
@@ -152,9 +152,16 @@ RuntimeDriverLibDeconstruct (
}
/**
- Return TRUE if ExitBootServices () has been called.
+ This function allows the caller to determine if UEFI ExitBootServices() has been called.
+
+ This function returns TRUE after all the EVT_SIGNAL_EXIT_BOOT_SERVICES functions have
+ executed as a result of the OS calling ExitBootServices(). Prior to this time FALSE
+ is returned. This function is used by runtime code to decide it is legal to access
+ services that go away after ExitBootServices().
+
+ @retval TRUE The system has finished executing the EVT_SIGNAL_EXIT_BOOT_SERVICES event.
+ @retval FALSE The system has not finished executing the EVT_SIGNAL_EXIT_BOOT_SERVICES event.
- @retval TRUE If ExitBootServices () has been called
**/
BOOLEAN
EFIAPI
@@ -166,9 +173,16 @@ EfiAtRuntime (
}
/**
- Return TRUE if SetVirtualAddressMap () has been called.
+ This function allows the caller to determine if UEFI SetVirtualAddressMap() has been called.
+
+ This function returns TRUE after all the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE functions have
+ executed as a result of the OS calling SetVirtualAddressMap(). Prior to this time FALSE
+ is returned. This function is used by runtime code to decide it is legal to access services
+ that go away after SetVirtualAddressMap().
+
+ @retval TRUE The system has finished executing the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event.
+ @retval FALSE The system has not finished executing the EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE event.
- @retval TRUE If SetVirtualAddressMap () has been called
**/
BOOLEAN
EFIAPI