CloverBootloader/Drivers/AtaBus/AtaBusDxe.inf

79 lines
2.5 KiB
INI
Raw Normal View History

## @file
# ATA Bus driver to enumerate and identfy ATA devices.
#
# This driver follows UEFI driver model and layers on ATA Pass Thru protocol defined
# in UEFI spec 2.2. It installs Block IO and Disk Info protocol for each ATA device
# it enumerates and identifies successfully.
#
# Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
#
# 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
# http://opensource.org/licenses/bsd-license.php
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
##
[Defines]
INF_VERSION = 0x00010005
BASE_NAME = AtaBusDxe
FILE_GUID = 19DF145A-B1D4-453f-8507-38816676D7F6
MODULE_TYPE = UEFI_DRIVER
VERSION_STRING = 1.0
ENTRY_POINT = InitializeAtaBus
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
# DRIVER_BINDING = gAtaBusDriverBinding
# COMPONENT_NAME = gAtaBusComponentName
# COMPONENT_NAME2 = gAtaBusComponentName2
#
#
[Sources]
AtaBus.h
AtaBus.c
AtaPassThruExecute.c
ComponentName.c
[Packages]
MdePkg/MdePkg.dec
[LibraryClasses]
DevicePathLib
UefiBootServicesTableLib
UefiRuntimeServicesTableLib
MemoryAllocationLib
BaseMemoryLib
UefiLib
BaseLib
UefiDriverEntryPoint
DebugLib
TimerLib
[Guids]
gEfiDiskInfoIdeInterfaceGuid # CONSUMES ## GUID
gEfiDiskInfoAhciInterfaceGuid # CONSUMES ## GUID
gEfiEventExitBootServicesGuid # CONSUMES ## GUID
gEfiMemoryOverwriteControlDataGuid # CONSUMES ## GUID
[Protocols]
gEfiDiskInfoProtocolGuid # BY_START
gEfiBlockIoProtocolGuid # BY_START
gEfiBlockIo2ProtocolGuid # BY_START
gEfiAtaPassThruProtocolGuid # TO_START
gEfiDevicePathProtocolGuid # TO_START
gEfiStorageSecurityCommandProtocolGuid # BY_START
[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG