summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:05:23 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:05:23 +0000
commitbb9153a122077f1799d2d8a8f3aba67b06e5b31c (patch)
treebf7e92803909fc3537fe85d3632e242b69ccefa7 /MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
parent610b2cbf97ca448546fa2054b44cc341102309fe (diff)
downloadedk2-platforms-bb9153a122077f1799d2d8a8f3aba67b06e5b31c.tar.xz
Split the Print functionality from SetupBrowserDxe. Platform should use PrintDxe to produces Print2 Protocol and PrintThunk for Edk Print protocol.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7572 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/SetupBrowserDxe/Setup.c')
-rw-r--r--MdeModulePkg/Universal/SetupBrowserDxe/Setup.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
index 83feb0f9fe..fa992bd381 100644
--- a/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
+++ b/MdeModulePkg/Universal/SetupBrowserDxe/Setup.c
@@ -22,14 +22,6 @@ SETUP_DRIVER_PRIVATE_DATA mPrivateData = {
{
SendForm,
BrowserCallback
- },
- {
- UnicodeVSPrint,
- UnicodeVSPrintAsciiFormat,
- UnicodeValueToString,
- AsciiVSPrint,
- AsciiVSPrintUnicodeFormat,
- AsciiValueToString
}
};
@@ -604,29 +596,6 @@ InitializeSetup (
);
ASSERT_EFI_ERROR (Status);
- //
- // Install Print protocol
- //
- Status = gBS->InstallProtocolInterface (
- &mPrivateData.Handle,
- &gEfiPrint2ProtocolGuid,
- EFI_NATIVE_INTERFACE,
- &mPrivateData.Print
- );
-
- //
- // Install Ecp Print protocol, which is defined in
- // Edk\Foundation\Protocol\Print\Print.h with protocol
- // GUID of { 0xdf2d868e, 0x32fc, 0x4cf0, {0x8e, 0x6b, 0xff, 0xd9, 0x5d, 0x13, 0x43, 0xd0 }}
- // This is support previous module that written to consume this protocol.
- //
- Status = gBS->InstallProtocolInterface (
- &mPrivateData.Handle,
- &gEfiPrintProtocolGuid,
- EFI_NATIVE_INTERFACE,
- &mPrivateData.Print
- );
-
return Status;
}