From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=67.231.154.164; helo=dispatch1-us1.ppe-hosted.com; envelope-from=tpilar@solarflare.com; receiver=edk2-devel@lists.01.org Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.164]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EEB1E21184AD9 for ; Mon, 29 Oct 2018 03:48:31 -0700 (PDT) X-Virus-Scanned: Proofpoint Essentials engine Received: from webmail.solarflare.com (webmail.solarflare.com [12.187.104.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mx1-us1.ppe-hosted.com (Proofpoint Essentials ESMTP Server) with ESMTPS id DEFA6780064 for ; Mon, 29 Oct 2018 10:48:30 +0000 (UTC) Received: from tp-desktop.uk.solarflarecom.com (10.17.20.51) by ocex03.SolarFlarecom.com (10.20.40.36) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Mon, 29 Oct 2018 03:48:27 -0700 From: "Tomas Pilar (tpilar)" To: "edk2-devel@lists.01.org" Message-ID: Date: Mon, 29 Oct 2018 10:48:26 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 X-Originating-IP: [10.17.20.51] X-TM-AS-Product-Ver: SMEX-12.5.0.1300-8.5.1010-24186.005 X-TM-AS-Result: No-4.204700-4.000000-10 X-TMASE-MatchedRID: WUzo1xH+fr8LYCfOeHh8DhWCVBr+Ay98IaLR+2xKRDKInvV8Dy0ZaCDV X+rtfKhFNEOprWfLXKfijpjet3oGSLx9O/Q2xC0L6/xAZojbl7escK/K2Dlvjny/Hx1AgJrrCS6 IUmxCo5G438rGDHBskXbU0mOCW+Dhxh2nWkbgDr+PYUYzX2Xjl/+UEb65dgmQmP1Huhu1yDL6WY 1kIqgZYWisOpYBnQRyzB9INLamWmAEvIQwXVp+qLMsPmSZxbpkveCbyZ3xax5b8pv4L0h+Itozb eODnXpl8IW0ZLh0Dxp4Quct3hKEpgmQZcmlOSaBngIgpj8eDcC063Wh9WVqgt063cjuGtrt+gtH j7OwNO0om+oXB9/U892eWL5ufSPy/WYooyyOKFO621+vwr6cmF7zaRjnHkf9pJuqno/F7G3thIq Bpk5pr3ahENt03isnokcE4CnRYmeRoyTfV3T1XZ2KgpP+8x4acCbTU5GcrAGveZAKPQu/KQdiTO aBfValwL6SxPpr1/I= X-TM-AS-User-Approved-Sender: No X-TM-AS-User-Blocked-Sender: No X-TMASE-Result: 10--4.204700-4.000000 X-TMASE-Version: SMEX-12.5.0.1300-8.5.1010-24186.005 X-MDID: 1540810111-nkqNZ4Sl6Jt7 Subject: [edk2-InfSpecification][PATCH v2] Amend the OptionROM specification to allow multiple PCI_DEVICE_IDs X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Oct 2018 10:48:32 -0000 Content-Type: text/plain; charset="windows-1252" Content-Language: en-US Content-Transfer-Encoding: 7bit The BaseTools have been updated to allow multiple PCI_DEVICE_IDs following the Device List introduced in the PCI Spec rev 3.0. This change documents the syntax. Signed-off-by: Tomas Pilar Contributed-under: TianoCore Contribution Agreement 1.1 --- 2_inf_overview/24_[defines]_section.md | 2 +- 3_edk_ii_inf_file_format/34_[defines]_section.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/2_inf_overview/24_[defines]_section.md b/2_inf_overview/24_[defines]_section.md index 0afdfed..8e5706c 100644 --- a/2_inf_overview/24_[defines]_section.md +++ b/2_inf_overview/24_[defines]_section.md @@ -128,7 +128,7 @@ dispatch instance. |`CONSTRUCTOR` |Not required - Library Only |CName | This only applies to components that are libraries. It is required for EDK II libraries if the module's INF contains a Constructor element. This value is used to call the specified function before calling into the library itself. | |`DESTRUCTOR` |Not required - Library Only |CName | This only applies to components that are libraries. This value is used to call the specified function before calling into the library itself. | |`SHADOW` |Not required - SEC, PEIM and PEI_CORE Driver modules only |TRUE | FALSE | This boolean operator is used by `SEC`, `PEI_CORE` and `PEIM` modules to indicate if the module was coded to use `REGISTER_FOR_SHADOW`. If the value is TRUE, the .reloc section of the PE32 image is not removed, otherwise, the .reloc section is stripped to conserve space in the final binary images. The default value is FALSE. | -|`PCI_DEVICE_ID` |Not required - Required for UEFI PCI Option ROMs |UINT16 Value | The PCI Device Id for this device | +|`PCI_DEVICE_ID` |Not required - Required for UEFI PCI Option ROMs |List of UINT16 Values | The list of PCI Device Ids for this device | |`PCI_VENDOR_ID` |Not required - Required for UEFI PCI Option ROMs |UINT16 Value | The PCI Vendor Id for this device | |`PCI_CLASS_CODE` |Not required - Required for UEFI PCI Option ROMs |UINT8 Value | The PCI Class Code for this device | |`PCI_REVISION` |Not required - Required for UEFI PCI Option ROMs |UINT8 Value | The PCI revision for this device | diff --git a/3_edk_ii_inf_file_format/34_[defines]_section.md b/3_edk_ii_inf_file_format/34_[defines]_section.md index f512ff9..394db53 100644 --- a/3_edk_ii_inf_file_format/34_[defines]_section.md +++ b/3_edk_ii_inf_file_format/34_[defines]_section.md @@ -173,7 +173,7 @@ recommended. ::= ::= {} {(0-9))+ "." (0-9)+} ::= "PCI_VENDOR_ID" - "PCI_DEVICE_ID" + "PCI_DEVICE_ID" [ ]* "PCI_CLASS_CODE" "PCI_REVISION" [ "PCI_COMPRESS" ] -- 2.17.2