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@3998 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qhuang8
2007-09-30 02:33:34 +00:00
parent 733f03aa90
commit 9d64ff86b1
3 changed files with 234 additions and 116 deletions

View File

@@ -48,14 +48,13 @@ InitializeVgaClass(
//
// Install driver model protocol(s).
//
Status = EfiLibInstallAllDriverProtocols (
Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gVgaClassDriverBinding,
ImageHandle,
&gVgaClassComponentName,
NULL,
NULL
&gVgaClassComponentName2
);
ASSERT_EFI_ERROR (Status);