]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkNt32Pkg/Dxe/WinNtThunk/Bus/Gop/WinNtGopScreen.c
[Source] Useless assigning statement in ata and atapi
[mirror_edk2.git] / EdkNt32Pkg / Dxe / WinNtThunk / Bus / Gop / WinNtGopScreen.c
index 76545110761cb3b45dbf016f749f5c492c10e220..47d849bd0a7352080f1d0df8d6aa1bdbe7e7ac1e 100644 (file)
@@ -1,6 +1,6 @@
 /** @file
 
-Copyright (c) 2006, Intel Corporation
+Copyright (c) 2006 - 2007, Intel Corporation
 All rights reserved. This program and the accompanying materials
 are licensed and made available under the terms and conditions of the BSD License
 which accompanies this distribution.  The full text of the license may be found at
@@ -636,6 +636,8 @@ WinNtGopThreadWindowProc (
     case VK_F7:   Key.ScanCode = SCAN_F7;   break;
     case VK_F8:   Key.ScanCode = SCAN_F8;   break;
     case VK_F9:   Key.ScanCode = SCAN_F9;   break;
+    case VK_F11:  Key.ScanCode = SCAN_F11;  break;
+    case VK_F12:  Key.ScanCode = SCAN_F12;  break;    
     }
 
     if (Key.ScanCode != 0) {
@@ -918,7 +920,7 @@ WinNtGopConstructor (
   Private->GraphicsOutput.Mode->Info->Version = 0;
   Private->GraphicsOutput.Mode->Info->HorizontalResolution = 0;
   Private->GraphicsOutput.Mode->Info->VerticalResolution = 0;
-  Private->GraphicsOutput.Mode->Info->PixelFormat = PixelBlueGreenRedReserved8BitPerColor;
+  Private->GraphicsOutput.Mode->Info->PixelFormat = PixelBltOnly;
   Private->GraphicsOutput.Mode->SizeOfInfo = sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION);
   Private->GraphicsOutput.Mode->FrameBufferBase = (EFI_PHYSICAL_ADDRESS) NULL;
   Private->GraphicsOutput.Mode->FrameBufferSize = 0;