On Wed, Nov 19, 2025 at 08:07:59PM +0100, Ard Biesheuvel wrote: > On Wed, 19 Nov 2025 at 13:51, Gerd Hoffmann via groups.io > <[email protected]> wrote: > > > > > > https://github.com/tianocore/edk2/pull/11770 > > > > > > That patch did not apply cleanly on current edk2 master[46548b1]. > > > > Just pull the branch (https://github.com/kraxel/edk2/tree/devel/vc-no-cmp). > > > > > + CopyMem (&Hdr, FwVolHeader, sizeof (Hdr)); > > > > > Invalid MMIO opcode (A5) > > > > String move instruction. So we are trading one unsupported for another > > unsupported. Pushed an incremental fix to the branch, avoiding > > CopyMem() too. > > Can we use MMIO accessors here instead? Any plain access might be > reordered/combined to produce another unsupported opcode, no?
I don't think so, the header can be in rom or ram too. The other alternative I see is fixing the emulation ... take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#121690): https://edk2.groups.io/g/devel/message/121690 Mute This Topic: https://groups.io/mt/115616009/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
