diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 03:05:10 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-09-30 03:05:10 +0000 |
commit | 5bca971e545e01271c6ae5b1b66ee9f281123bf2 (patch) | |
tree | e23a7fe9ac978989f24cc91769b8845f8490f563 /MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | |
parent | 19f97f7e860b65f638777845b65b458659c7eb66 (diff) | |
download | edk2-5bca971e545e01271c6ae5b1b66ee9f281123bf2.tar.gz edk2-5bca971e545e01271c6ae5b1b66ee9f281123bf2.tar.bz2 edk2-5bca971e545e01271c6ae5b1b66ee9f281123bf2.zip |
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@4005 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c')
-rw-r--r-- | MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c index e4f7e18e99..d5120eb5b2 100644 --- a/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c +++ b/MdeModulePkg/Universal/Console/ConPlatformDxe/ConPlatform.c @@ -60,25 +60,23 @@ InitializeConPlatform( //
// Install driver model protocol(s).
//
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConPlatformTextInDriverBinding,
ImageHandle,
&gConPlatformComponentName,
- NULL,
- NULL
+ &gConPlatformComponentName2
);
ASSERT_EFI_ERROR (Status);
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gConPlatformTextOutDriverBinding,
NULL,
&gConPlatformComponentName,
- NULL,
- NULL
+ &gConPlatformComponentName2
);
ASSERT_EFI_ERROR (Status);
|