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.
57 lines
1.2 KiB
57 lines
1.2 KiB
/*++
|
|
|
|
Module Name:
|
|
|
|
global.c
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Author:
|
|
|
|
Mudit Vats (v-muditv) 12-13-99
|
|
|
|
Revision History:
|
|
|
|
--*/
|
|
#include <precomp.h>
|
|
|
|
//
|
|
// Globals for stdout
|
|
//
|
|
SIMPLE_TEXT_OUTPUT_INTERFACE *ConOut;
|
|
|
|
EFI_TEXT_CLEAR_SCREEN ClearScreen;
|
|
EFI_TEXT_SET_CURSOR_POSITION SetCursorPosition;
|
|
EFI_TEXT_SET_MODE SetMode;
|
|
EFI_TEXT_ENABLE_CURSOR EnableCursor;
|
|
int CursorRow, CursorColumn;
|
|
|
|
SIMPLE_INPUT_INTERFACE *ConIn;
|
|
|
|
//
|
|
// Globals for protocol handler
|
|
//
|
|
|
|
EFI_HANDLE_PROTOCOL HandleProtocol;
|
|
EFI_LOCATE_HANDLE LocateHandle;
|
|
EFI_LOCATE_DEVICE_PATH LocateDevicePath;
|
|
EFI_IMAGE_LOAD LoadImage;
|
|
EFI_IMAGE_START StartImage;
|
|
EFI_SET_VARIABLE SetVariable;
|
|
EFI_HANDLE MenuImageHandle;
|
|
EFI_LOADED_IMAGE *ExeImage;
|
|
|
|
//
|
|
// Global GUIDs
|
|
//
|
|
|
|
// #define VEN_EFI \
|
|
// { 0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c }
|
|
|
|
|
|
EFI_GUID VenEfi = EFI_GLOBAL_VARIABLE;
|
|
//EFI_GUID EfiESPProtocol = SYSTEM_PART_PROTOCOL;
|
|
EFI_GUID EfiESPProtocol = BLOCK_IO_PROTOCOL;
|
|
|