Home | History | Annotate | Download | only in ConPlatformDxe
      1 ## @file

      2 # Platform console driver manages console devices.

      3 #

      4 # Console Platfrom DXE Driver that specifies whether device can be used as console

      5 # input/output device or error output device and update global variables accordingly.

      6 #

      7 # Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>

      8 #

      9 #  This program and the accompanying materials

     10 #  are licensed and made available under the terms and conditions of the BSD License

     11 #  which accompanies this distribution. The full text of the license may be found at

     12 #  http://opensource.org/licenses/bsd-license.php

     13 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     14 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     15 #

     16 #

     17 ##

     18 
     19 [Defines]
     20   INF_VERSION                    = 0x00010005
     21   BASE_NAME                      = ConPlatformDxe
     22   MODULE_UNI_FILE                = ConPlatformDxe.uni
     23   FILE_GUID                      = 51ccf399-4fdf-4e55-a45b-e123f84d456a
     24   MODULE_TYPE                    = UEFI_DRIVER
     25   VERSION_STRING                 = 1.0
     26   ENTRY_POINT                    = InitializeConPlatform
     27 
     28 #

     29 # The following information is for reference only and not required by the build tools.

     30 #

     31 #  VALID_ARCHITECTURES           = IA32 X64 IPF EBC

     32 #

     33 #  DRIVER_BINDING                =  gConPlatformTextInDriverBinding

     34 #  COMPONENT_NAME                =  gConPlatformComponentName

     35 #  COMPONENT_NAME2               =  gConPlatformComponentName2

     36 #  DRIVER_BINDING                =  gConPlatformTextOutDriverBinding

     37 #  COMPONENT_NAME                =  gConPlatformComponentName

     38 #  COMPONENT_NAME2               =  gConPlatformComponentName2

     39 #

     40 
     41 [Sources]
     42   ComponentName.c
     43   ConPlatform.h
     44   ConPlatform.c
     45 
     46 [Packages]
     47   MdePkg/MdePkg.dec
     48   MdeModulePkg/MdeModulePkg.dec
     49 
     50 [LibraryClasses]
     51   MemoryAllocationLib
     52   DevicePathLib
     53   UefiRuntimeServicesTableLib
     54   UefiBootServicesTableLib
     55   BaseMemoryLib
     56   UefiLib
     57   UefiDriverEntryPoint
     58   DebugLib
     59 
     60 [Guids]
     61   #

     62   # This is the VendorGuid of all architecturally defined variables in UEFI spec.

     63   #

     64   ## SOMETIMES_CONSUMES ## Variable:L"ConIn"

     65   ## SOMETIMES_CONSUMES ## Variable:L"ConOut"

     66   ## SOMETIMES_CONSUMES ## Variable:L"ErrOut"

     67   ## SOMETIMES_PRODUCES ## Variable:L"ConInDev"

     68   ## SOMETIMES_PRODUCES ## Variable:L"ConOutDev"

     69   ## SOMETIMES_PRODUCES ## Variable:L"ErrOutDev"

     70   gEfiGlobalVariableGuid
     71   #

     72   # This GUID is used to specify the device is the standard error device.

     73   # If the device is a standard error device, this GUID as the protocol GUID will be installed

     74   # onto this device handle.

     75   #

     76   gEfiStandardErrorDeviceGuid                   ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle

     77   #

     78   # This GUID is used to specify the device is the console output device.

     79   # If the device is a console output device, this GUID as the protocol GUID will be installed

     80   # onto this device handle.

     81   #

     82   gEfiConsoleOutDeviceGuid                      ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle

     83   #

     84   # This GUID is used to specify the device is the console input device.

     85   # If the device is a console input device, this GUID as the protocol GUID will be installed

     86   # onto this device handle.

     87   #

     88   gEfiConsoleInDeviceGuid                       ## SOMETIMES_PRODUCES ## UNDEFINED # protocol GUID installed on device handle

     89 
     90 [Protocols]
     91   gEfiDevicePathProtocolGuid                    ## TO_START

     92   gEfiSimpleTextInProtocolGuid                  ## TO_START

     93   gEfiSimpleTextOutProtocolGuid                 ## TO_START

     94   gEfiPciIoProtocolGuid                         ## SOMETIMES_CONSUMES

     95   gEfiGraphicsOutputProtocolGuid                ## SOMETIMES_CONSUMES

     96 
     97 [UserExtensions.TianoCore."ExtraFiles"]
     98   ConPlatformDxeExtra.uni