]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmPlatformPkg/PeiServicesTablePointerLib: Update PeiServicesTablePointerLib instance...
authorGao, Liming <liming.gao@intel.com>
Wed, 15 Jan 2014 11:51:38 +0000 (11:51 +0000)
committeroliviermartin <oliviermartin@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 15 Jan 2014 11:51:38 +0000 (11:51 +0000)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Gao, Liming <liming.gao@intel.com>
Reviewed-By: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15120 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/Library/PeiServicesTablePointerLib/PeiServicesTablePointer.c

index cb0041f90dc8c1361245d054a414546a3693f5b3..8be91c000d37b719a1703875863fde88b7172ba4 100644 (file)
@@ -67,4 +67,24 @@ GetPeiServicesTablePointer (
   return (CONST EFI_PEI_SERVICES**)PeiServicesTablePointer;\r
 }\r
 \r
+/**\r
+  Perform CPU specific actions required to migrate the PEI Services Table \r
+  pointer from temporary RAM to permanent RAM.\r
+\r
+  For IA32 CPUs, the PEI Services Table pointer is stored in the 4 bytes \r
+  immediately preceding the Interrupt Descriptor Table (IDT) in memory.\r
+  For X64 CPUs, the PEI Services Table pointer is stored in the 8 bytes \r
+  immediately preceding the Interrupt Descriptor Table (IDT) in memory.\r
+  For Itanium and ARM CPUs, a the PEI Services Table Pointer is stored in\r
+  a dedicated CPU register.  This means that there is no memory storage \r
+  associated with storing the PEI Services Table pointer, so no additional \r
+  migration actions are required for Itanium or ARM CPUs.\r
 \r
+**/\r
+VOID\r
+EFIAPI\r
+MigratePeiServicesTablePointer (\r
+  )\r
+{\r
+  return;\r
+}\r