From 6036e94dc9402827130875258e99e486e82e7904 Mon Sep 17 00:00:00 2001 From: "Zeng, Star" Date: Thu, 28 Aug 2014 06:34:06 +0000 Subject: MdeModulePkg: INF/DEC file updates to EDK II packages 1. Usage information in INF file comment blocks are either incomplete or incorrect. This includes usage information for Protocols/PPIs/GUIDs/PCDs/HOBs/Events/BootModes. The syntax for usage information in comment blocks is defined in the EDK II Module Information (INF) Specification Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Zeng, Star Reviewed-by: Gao, Liming git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15962 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf | 21 +++++++++++------ MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf | 26 +++++++++++++--------- 2 files changed, 29 insertions(+), 18 deletions(-) (limited to 'MdeModulePkg/Bus/Ata') diff --git a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf index 9c79bb8c3c..82d5f7a46c 100644 --- a/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf +++ b/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/AtaAtapiPassThru.inf @@ -4,7 +4,7 @@ # This driver installs AtaPassThru and ExtScsiPassThru protocol in each ide/sata controller # to access to all attached Ata/Atapi devices. # -# Copyright (c) 2010 - 2012, Intel Corporation. All rights reserved.
+# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -18,6 +18,7 @@ [Defines] INF_VERSION = 0x00010005 BASE_NAME = AtaAtapiPassThruDxe + MODULE_UNI_FILE = AtaAtapiPassThruDxe.uni FILE_GUID = 5E523CB4-D397-4986-87BD-A6DD8B22F455 MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 @@ -61,11 +62,17 @@ PcdLib [Protocols] - gEfiAtaPassThruProtocolGuid # BY_START - gEfiExtScsiPassThruProtocolGuid # BY_START - gEfiIdeControllerInitProtocolGuid # TO_START - gEfiDevicePathProtocolGuid # TO_START - gEfiPciIoProtocolGuid # TO_START + gEfiAtaPassThruProtocolGuid ## BY_START + gEfiExtScsiPassThruProtocolGuid ## BY_START + gEfiIdeControllerInitProtocolGuid ## TO_START + gEfiDevicePathProtocolGuid ## TO_START + gEfiPciIoProtocolGuid ## TO_START [Pcd] - gEfiMdeModulePkgTokenSpaceGuid.PcdAtaSmartEnable + gEfiMdeModulePkgTokenSpaceGuid.PcdAtaSmartEnable ## SOMETIMES_CONSUMES + +# [Event] +# EVENT_TYPE_PERIODIC_TIMER ## SOMETIMES_CONSUMES + +[UserExtensions.TianoCore."ExtraFiles"] + AtaAtapiPassThruDxeExtra.uni diff --git a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf index bcd96deef0..d9def13abe 100644 --- a/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf +++ b/MdeModulePkg/Bus/Ata/AtaBusDxe/AtaBusDxe.inf @@ -5,7 +5,7 @@ # 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.
+# Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.
# # This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License @@ -20,6 +20,7 @@ [Defines] INF_VERSION = 0x00010005 BASE_NAME = AtaBusDxe + MODULE_UNI_FILE = AtaBusDxe.uni FILE_GUID = 19DF145A-B1D4-453f-8507-38816676D7F6 MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 @@ -59,16 +60,19 @@ ReportStatusCodeLib [Guids] - gEfiDiskInfoIdeInterfaceGuid # CONSUMES ## GUID - gEfiDiskInfoAhciInterfaceGuid # CONSUMES ## GUID - gEfiMemoryOverwriteControlDataGuid # CONSUMES ## GUID + gEfiDiskInfoIdeInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED + gEfiDiskInfoAhciInterfaceGuid ## SOMETIMES_PRODUCES ## UNDEFINED + gEfiMemoryOverwriteControlDataGuid ## SOMETIMES_CONSUMES ## Variable:L"MemoryOverwriteRequestControl" [Protocols] - gEfiDiskInfoProtocolGuid # BY_START - gEfiBlockIoProtocolGuid # BY_START - gEfiBlockIo2ProtocolGuid # BY_START - gEfiAtaPassThruProtocolGuid # TO_START - gEfiDevicePathProtocolGuid # TO_START - gEfiStorageSecurityCommandProtocolGuid # BY_START - + gEfiDiskInfoProtocolGuid ## BY_START + gEfiBlockIoProtocolGuid ## BY_START + gEfiBlockIo2ProtocolGuid ## BY_START + ## TO_START + ## BY_START + gEfiDevicePathProtocolGuid + gEfiAtaPassThruProtocolGuid ## TO_START + gEfiStorageSecurityCommandProtocolGuid ## BY_START +[UserExtensions.TianoCore."ExtraFiles"] + AtaBusDxeExtra.uni -- cgit v1.2.3