On Wed, Oct 19, 2022 at 14:19:28 +0100, Sami Mujawar wrote: > > > Considering this, should QemuNorFlashDxe be called OvmfNorFlashDxe? > > > > > > [/SAMI] > > > > > Ah yes, good point. So using Qemu as a prefix is slightly problematic. > > > > My intent is for this driver to be optimized towards NOR flash > > emulation the way QEMU implements it. The main difference between the > > platforms is that some of them (notably, ArmVirtQemu.dsc) also execute > > from the emulated region, which requires an executable (read-only) > > memslot in KVM, as instruction fetches (as opposed to explicit loads > > and stores) cannot be emulated by KVM. KvmTool only uses the NOR flash > > for variables, so it doesn't really care how the emulation is > > implemented, as long as the loads and stores are carried out in the > > expected way. > > > > I don't think the Ovmf prefix makes sense here either - OVMF is still > > primarily x86, which uses a different flash emulation altogether. > > Maybe VirtNorFlashDxe, to emphasize that it does not expect to be > > dealing with actual NOR flash? > > VirtNorFlashDxe sounds good to me.
Sounds good to me too. / Leif -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#95403): https://edk2.groups.io/g/devel/message/95403 Mute This Topic: https://groups.io/mt/94233036/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-