assume PeiServices Pointer Table can be located in a standard way defined in PI spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5955
6f19259b-4bc3-4df7-8a09-
765794883524
IN CONST EFI_PEI_SERVICES **PeiServices\r
)\r
{\r
+ //\r
+ // This thunk module can only be used together with a PI PEI core, as we \r
+ // assume PeiServices Pointer Table can be located in a standard way defined\r
+ // in PI spec.\r
+ //\r
+ ASSERT ((*PeiServices)->Hdr.Revision >= 0x00010000);\r
return (*PeiServices)->InstallPpi (PeiServices, &mPpiFrameworkLoadFile);\r
}\r
\r
{\r
VOID *Interface;\r
EFI_STATUS Status;\r
+ //\r
+ // This thunk module can only be used together with a PI PEI core, as we \r
+ // assume PeiServices Pointer Table can be located in a standard way defined\r
+ // in PI spec.\r
+ //\r
+ ASSERT ((*PeiServices)->Hdr.Revision >= 0x00010000);\r
\r
//\r
// Make sure ReadOnlyVariable2ToReadOnlyVariable module is not present. If so, the call chain will form a\r