Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
769 B

  1. /*++
  2. Module Name:
  3. nvrboot.c
  4. Abstract:
  5. Author:
  6. Mudit Vats (v-muditv) 12-13-99
  7. Revision History:
  8. --*/
  9. #include <precomp.h>
  10. EFI_STATUS
  11. InitializeNvrutilApplication(
  12. IN EFI_HANDLE ImageHandle,
  13. IN struct _EFI_SYSTEM_TABLE *SystemTable
  14. )
  15. {
  16. //
  17. // Initialize EFI routines
  18. //
  19. InitializeProtocols( SystemTable );
  20. InitializeStdOut( SystemTable );
  21. InitializeLib( ImageHandle, SystemTable );
  22. //
  23. // Save Image Handle
  24. //
  25. MenuImageHandle = ImageHandle;
  26. BS->HandleProtocol (ImageHandle, &LoadedImageProtocol, &ExeImage);
  27. //
  28. // Display the OS options
  29. //
  30. DisplayMainMenu();
  31. //
  32. // Clean-up and exit
  33. //
  34. ClearScreen( ConOut );
  35. return EFI_SUCCESS;
  36. }