Abstract:\r
\r
This file produces the graphics abstration of GOP. It is called by\r
- WinNtGopDriver.c file which deals with the EFI 1.1 driver model.\r
+ WinNtGopDriver.c file which deals with the UEFI 2.0 driver model.\r
This file just does graphics.\r
\r
\r
EFI_WIN_NT_THUNK_PROTOCOL *mWinNt;\r
DWORD mTlsIndex = TLS_OUT_OF_INDEXES;\r
DWORD mTlsIndexUseCount = 0; // lets us know when we can free mTlsIndex.\r
-static EFI_EVENT mGopScreenExitBootServicesEvent;\r
+EFI_EVENT mGopScreenExitBootServicesEvent;\r
GOP_MODE_DATA mGopModeData[] = {\r
{800, 600, 0, 0},\r
{640, 480, 0, 0},\r
IN UINT32 RefreshRate\r
);\r
\r
-STATIC\r
VOID\r
EFIAPI\r
KillNtGopThread (\r
IN VOID *Context\r
);\r
\r
-STATIC\r
VOID\r
WinNtGopConvertParamToEfiKeyShiftState (\r
IN GOP_PRIVATE_DATA *Private,\r
}\r
}\r
\r
-STATIC\r
VOID\r
WinNtGopConvertParamToEfiKey (\r
IN GOP_PRIVATE_DATA *Private,\r
Private->GraphicsOutput.Mode->Info->VerticalResolution = 0;\r
Private->GraphicsOutput.Mode->Info->PixelFormat = PixelBltOnly;\r
Private->GraphicsOutput.Mode->SizeOfInfo = sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION);\r
- Private->GraphicsOutput.Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) NULL;\r
+ Private->GraphicsOutput.Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) (UINTN) NULL;\r
Private->GraphicsOutput.Mode->FrameBufferSize = 0;\r
\r
Private->HardwareNeedsStarting = TRUE;\r
@return None.\r
\r
**/\r
-STATIC\r
VOID\r
EFIAPI\r
KillNtGopThread (\r