From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id E109A941E1F for ; Sat, 24 Feb 2024 20:59:40 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=MkBXMqVLU1Nt5/cVMgAtAgutmExjdMTpatoY910ZHNE=; c=relaxed/simple; d=groups.io; h=Message-ID:Date:MIME-Version:From:To:Subject:Cc:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Language:Content-Type:Content-Transfer-Encoding; s=20140610; t=1708808379; v=1; b=KgztGXEjhmM2TJICf3HMyEOkCeQrhtcSC1d3Py7OgTeFfUqJgpU4LFI1+/mNPfAlnzwy8Vss +Qr+puwxaoPdYcwMxd7lXg1lZ2co9rdotXIGgKOOQD4L5lz7sQ8yPi+ze9bXLuMx7zsN+aS+P/B K6C9FxVtQFtFt4vG9Z8TCpWw= X-Received: by 127.0.0.2 with SMTP id 59pPYY7687511xy8tKXw8bf2; Sat, 24 Feb 2024 12:59:39 -0800 X-Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.groups.io with SMTP id smtpd.web10.27369.1708808378616391217 for ; Sat, 24 Feb 2024 12:59:38 -0800 X-Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-696-CBKrFDmSOPWF1wyJRR7Zsw-1; Sat, 24 Feb 2024 15:59:32 -0500 X-MC-Unique: CBKrFDmSOPWF1wyJRR7Zsw-1 X-Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7CFF01C05133; Sat, 24 Feb 2024 20:59:32 +0000 (UTC) X-Received: from [10.39.192.11] (unknown [10.39.192.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0560B1BDB1; Sat, 24 Feb 2024 20:59:30 +0000 (UTC) Message-ID: <5e147cee-9fed-a1c8-7358-1162fdaf8f12@redhat.com> Date: Sat, 24 Feb 2024 21:59:29 +0100 MIME-Version: 1.0 From: "Laszlo Ersek" To: edk2-devel-groups-io Subject: [edk2-devel] [v2] BaseTools/AutoGen: declare ProcessLibraryConstructorList() for SEC modules Cc: Bob Feng , Liming Gao , Michael D Kinney , Rebecca Cran , Yuwei Chen X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.5 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,lersek@redhat.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: jh0cdbzWBNWAhibOHXVVCAcTx7686176AA= Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=KgztGXEj; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=redhat.com (policy=none); spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io v1 posting: https://edk2.groups.io/g/devel/message/115193 msgid <36593e23-d3e8-b71a-808d-ef94260b5fd0@redhat.com> Bugzilla: https://bugzilla.tianocore.org/show_bug.cgi?id=3D991 In version 2, the feature is structured differently. Following Mike's advice, for compatibility, the ProcessLibraryConstructorList() declaration in AutoGen.h is now gated on the SEC module having INF_VERSION >=3D 1.30. Accordingly, - I now update the Build specification and the Inf specification (see patch sets posted in response to this email), - edk2 only receives a single patch (for AutoGen), for the time being, - the same edk2 patch is being ported to edk2-basetools: https://github.com/tianocore/edk2-basetools/pull/120. Next steps: once all of the above is merged, *and* an edk2-basetools release has been tagged and published, I'll rework the C code patches for edk2 and edk2-platforms, from the v1 patch sets, as follows: - all those SEC modules will have to see their INF_VERSIONs bumped to 1.30, for triggering the new code generation, - pip-requirements.txt/edk2-basetools will need to reference the new edk2-basetools release, for exposing the feature in the first place. Laszlo -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#115909): https://edk2.groups.io/g/devel/message/115909 Mute This Topic: https://groups.io/mt/104553597/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-