/* This is the default unload handle for display core drivers. */
EFI_STATUS EFIAPI UnloadDisplayEngine(IN EFI_HANDLE ImageHandle)
/* This is the default unload handle for display core drivers. */
EFI_STATUS EFIAPI UnloadDisplayEngine(IN EFI_HANDLE ImageHandle)
{
  HiiRemovePackages (gHiiHandle);
  FreeDisplayStrings ();
  if (gHighligthMenuInfo.HLTOpCode != NULL) {
    FreePool (gHighligthMenuInfo.HLTOpCode);
  }
  if (gHighligthMenuInfo.TOSOpCode != NULL) {
    FreePool (gHighligthMenuInfo.TOSOpCode);
  }
  return EFI_SUCCESS;
}