Home | History | Annotate | Download | only in ArmVirtPkg
      1 #/** @file
      2 #
      3 #  Copyright (c) 2014, Linaro Limited. All rights reserved.
      4 #
      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 [Defines]
     16   DEC_SPECIFICATION              = 0x00010005
     17   PACKAGE_NAME                   = ArmVirtPkg
     18   PACKAGE_GUID                   = A0B31216-508E-4025-BEAB-56D836C66F0A
     19   PACKAGE_VERSION                = 0.1
     20 
     21 ################################################################################
     22 #
     23 # Include Section - list of Include Paths that are provided by this package.
     24 #                   Comments are used for Keywords and Module Types.
     25 #
     26 # Supported Module Types:
     27 #  BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
     28 #
     29 ################################################################################
     30 [Includes.common]
     31   Include                        # Root include for the package
     32 
     33 [Guids.common]
     34   gArmVirtTokenSpaceGuid = { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }
     35   gEarlyPL011BaseAddressGuid       = { 0xB199DEA9, 0xFD5C, 0x4A84, { 0x80, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } }
     36 
     37 [Protocols]
     38   gFdtClientProtocolGuid = { 0xE11FACA0, 0x4710, 0x4C8E, { 0xA7, 0xA2, 0x01, 0xBA, 0xA2, 0x59, 0x1B, 0x4C } }
     39 
     40 [PcdsFixedAtBuild, PcdsPatchableInModule]
     41   #
     42   # This is the physical address where the device tree is expected to be stored
     43   # upon first entry into UEFI. This needs to be a FixedAtBuild PCD, so that we
     44   # can do a first pass over the device tree in the SEC phase to discover the
     45   # UART base address.
     46   #
     47   gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0|UINT64|0x00000001
     48 
     49   #
     50   # Padding in bytes to add to the device tree allocation, so that the DTB can
     51   # be modified in place (default: 256 bytes)
     52   #
     53   gArmVirtTokenSpaceGuid.PcdDeviceTreeAllocationPadding|256|UINT32|0x00000002
     54 
     55   #
     56   # Binary representation of the GUID that determines the terminal type. The
     57   # size must be exactly 16 bytes. The default value corresponds to
     58   # EFI_VT_100_GUID.
     59   #
     60   gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x65, 0x60, 0xA6, 0xDF, 0x19, 0xB4, 0xD3, 0x11, 0x9A, 0x2D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D}|VOID*|0x00000007
     61 
     62 [PcdsFeatureFlag]
     63   #
     64   # Pure ACPI boot
     65   #
     66   # Inhibit installation of the FDT as a configuration table if this feature
     67   # PCD is TRUE. Otherwise, the OS is presented with both a DT and an ACPI
     68   # description of the platform, and it is up to the OS to choose.
     69   #
     70   gArmVirtTokenSpaceGuid.PcdPureAcpiBoot|FALSE|BOOLEAN|0x0000000a
     71