Home | History | Annotate | Download | only in ArmVirtPkg
      1 #
      2 #  Copyright (c) 2011-2015, ARM Limited. All rights reserved.
      3 #  Copyright (c) 2014-2016, Linaro Limited. All rights reserved.
      4 #  Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.
      5 #
      6 #  This program and the accompanying materials
      7 #  are licensed and made available under the terms and conditions of the BSD License
      8 #  which accompanies this distribution.  The full text of the license may be found at
      9 #  http://opensource.org/licenses/bsd-license.php
     10 #
     11 #  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     12 #  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     13 #
     14 
     15 ################################################################################
     16 #
     17 # FV Section
     18 #
     19 # [FV] section is used to define what components or modules are placed within a flash
     20 # device file.  This section also defines order the components and modules are positioned
     21 # within the image.  The [FV] section consists of define statements, set statements and
     22 # module statements.
     23 #
     24 ################################################################################
     25 
     26 [FV.FvMain]
     27 FvNameGuid         = 64074afe-340a-4be6-94ba-91b5b4d0f71e
     28 BlockSize          = 0x40
     29 NumBlocks          = 0         # This FV gets compressed so make it just big enough
     30 FvAlignment        = 16        # FV alignment and FV attributes setting.
     31 ERASE_POLARITY     = 1
     32 MEMORY_MAPPED      = TRUE
     33 STICKY_WRITE       = TRUE
     34 LOCK_CAP           = TRUE
     35 LOCK_STATUS        = TRUE
     36 WRITE_DISABLED_CAP = TRUE
     37 WRITE_ENABLED_CAP  = TRUE
     38 WRITE_STATUS       = TRUE
     39 WRITE_LOCK_CAP     = TRUE
     40 WRITE_LOCK_STATUS  = TRUE
     41 READ_DISABLED_CAP  = TRUE
     42 READ_ENABLED_CAP   = TRUE
     43 READ_STATUS        = TRUE
     44 READ_LOCK_CAP      = TRUE
     45 READ_LOCK_STATUS   = TRUE
     46 
     47   INF MdeModulePkg/Core/Dxe/DxeMain.inf
     48   INF MdeModulePkg/Universal/PCD/Dxe/Pcd.inf
     49   INF ArmVirtPkg/VirtioFdtDxe/VirtioFdtDxe.inf
     50   INF ArmVirtPkg/FdtClientDxe/FdtClientDxe.inf
     51   INF ArmVirtPkg/HighMemDxe/HighMemDxe.inf
     52 
     53   #
     54   # PI DXE Drivers producing Architectural Protocols (EFI Services)
     55   #
     56   INF ArmPkg/Drivers/CpuDxe/CpuDxe.inf
     57   INF MdeModulePkg/Core/RuntimeDxe/RuntimeDxe.inf
     58   INF MdeModulePkg/Universal/SecurityStubDxe/SecurityStubDxe.inf
     59   INF MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf
     60   INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
     61   INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
     62 !if $(SECURE_BOOT_ENABLE) == TRUE
     63   INF SecurityPkg/VariableAuthenticated/SecureBootConfigDxe/SecureBootConfigDxe.inf
     64 !endif
     65   INF MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
     66   INF EmbeddedPkg/ResetRuntimeDxe/ResetRuntimeDxe.inf
     67   INF EmbeddedPkg/RealTimeClockRuntimeDxe/RealTimeClockRuntimeDxe.inf
     68   INF EmbeddedPkg/MetronomeDxe/MetronomeDxe.inf
     69   INF MdeModulePkg/Universal/HiiDatabaseDxe/HiiDatabaseDxe.inf
     70 
     71   #
     72   # Multiple Console IO support
     73   #
     74   INF MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatformDxe.inf
     75   INF MdeModulePkg/Universal/Console/ConSplitterDxe/ConSplitterDxe.inf
     76   INF MdeModulePkg/Universal/Console/GraphicsConsoleDxe/GraphicsConsoleDxe.inf
     77   INF MdeModulePkg/Universal/Console/TerminalDxe/TerminalDxe.inf
     78   INF MdeModulePkg/Universal/SerialDxe/SerialDxe.inf
     79 
     80   INF ArmPkg/Drivers/ArmGic/ArmGicDxe.inf
     81   INF ArmPkg/Drivers/TimerDxe/TimerDxe.inf
     82   INF ArmPlatformPkg/Drivers/NorFlashDxe/NorFlashDxe.inf
     83   INF MdeModulePkg/Universal/WatchdogTimerDxe/WatchdogTimer.inf
     84 
     85   #
     86   # FAT filesystem + GPT/MBR partitioning
     87   #
     88   INF MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
     89   INF MdeModulePkg/Universal/Disk/PartitionDxe/PartitionDxe.inf
     90   INF FatPkg/EnhancedFatDxe/Fat.inf
     91   INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
     92 
     93   #
     94   # Platform Driver
     95   #
     96   INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
     97   INF OvmfPkg/VirtioNetDxe/VirtioNet.inf
     98   INF OvmfPkg/VirtioScsiDxe/VirtioScsi.inf
     99   INF OvmfPkg/VirtioRngDxe/VirtioRng.inf
    100 
    101   #
    102   # UEFI application (Shell Embedded Boot Loader)
    103   #
    104   INF ShellPkg/Application/Shell/Shell.inf
    105 
    106   #
    107   # Bds
    108   #
    109   INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
    110   INF MdeModulePkg/Universal/DisplayEngineDxe/DisplayEngineDxe.inf
    111   INF MdeModulePkg/Universal/SetupBrowserDxe/SetupBrowserDxe.inf
    112   INF MdeModulePkg/Universal/DriverHealthManagerDxe/DriverHealthManagerDxe.inf
    113   INF MdeModulePkg/Universal/BdsDxe/BdsDxe.inf
    114   INF MdeModulePkg/Application/UiApp/UiApp.inf
    115 
    116   #
    117   # Networking stack
    118   #
    119   INF MdeModulePkg/Universal/Network/DpcDxe/DpcDxe.inf
    120   INF MdeModulePkg/Universal/Network/ArpDxe/ArpDxe.inf
    121   INF MdeModulePkg/Universal/Network/Dhcp4Dxe/Dhcp4Dxe.inf
    122   INF MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Dxe.inf
    123   INF MdeModulePkg/Universal/Network/MnpDxe/MnpDxe.inf
    124   INF MdeModulePkg/Universal/Network/VlanConfigDxe/VlanConfigDxe.inf
    125   INF MdeModulePkg/Universal/Network/Mtftp4Dxe/Mtftp4Dxe.inf
    126   INF MdeModulePkg/Universal/Network/Tcp4Dxe/Tcp4Dxe.inf
    127   INF MdeModulePkg/Universal/Network/Udp4Dxe/Udp4Dxe.inf
    128   INF MdeModulePkg/Universal/Network/UefiPxeBcDxe/UefiPxeBcDxe.inf
    129   INF MdeModulePkg/Universal/Network/IScsiDxe/IScsiDxe.inf
    130 
    131   #
    132   # SCSI Bus and Disk Driver
    133   #
    134   INF MdeModulePkg/Bus/Scsi/ScsiBusDxe/ScsiBusDxe.inf
    135   INF MdeModulePkg/Bus/Scsi/ScsiDiskDxe/ScsiDiskDxe.inf
    136 
    137   #
    138   # SMBIOS Support
    139   #
    140   INF MdeModulePkg/Universal/SmbiosDxe/SmbiosDxe.inf
    141   INF OvmfPkg/SmbiosPlatformDxe/SmbiosPlatformDxe.inf
    142 
    143 !if $(ARCH) == AARCH64
    144   #
    145   # ACPI Support
    146   #
    147   INF MdeModulePkg/Universal/Acpi/AcpiTableDxe/AcpiTableDxe.inf
    148   INF OvmfPkg/AcpiPlatformDxe/QemuFwCfgAcpiPlatformDxe.inf
    149 
    150   #
    151   # EBC support
    152   #
    153   INF MdeModulePkg/Universal/EbcDxe/EbcDxe.inf
    154 !endif
    155 
    156   #
    157   # PCI support
    158   #
    159   INF ArmPkg/Drivers/ArmPciCpuIo2Dxe/ArmPciCpuIo2Dxe.inf
    160   INF MdeModulePkg/Bus/Pci/PciHostBridgeDxe/PciHostBridgeDxe.inf
    161   INF MdeModulePkg/Bus/Pci/PciBusDxe/PciBusDxe.inf
    162   INF OvmfPkg/VirtioPciDeviceDxe/VirtioPciDeviceDxe.inf
    163   INF OvmfPkg/Virtio10Dxe/Virtio10.inf
    164 
    165   #
    166   # Video support
    167   #
    168   INF OvmfPkg/QemuVideoDxe/QemuVideoDxe.inf
    169   INF OvmfPkg/VirtioGpuDxe/VirtioGpu.inf
    170   INF OvmfPkg/PlatformDxe/Platform.inf
    171 
    172   #
    173   # USB Support
    174   #
    175   INF MdeModulePkg/Bus/Pci/UhciDxe/UhciDxe.inf
    176   INF MdeModulePkg/Bus/Pci/EhciDxe/EhciDxe.inf
    177   INF MdeModulePkg/Bus/Pci/XhciDxe/XhciDxe.inf
    178   INF MdeModulePkg/Bus/Usb/UsbBusDxe/UsbBusDxe.inf
    179   INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
    180 
    181   #
    182   # TianoCore logo (splash screen)
    183   #
    184   INF MdeModulePkg/Logo/LogoDxe.inf
    185 
    186   #
    187   # Ramdisk support
    188   #
    189   INF MdeModulePkg/Universal/Disk/RamDiskDxe/RamDiskDxe.inf
    190