public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Clarification about InitializeCpuExceptionHandlers() and TGE bit in hcr_el2
@ 2017-09-28 11:23 Vabhav Sharma
  2017-09-28 14:00 ` Andrew Fish
  0 siblings, 1 reply; 6+ messages in thread
From: Vabhav Sharma @ 2017-09-28 11:23 UTC (permalink / raw)
  To: edk2-devel@lists.01.org, edk2-devel

Hi All,

I see that InitializeCpuExceptionHandlers() is called from DxeMain to take over exception handlers and later from ArmCpuDxe.
Is there any specific purpose to call it from two places during dxe phase?

Additionally we are setting TGE bit three times in hcr_el2 during PrePei phase(ArmPlatformPkg/PrePi/AArch64/ArchPrePi.c)
and Twice in Dxe phase: dxemain(),ArmCpuDxe

Please help to clarify or required to be fixed?

Regards,
Vabhav


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

end of thread, other threads:[~2017-10-05 17:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-28 11:23 Clarification about InitializeCpuExceptionHandlers() and TGE bit in hcr_el2 Vabhav Sharma
2017-09-28 14:00 ` Andrew Fish
2017-10-05 16:53   ` Vabhav Sharma
2017-10-05 17:02     ` Andrew Fish
2017-10-05 17:14       ` Vabhav Sharma
2017-10-05 17:20         ` Andrew Fish

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