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:
li-elvin
2011-10-10 01:43:13 +00:00
parent c4042207d6
commit befbc4f3fb
5 changed files with 27 additions and 39 deletions

View File

@@ -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