Update to support to produce Component Name and & Component Name 2 protocol based on Feature flag PcdComponentNameDisable & PcdComponentName2Disable.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4006 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-09-30 03:08:02 +00:00
parent 5bca971e54
commit 83cbd279b6
68 changed files with 11129 additions and 9421 deletions

View File

@@ -2381,15 +2381,14 @@ InitializeBCDriver (
//
// Initialize EFI library
//
Status = EfiLibInstallAllDriverProtocols (
ImageHandle,
SystemTable,
&mPxeBcDriverBinding,
NULL,
&gPxeBcComponentName,
NULL,
NULL
);
Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&mPxeBcDriverBinding,
NULL,
&gPxeBcComponentName,
&gPxeBcComponentName2
);
InitArpHeader ();
OptionsStrucInit ();