Re: [edk2-devel] 回复: [PATCH 1/1] MdePkg: Add new JedecJep106Lib to fetch JEDEC JEP106 manufacturer

Rebecca Cran rebecca at bsdio.com
Tue Mar 14 18:09:10 UTC 2023


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.
>> +
>> + at 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



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#101171): https://edk2.groups.io/g/devel/message/101171
Mute This Topic: https://groups.io/mt/97512168/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-




More information about the edk2-devel-archive mailing list