\r
**/\r
\r
+\r
+EFI_EVENT _mDriverExitBootServicesNotifyEvent;\r
+\r
/**\r
Unload function that is registered in the LoadImage protocol. It un-installs\r
protocols produced and deallocates pool used by the driver. Called by the core\r
@retval EFI_SUCCESS\r
\r
**/\r
-\r
-EFI_EVENT _mDriverExitBootServicesNotifyEvent;\r
-\r
EFI_STATUS\r
EFIAPI\r
_DriverUnloadHandler (\r
return Status;\r
}\r
\r
+\r
+/**\r
+ Notification Entry of ExitBootService event. In the entry, all notifications in _gDriverExitBootServicesEvent[] \r
+ would be invoked.\r
+\r
+ @param Event The Event that is being processed.\r
+ @param Context Event Context.\r
+\r
+**/\r
VOID\r
EFIAPI\r
_DriverExitBootServices (\r
IN EFI_EVENT Event,\r
IN VOID *Context\r
)\r
-/*++\r
-\r
-Routine Description:\r
-\r
- Set AtRuntime flag as TRUE after ExitBootServices\r
-\r
-Arguments:\r
-\r
- Event - The Event that is being processed\r
- \r
- Context - Event Context\r
-\r
-Returns: \r
-\r
- None\r
-\r
---*/\r
{\r
EFI_EVENT_NOTIFY ChildNotifyEventHandler;\r
UINTN Index;\r