mirror of https://github.com/tongzx/nt5src
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
54 lines
769 B
/*++
|
|
|
|
Module Name:
|
|
|
|
nvrboot.c
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Author:
|
|
|
|
Mudit Vats (v-muditv) 12-13-99
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#include <precomp.h>
|
|
|
|
|
|
EFI_STATUS
|
|
InitializeNvrutilApplication(
|
|
IN EFI_HANDLE ImageHandle,
|
|
IN struct _EFI_SYSTEM_TABLE *SystemTable
|
|
)
|
|
{
|
|
//
|
|
// Initialize EFI routines
|
|
//
|
|
InitializeProtocols( SystemTable );
|
|
InitializeStdOut( SystemTable );
|
|
InitializeLib( ImageHandle, SystemTable );
|
|
|
|
//
|
|
// Save Image Handle
|
|
//
|
|
MenuImageHandle = ImageHandle;
|
|
|
|
|
|
BS->HandleProtocol (ImageHandle, &LoadedImageProtocol, &ExeImage);
|
|
//
|
|
// Display the OS options
|
|
//
|
|
DisplayMainMenu();
|
|
|
|
//
|
|
// Clean-up and exit
|
|
//
|
|
ClearScreen( ConOut );
|
|
|
|
return EFI_SUCCESS;
|
|
}
|
|
|
|
|