Use PCD for PMM size and EndOpromShadowAddress to remove hard code value in CSM module.
Signed-off-by: li-elvin Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12519 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -158,11 +158,6 @@ typedef struct {
|
||||
|
||||
#endif
|
||||
|
||||
//
|
||||
// Miscellaneous numbers
|
||||
//
|
||||
#define PMM_MEMORY_SIZE 0x400000 // 4 MB
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
//
|
||||
@@ -494,8 +489,6 @@ extern BBS_TABLE *mBbsTable;
|
||||
|
||||
extern EFI_GENERIC_MEMORY_TEST_PROTOCOL *gGenMemoryTest;
|
||||
|
||||
extern UINTN mEndOpromShadowAddress;
|
||||
|
||||
#define PORT_70 0x70
|
||||
#define PORT_71 0x71
|
||||
|
||||
|
Reference in New Issue
Block a user