Remove the #ifdef style code ported from EDK tree. EdkII use PCD for customization.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3793 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8 2007-09-11 06:07:15 +00:00
parent 9c5e6f8304
commit ad7e30a0e3
6 changed files with 3 additions and 27 deletions

View File

@ -2386,7 +2386,7 @@ InitializeBCDriver (
SystemTable, SystemTable,
&mPxeBcDriverBinding, &mPxeBcDriverBinding,
NULL, NULL,
COMPONENT_NAME, &gPxeBcComponentName,
NULL, NULL,
NULL NULL
); );

View File

@ -436,14 +436,6 @@ PxeBcLibGetSmbiosSystemGuidAndSerialNumber (
) )
; ;
#ifdef EFI_SIZE_REDUCTION_APPLIED
#define COMPONENT_NAME_CODE(code)
#define COMPONENT_NAME NULL
#else
#define COMPONENT_NAME_CODE(code) code
#define COMPONENT_NAME &gPxeBcComponentName
#endif
// //
// Define SMBIOS tables. // Define SMBIOS tables.

View File

@ -99,7 +99,7 @@ PxeDhcp4DriverEntryPoint (
SystemTable, SystemTable,
&gPxeDhcp4DriverBinding, &gPxeDhcp4DriverBinding,
NULL, NULL,
COMPONENT_NAME, &gPxeDhcp4ComponentName,
NULL, NULL,
NULL NULL
); );

View File

@ -340,14 +340,6 @@ Returns:
--*/ --*/
; ;
#ifdef EFI_SIZE_REDUCTION_APPLIED
#define COMPONENT_NAME_CODE(code)
#define COMPONENT_NAME NULL
#else
#define COMPONENT_NAME_CODE(code) code
#define COMPONENT_NAME &gPxeDhcp4ComponentName
#endif
#endif /* _PXEDHCP4_H */ #endif /* _PXEDHCP4_H */
/* EOF - PxeDhcp4.h */ /* EOF - PxeDhcp4.h */

View File

@ -1262,7 +1262,7 @@ InitializeSnpNiiDriver (
SystemTable, SystemTable,
&mSimpleNetworkDriverBinding, &mSimpleNetworkDriverBinding,
NULL, NULL,
COMPONENT_NAME, &gSimpleNetworkComponentName,
NULL, NULL,
NULL NULL
); );

View File

@ -426,14 +426,6 @@ InitializeSnpNiiDriver (
) )
; ;
#ifdef EFI_SIZE_REDUCTION_APPLIED
#define COMPONENT_NAME_CODE(code)
#define COMPONENT_NAME NULL
#else
#define COMPONENT_NAME_CODE(code) code
#define COMPONENT_NAME &gSimpleNetworkComponentName
#endif
#define SNP_MEM_PAGES(x) (((x) - 1) / 4096 + 1) #define SNP_MEM_PAGES(x) (((x) - 1) / 4096 + 1)