On 11/14/19 15:40, Wang, Jian J wrote: > I'm curious that you want to do the "degrade" dynamically at boot time not > build time, right?
Indeed, that's the whole point. When running on QEMU (considering all of arm/aarch64/i386/x86_64), the firmware can assume quite little of the underlying platform hardware; a single firmware binary is expected to support multiple (virtual) hardware configurations. Therefore several decisions have to be made dynamically at boot time, in the firmware, that physical firmware platforms can hard-wire at build time. (Of course this approach has its limits -- the most visible "platform split" that we do implement at build time is "QEMU vs. Xen". ArmVirtPkg implements this switch only at build time, and OvmfPkg will also fully adopt that approach in the future.) Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50672): https://edk2.groups.io/g/devel/message/50672 Mute This Topic: https://groups.io/mt/56714143/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-