Home | History | Annotate | Download | only in EmuBdsLib
      1 /*++ @file
      2 
      3 Copyright (c) 2006 - 2009, Intel Corporation. All rights reserved.<BR>
      4 Portions copyright (c) 2011, Apple Inc. All rights reserved.
      5 This program and the accompanying materials
      6 are licensed and made available under the terms and conditions of the BSD License
      7 which accompanies this distribution.  The full text of the license may be found at
      8 http://opensource.org/licenses/bsd-license.php
      9 
     10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 **/
     14 
     15 #include "BdsPlatform.h"
     16 
     17 
     18 
     19 EMU_PLATFORM_UGA_DEVICE_PATH gGopDevicePath = {
     20   {
     21     {
     22       {
     23         HARDWARE_DEVICE_PATH,
     24         HW_VENDOR_DP,
     25         {
     26           (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
     27           (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
     28         }
     29       },
     30       EMU_THUNK_PROTOCOL_GUID
     31     },
     32     0
     33   },
     34   {
     35     {
     36       {
     37         HARDWARE_DEVICE_PATH,
     38         HW_VENDOR_DP,
     39         {
     40           (UINT8) (sizeof (EMU_VENDOR_DEVICE_PATH_NODE)),
     41           (UINT8) ((sizeof (EMU_VENDOR_DEVICE_PATH_NODE)) >> 8)
     42         },
     43       },
     44       EMU_GRAPHICS_WINDOW_PROTOCOL_GUID,
     45     },
     46     0
     47   },
     48   gEndEntire
     49 };
     50 
     51 //
     52 // Predefined platform default console device path
     53 //
     54 BDS_CONSOLE_CONNECT_ENTRY   gPlatformConsole[] = {
     55   {
     56     (EFI_DEVICE_PATH_PROTOCOL *) &gGopDevicePath,
     57     (CONSOLE_OUT | CONSOLE_IN)
     58   },
     59   {
     60     NULL,
     61     0
     62   }
     63 };
     64 
     65 //
     66 // Predefined platform specific driver option
     67 //
     68 EFI_DEVICE_PATH_PROTOCOL    *gPlatformDriverOption[] = { NULL };
     69 
     70 //
     71 // Predefined platform connect sequence
     72 //
     73 EFI_DEVICE_PATH_PROTOCOL    *gPlatformConnectSequence[] = { NULL };
     74