+
+%macro tdcall 0
+    db 0x66,0x0f,0x01,0xcc
+%endmacro

1. can you please check whether the tdcall instruction is supported by latest 
NASM compiler?


+    AsmCpuid (CPUID_VERSION_INFO, NULL, NULL, &Ecx, NULL);
+    if ((Ecx & BIT31) == 0) {

2. Can you please update CPUID_VERSION_INFO_ECX in 
MdePkg/Include/Regiter/Intel/Cpuid.h for the BIT31?

+      break;
+    }
+
+    if (LargestEax < 0x21) {
+      break;
+    }
+
+    AsmCpuidEx (0x21, 0, &Eax, &Ebx, &Ecx, &Edx);
+    if (  (Ebx != SIGNATURE_32 ('I', 'n', 't', 'e'))
+       || (Edx != SIGNATURE_32 ('l', 'T', 'D', 'X'))
+       || (Ecx != SIGNATURE_32 (' ', ' ', ' ', ' ')))
+    {
+      break;
+    }
+

3. Similar comment as #2.


+%macro tdcall 0
+    db 0x66,0x0f,0x01,0xcc
+%endmacro

4. similar comment as #1.



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#87569): https://edk2.groups.io/g/devel/message/87569
Mute This Topic: https://groups.io/mt/89725391/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to