On Fri, 15 May 2026, at 12:59, Ard Biesheuvel wrote: > On Thu, 14 May 2026, at 22:03, Oliver Smith-Denny wrote: >> On 5/14/2026 11:35 AM, Ard Biesheuvel via groups.io wrote: >>> On Thu, 14 May 2026, at 20:11, Oliver Smith-Denny wrote: >>>> On 5/13/2026 8:50 AM, Oliver Smith-Denny wrote: >>>>> On 5/13/2026 3:42 AM, Ard Biesheuvel via groups.io wrote: >>>>>> On Tue, 12 May 2026, at 22:02, Oliver Smith-Denny via groups.io wrote: >>>>>> >>>>>> (Untested attempt below) >>>>>> >>> ... >>>>> >>>>> Doug and I started down this path yesterday as well, I'll do some >>>>> testing of this today (and compare our version to yours, make sure we >>>>> didn't miss something). >>>>> >>>> >>>> This worked in our testing, both in the original crypto API failure >>>> case and a pair of test drivers I wrote that communicate via protocol, >>>> calling variadic functions (which should always work, but I wanted to >>>> make sure) and passing VA_LIST as a parameter. Each side validated the >>>> expected input/output. I tried all four combinations of GCC vs CLANGPDB >>>> built consumer/producer and all worked (without this change all >>>> four combinations were broken). >>> >>> VA_LIST or VA_LIST* ? >>> >> >> I had originally tested with VA_LIST because that was the failing case, >> but because VA_LIST* would be the correct version I also just tested >> that and it works in all cases. >> >> Doug is going to put up a change for VA_LIST -> VA_LIST * separately. >> > > Considering that > > a) there is no mention of VA_LIST in the UEFI or PI specs > b) this is an EDK2 internal protocol, and will remain so given a) > c) there is already prior art in EDK2 (e.g. PrintLib) for passing > a VA_LIST by reference by *value* -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121956): https://edk2.groups.io/g/devel/message/121956 Mute This Topic: https://groups.io/mt/119278849/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
Re: [edk2-devel] VA_LIST on AARCH64 GCC vs CLANGPDB
Ard Biesheuvel via groups.io Fri, 15 May 2026 04:00:25 -0700
- Re: [edk2-devel] VA_LIST on AARCH64 GCC v... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA_LIST on AARCH64 ... Ard Biesheuvel via groups.io
- Re: [edk2-devel] VA_LIST on AARC... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA_LIST on ... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA_LIST... Ard Biesheuvel via groups.io
- Re: [edk2-devel] VA... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA... Ard Biesheuvel via groups.io
- Re: [edk2-devel] VA... Oliver Smith-Denny via groups.io
- Re: [edk2-devel] VA... Ard Biesheuvel via groups.io
- Re: [edk2-devel] VA... Ard Biesheuvel via groups.io
- Re: [edk2-devel] VA... Oliver Smith-Denny via groups.io
