From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) by mx.groups.io with SMTP id smtpd.web11.1926.1678817353425095585 for ; Tue, 14 Mar 2023 11:09:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="signature has expired" header.i=@bsdio.com header.s=fm3 header.b=BCkn1pj9; spf=pass (domain: bsdio.com, ip: 64.147.123.25, mailfrom: rebecca@bsdio.com) Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id A711B32009CA; Tue, 14 Mar 2023 14:09:12 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 14 Mar 2023 14:09:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdio.com; h=cc :content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1678817352; x=1678903752; bh=i3xxX+WzHbRaGDDH1I2v/BSu0X+BOR4q+CP QtmJ3Mfk=; b=BCkn1pj9r9rjNsciWviYFkfMwhIdxLI8cmeoZplwhaVh5BtAjk4 /EAf0z35/7SXA04hJhYd9DKRjGm97OC1WPdXEWqe3SRM4o9aFPX6DRVv7Xc6jCsk s6uzQt7YJXR7aa6oMPBq+dZ+uQQCR0V+Fn+Jz6FbCwzvmRQFErkd/f2kdX6DsNmB T0q9GLf7xrXXR1Cl1lhLYewMkmIUnU+hwTIMtPGWKR42mZ5NnbE3PzOwzu5W8Ql5 Qezm5z+AV4w69m2033VEYlWycTO8MhK4P1QgAZpZvW7Z/sO3zXFTDO6eGhkC+Oci jGww4Gahi3kPyfCjHKc1yXtAzY6Xf76rq/w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1678817352; x= 1678903752; bh=i3xxX+WzHbRaGDDH1I2v/BSu0X+BOR4q+CPQtmJ3Mfk=; b=m YdL/0Xpn3Ztn9BCDbvVlVKQ4bGY1TfecQZBpTqupWveKI97otWizdDq8ZaClQPcL IJwD+oNpABthC13R8QUsvYTyffDQB1JvsxY7GJ7qEfKkF6V3sNMOS4nF5+pasEJ5 hIleseFi+8Bc875dsYvSvhJKjxiXDANykTRze/50lWPAntTefNZjxskU7bAwq+pW ph6N+N0Eljp6oqqSpEEMkjNjdtvm7WSO3YyWofEIscLhZPazdQyqWzV8HKpkBfQ3 TlDNMhS49Eio6jl5h4nthsVFRxfpo4YlWxsb+x8ocGS6q6Vgs8OIjNOQFeLdUUdD /6oZyuuKSB1r/bJn0zCUA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvddviedgudduudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftvggs vggttggrucevrhgrnhcuoehrvggsvggttggrsegsshguihhordgtohhmqeenucggtffrrg htthgvrhhnpeeludevtdeltdevvdeuudegueduieeitdeuuddvffeukeefjeffuddvteej veffvdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe hrvggsvggttggrsegsshguihhordgtohhm X-ME-Proxy: Feedback-ID: i5b994698:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 14 Mar 2023 14:09:11 -0400 (EDT) Message-ID: <80aaa7f8-f3f8-23e4-b56a-68938049d634@bsdio.com> Date: Tue, 14 Mar 2023 12:09:10 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: =?UTF-8?B?UmU6IFtlZGsyLWRldmVsXSDlm57lpI06IFtQQVRDSCAxLzFdIE1kZVBrZzogQWRkIG5ldyBKZWRlY0plcDEwNkxpYiB0byBmZXRjaCBKRURFQyBKRVAxMDYgbWFudWZhY3R1cmVy?= To: devel@edk2.groups.io, gaoliming@byosoft.com.cn, 'Michael D Kinney' , 'Zhiguang Liu' References: <20230214190643.569823-1-rebecca@quicinc.com> <009901d952fb$7bb0e600$7312b200$@byosoft.com.cn> From: "Rebecca Cran" In-Reply-To: <009901d952fb$7bb0e600$7312b200$@byosoft.com.cn> Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 3/9/23 7:53 PM, gaoliming via groups.io wrote: >> +/** >> + Looks up the JEP-106 manufacturer. >> + >> + @param Code Last non-zero byte of the manufacturer's >> ID code. >> + @param ContinuationBytes Number of continuation bytes indicated in >> JEP-106. >> + >> + @return The manufacturer string, or NULL if an error occurred or the >> + combination of Code and ContinuationBytes are not valid. >> + >> +**/ >> +CONST CHAR8 * >> +Jep106GetManufacturerName ( >> + IN UINT8 Code, >> + IN UINT8 ContinuationBytes >> + ); >> + > Library API needs EFIAPI. Thanks, I'll fix it. > >> +/** >> + Returns the length of the longest manufacturer name. >> + >> +@return The length of the longest manufacturer name. >> + >> +**/ >> +UINTN >> +Jep106GetLongestManufacturerName ( >> + VOID >> + ); >> + > What usage is for this new API? I have a new SPD Type17 library I'm working on that will use this. -- Rebecca Cran