mirror of https://github.com/acidanthera/audk.git
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:
parent
9c5e6f8304
commit
ad7e30a0e3
|
@ -2386,7 +2386,7 @@ InitializeBCDriver (
|
||||||
SystemTable,
|
SystemTable,
|
||||||
&mPxeBcDriverBinding,
|
&mPxeBcDriverBinding,
|
||||||
NULL,
|
NULL,
|
||||||
COMPONENT_NAME,
|
&gPxeBcComponentName,
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
|
@ -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.
|
||||||
|
|
|
@ -99,7 +99,7 @@ PxeDhcp4DriverEntryPoint (
|
||||||
SystemTable,
|
SystemTable,
|
||||||
&gPxeDhcp4DriverBinding,
|
&gPxeDhcp4DriverBinding,
|
||||||
NULL,
|
NULL,
|
||||||
COMPONENT_NAME,
|
&gPxeDhcp4ComponentName,
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
|
@ -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 */
|
||||||
|
|
|
@ -1262,7 +1262,7 @@ InitializeSnpNiiDriver (
|
||||||
SystemTable,
|
SystemTable,
|
||||||
&mSimpleNetworkDriverBinding,
|
&mSimpleNetworkDriverBinding,
|
||||||
NULL,
|
NULL,
|
||||||
COMPONENT_NAME,
|
&gSimpleNetworkComponentName,
|
||||||
NULL,
|
NULL,
|
||||||
NULL
|
NULL
|
||||||
);
|
);
|
||||||
|
|
|
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue