PI Enabling: the address of PeiServices Pointer should be

1) Set to preceding of IDT table in PeiCore's entry
2) Migrate to preceding of new memory IDT table when memory is discovery

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4059 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2
2007-10-09 08:16:53 +00:00
parent d173d9c761
commit 81c7803cf4
10 changed files with 165 additions and 19 deletions

View File

@@ -30,11 +30,29 @@ GetPeiServicesTablePointer (
VOID
);
/**
The function set the pointer of PEI services immediately preceding the IDT table
according to PI specification.
@param PeiServices The address of PeiServices pointer.
**/
VOID
EFIAPI
SetPeiServicesTablePointer (
EFI_PEI_SERVICES ** PeiServicesTablePointer
);
/**
After memory initialization in PEI phase, the IDT table in temporary memory should
be migrated to memory, and the address of PeiServicesPointer also need to be updated
immediately preceding the new IDT table.
@param PeiServices The address of PeiServices pointer.
**/
VOID
MigrateIdtTable (
IN EFI_PEI_SERVICES **PeiServices
);
#endif