Hi, > + // > + // Check CPU runs in 32bit mode. > + // > + MsrEfer.Uint64 = AsmReadMsr64 (MSR_CORE_IA32_EFER); > + if (MsrEfer.Bits.LMA == 1) {
Checking this at runtime is pointless. 32bit code would simply not work in long mode and visa versa. take care, Gerd -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#104382): https://edk2.groups.io/g/devel/message/104382 Mute This Topic: https://groups.io/mt/98780501/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-