36 Print(L
"Locating GOP... ");
37 EFI_GRAPHICS_OUTPUT_PROTOCOL*
gop;
38 EFI_GUID guid = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID;
39 EFI_STATUS status = uefi_call_wrapper(BS->LocateProtocol, 3, &guid, 0, (
void**)&
gop);
40 if (EFI_ERROR(status))
42 Print(L
"failed to locate GOP!\n");
46#if !(GOP_USE_DEFAULT_RES)
51 buffer->size =
gop->Mode->FrameBufferSize;
55 Print(L
"located buffer width=%d, height=%d, stride=%d... ",
buffer->width,
buffer->height,
buffer->stride);