Leaked source code of windows server 2003
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

  1. /*++
  2. Module Name:
  3. global.c
  4. Abstract:
  5. Author:
  6. Mudit Vats (v-muditv) 12-13-99
  7. Revision History:
  8. --*/
  9. #include <precomp.h>
  10. //
  11. // Globals for stdout
  12. //
  13. SIMPLE_TEXT_OUTPUT_INTERFACE *ConOut;
  14. EFI_TEXT_CLEAR_SCREEN ClearScreen;
  15. EFI_TEXT_SET_CURSOR_POSITION SetCursorPosition;
  16. EFI_TEXT_SET_MODE SetMode;
  17. EFI_TEXT_ENABLE_CURSOR EnableCursor;
  18. int CursorRow, CursorColumn;
  19. SIMPLE_INPUT_INTERFACE *ConIn;
  20. //
  21. // Globals for protocol handler
  22. //
  23. EFI_HANDLE_PROTOCOL HandleProtocol;
  24. EFI_LOCATE_HANDLE LocateHandle;
  25. EFI_LOCATE_DEVICE_PATH LocateDevicePath;
  26. EFI_IMAGE_LOAD LoadImage;
  27. EFI_IMAGE_START StartImage;
  28. EFI_SET_VARIABLE SetVariable;
  29. EFI_HANDLE MenuImageHandle;
  30. EFI_LOADED_IMAGE *ExeImage;
  31. //
  32. // Global GUIDs
  33. //
  34. // #define VEN_EFI \
  35. // { 0x8be4df61, 0x93ca, 0x11d2, 0xaa, 0x0d, 0x00, 0xe0, 0x98, 0x03, 0x2b, 0x8c }
  36. EFI_GUID VenEfi = EFI_GLOBAL_VARIABLE;
  37. //EFI_GUID EfiESPProtocol = SYSTEM_PART_PROTOCOL;
  38. EFI_GUID EfiESPProtocol = BLOCK_IO_PROTOCOL;