From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 5420121962333 for ; Sun, 18 Jun 2017 19:54:10 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Jun 2017 19:55:31 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.39,359,1493708400"; d="scan'208";a="869352091" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by FMSMGA003.fm.intel.com with ESMTP; 18 Jun 2017 19:55:31 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 18 Jun 2017 19:55:30 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.197]) with mapi id 14.03.0319.002; Mon, 19 Jun 2017 10:55:28 +0800 From: "Zeng, Star" To: "Bi, Dandan" , "edk2-devel@lists.01.org" CC: "Gao, Liming" , "Zeng, Star" Thread-Topic: [patch 7/8] MdePkg: Clean ACPI 2.0 characters in UEFI spec Thread-Index: AQHS6JqCQM91DaPVpECP0TqpHlfRoqIrfbzg Date: Mon, 19 Jun 2017 02:55:27 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B8E8DCE@shsmsx102.ccr.corp.intel.com> References: <1497835292-34476-1-git-send-email-dandan.bi@intel.com> <1497835292-34476-8-git-send-email-dandan.bi@intel.com> In-Reply-To: <1497835292-34476-8-git-send-email-dandan.bi@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [patch 7/8] MdePkg: Clean ACPI 2.0 characters in UEFI spec X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jun 2017 02:54:10 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: Bi, Dandan=20 Sent: Monday, June 19, 2017 9:22 AM To: edk2-devel@lists.01.org Cc: Gao, Liming ; Zeng, Star Subject: [patch 7/8] MdePkg: Clean ACPI 2.0 characters in UEFI spec Cc: Liming Gao Cc: Star Zeng Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dandan Bi --- MdePkg/Include/Protocol/PciIo.h | 25 ++++++++++++------------- MdePkg/Include/Protocol/PciRootBridgeIo.h | 18 +++++++++--------- 2 files changed, 21 insertions(+), 22 deletions(-) diff --git a/MdePkg/Include/Protocol/PciIo.h b/MdePkg/Include/Protocol/PciI= o.h index 6068260..42bcc81 100644 --- a/MdePkg/Include/Protocol/PciIo.h +++ b/MdePkg/Include/Protocol/PciIo.h @@ -1,10 +1,10 @@ /** @file EFI PCI I/O Protocol provides the basic Memory, I/O, PCI configuration,= =20 and DMA interfaces that a driver uses to access its PCI controller. =20 - Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2017, Intel Corporation. All rights=20 + reserved.
This program and the accompanying materials =20 are licensed and made available under the terms and conditions of the BS= D License =20 which accompanies this distribution. The full text of the license may b= e found at =20 http://opensource.org/licenses/bsd-license.php = =20 =20 @@ -446,31 +446,30 @@ EFI_STATUS IN EFI_PCI_IO_PROTOCOL_ATTRIBUTE_OPERATION Operation, IN UINT64 Attributes, OUT UINT64 *Result OPTIONAL ); =20 -/** =20 +/** Gets the attributes that this PCI controller supports setting on a BAR u= sing SetBarAttributes(), and retrieves the list of resource descriptors for a= BAR. - =20 - @param This A pointer to the EFI_PCI_IO_PROTOCOL insta= nce. =20 + + @param This A pointer to the EFI_PCI_IO_PROTOCOL insta= nce. @param BarIndex The BAR index of the standard PCI Configur= ation header to use as the base address for resource range. The legal= range for this field is 0..5. @param Supports A pointer to the mask of attributes that t= his PCI controller supports - setting for this BAR with SetBarAttributes= (). =20 - @param Resources A pointer to the ACPI 2.0 resource descrip= tors that describe the current - configuration of this BAR of the PCI contr= oller. =20 + setting for this BAR with SetBarAttributes= (). + @param Resources A pointer to the resource descriptors that= describe the current + configuration of this BAR of the PCI contr= oller. =20 - @retval EFI_SUCCESS If Supports is not NULL, then the attribut= es that the PCI =20 - controller supports are returned in Suppor= ts. If Resources =20 - is not NULL, then the ACPI 2.0 resource de= scriptors that the PCI - controller is currently using are returned= in Resources. =20 + @retval EFI_SUCCESS If Supports is not NULL, then the attribut= es that the PCI + controller supports are returned in Suppor= ts. If Resources + is not NULL, then the resource descriptors= that the PCI + controller is currently using are returned= in Resources. @retval EFI_INVALID_PARAMETER Both Supports and Attributes are NULL. @retval EFI_UNSUPPORTED BarIndex not valid for this PCI controller= . @retval EFI_OUT_OF_RESOURCES There are not enough resources available t= o allocate - Resources. = =20 - =20 + Resources. **/ typedef EFI_STATUS (EFIAPI *EFI_PCI_IO_PROTOCOL_GET_BAR_ATTRIBUTES)( IN EFI_PCI_IO_PROTOCOL *This, diff --git a/MdePkg/Include/Protocol/PciRootBridgeIo.h b/MdePkg/Include/Pro= tocol/PciRootBridgeIo.h index 449dcba..fed5385 100644 --- a/MdePkg/Include/Protocol/PciRootBridgeIo.h +++ b/MdePkg/Include/Protocol/PciRootBridgeIo.h @@ -3,11 +3,11 @@ =20 PCI Root Bridge I/O protocol is used by PCI Bus Driver to perform PCI Me= mory, PCI I/O,=20 and PCI Configuration cycles on a PCI Root Bridge. It also provides serv= ices to perform=20 defferent types of bus mastering DMA. =20 - Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2017, Intel Corporation. All rights=20 + reserved.
This program and the accompanying materials =20 are licensed and made available under the terms and conditions of the BS= D License =20 which accompanies this distribution. The full text of the license may b= e found at =20 http://opensource.org/licenses/bsd-license.php = =20 =20 @@ -385,22 +385,22 @@ EFI_STATUS IN OUT UINT64 *ResourceBase, IN OUT UINT64 *ResourceLength ); =20 /** =20 - Retrieves the current resource settings of this PCI root bridge in the f= orm of a set of ACPI 2.0 - resource descriptors. = =20 + Retrieves the current resource settings of this PCI root bridge in=20 + the form of a set of ACPI resource descriptors. =20 @param This A pointer to the EFI_PCI_ROOT_BRIDGE_IO_PR= OTOCOL. - @param Resources A pointer to the ACPI 2.0 resource descrip= tors that describe the current - configuration of this PCI root bridge. = =20 - =20 + @param Resources A pointer to the resource descriptors that= describe the current + configuration of this PCI root bridge. + @retval EFI_SUCCESS The current configuration of this PCI root= bridge was returned in - Resources. = = =20 + Resources. @retval EFI_UNSUPPORTED The current configuration of this PCI root= bridge could not be - retrieved. = =20 - =20 + retrieved. + **/ typedef EFI_STATUS (EFIAPI *EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL_CONFIGURATION)( IN EFI_PCI_ROOT_BRIDGE_IO_PROTOCOL *This, -- 1.9.5.msysgit.1