/* To trigger the function that to export the Hii Configuration setting. */
VOID EFIAPI OnReadyToBoot(IN EFI_EVENT Event, IN VOID *Context)
/* To trigger the function that to export the Hii Configuration setting. */
VOID EFIAPI OnReadyToBoot(IN EFI_EVENT Event, IN VOID *Context)
{
  HiiGetDatabaseInfo (&mPrivate.HiiDatabase);
  HiiGetConfigRespInfo (&mPrivate.HiiDatabase);
  gExportAfterReadyToBoot = TRUE;
  gBS->CloseEvent (Event);
}