Change MAX_PPI_DESCRIPTORS to FixedPcd PcdPeiCoreMaxPpiSupported, the default value is 64. Maybe other platform requires more than 64 Ppi and set this Pcd value.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5061 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -67,15 +67,13 @@ typedef union {
|
||||
VOID *Raw;
|
||||
} PEI_PPI_LIST_POINTERS;
|
||||
|
||||
#define MAX_PPI_DESCRIPTORS 64
|
||||
|
||||
typedef struct {
|
||||
INTN PpiListEnd;
|
||||
INTN NotifyListEnd;
|
||||
INTN DispatchListEnd;
|
||||
INTN LastDispatchedInstall;
|
||||
INTN LastDispatchedNotify;
|
||||
PEI_PPI_LIST_POINTERS PpiListPtrs[MAX_PPI_DESCRIPTORS];
|
||||
PEI_PPI_LIST_POINTERS PpiListPtrs[FixedPcdGet32 (PcdPeiCoreMaxPpiSupported)];
|
||||
} PEI_PPI_DATABASE;
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user