public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Is Xcode5ExceptionHandlerAsm.nasm still needed?
@ 2023-03-30 10:16 Ni, Ray
  2023-03-30 10:48 ` [edk2-devel] " Ard Biesheuvel
  2023-03-30 15:30 ` Michael D Kinney
  0 siblings, 2 replies; 10+ messages in thread
From: Ni, Ray @ 2023-03-30 10:16 UTC (permalink / raw)
  To: Andrew Fish; +Cc: Kinney, Michael D, devel@edk2.groups.io, Liu, Zhiguang

[-- Attachment #1: Type: text/plain, Size: 668 bytes --]

Andrew,
In UefiCpuPkg\Library\CpuExceptionHandlerLib\X64\, there are two nasm files: ExceptionHandlerAsm.nasm and the other XCODE version.

The major diff between the two is the second operand in "mov rax, ASM_PFX(CommonInterruptEntry)" is patched at runtime by code, instead of relying on linker/loader to fix it.
Can I know more background why it's needed for XCODE?

Given Apple is switching away from X86 CPU, is the XCODE version still needed?

+ Mike because I found another commit by you for bug: 565 - Fix X64 XCODE5/NASM compatibility issue in UefiCpuPkg MpInitLib (tianocore.org)<https://bugzilla.tianocore.org/show_bug.cgi?id=565>.

Thanks,
Ray

[-- Attachment #2: Type: text/html, Size: 4225 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2023-03-30 17:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-30 10:16 Is Xcode5ExceptionHandlerAsm.nasm still needed? Ni, Ray
2023-03-30 10:48 ` [edk2-devel] " Ard Biesheuvel
2023-03-30 11:47   ` Ard Biesheuvel
2023-03-30 14:25     ` Ni, Ray
2023-03-30 15:04       ` Ard Biesheuvel
2023-03-30 16:33         ` Ard Biesheuvel
2023-03-30 16:47           ` Ard Biesheuvel
2023-03-30 16:54           ` Rebecca Cran
2023-03-30 17:03             ` Ard Biesheuvel
2023-03-30 15:30 ` Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox