Dear All: I met a question during debug multi-processor code. I found if AP's procedure call GetPeiServicesTablePointer function , then it would hang. GetPeiServicesTablePointer ( VOID ) { CONST EFI_PEI_SERVICES **PeiServices; IA32_DESCRIPTOR Idtr;
AsmReadIdtr (&Idtr); PeiServices = (CONST EFI_PEI_SERVICES **) (*(UINTN*)(Idtr.Base - sizeof (UINTN))); ASSERT (PeiServices != NULL); return PeiServices; } It seems BSP and AP use different IDT table? Why? Thanks 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This email contains confidential or legally privileged information and is for the sole use of its intended recipient. Any unauthorized review, use, copying or forwarding of this email or the content of this email is strictly prohibited. -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#50824): https://edk2.groups.io/g/devel/message/50824 Mute This Topic: https://groups.io/mt/60171891/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-