On S3 path, S3NvsPageTableAddress () (in UefiCpuPkg/Universal/Acpi/S3Resume.c) will re-create Page Table since we cannot trust the original Page Table saved in ACPINvs memory more. Moreover, we only create page table for < 4G address is due to performance concern.
When programming boot script entries, we may access > 4 G MMIO or memory address. Thus, One Page Fault exception handler is required to build Page entry in case > 4G address accessed. Jeff -----Original Message----- From: [email protected] [mailto:[email protected]] Sent: Thursday, October 23, 2014 5:55 PM To: [email protected] Subject: Re: [edk2] question about setuping IDT in UEFI boot procedure Hi, Jeff: MdeModulePkg\Universal\Acpi\BootScriptExecutorDxe\X64\SetIdtEntry.c will hook page fault handler. So, is there any story about adding this hook function? I want to understand why adding this code. Thanks a lot! Best wishes, ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel ------------------------------------------------------------------------------ _______________________________________________ edk2-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/edk2-devel
