summaryrefslogtreecommitdiff
path: root/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c
diff options
context:
space:
mode:
Diffstat (limited to 'Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c')
-rw-r--r--Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c18
1 files changed, 13 insertions, 5 deletions
diff --git a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c
index 5f41e29e19..5f1f2c1cf0 100644
--- a/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c
+++ b/Nt32Pkg/WinNtGopDxe/WinNtGopDriver.c
@@ -80,14 +80,13 @@ InitializeWinNtGop(
//
// Install driver model protocol(s).
//
- Status = EfiLibInstallAllDriverProtocols (
+ Status = EfiLibInstallDriverBindingComponentName2 (
ImageHandle,
SystemTable,
&gWinNtGopDriverBinding,
ImageHandle,
&gWinNtGopComponentName,
- NULL,
- NULL
+ &gWinNtGopComponentName2
);
ASSERT_EFI_ERROR (Status);
@@ -200,12 +199,21 @@ WinNtGopDriverBindingStart (
Private->ControllerNameTable = NULL;
- AddUnicodeString (
+ AddUnicodeString2 (
"eng",
gWinNtGopComponentName.SupportedLanguages,
&Private->ControllerNameTable,
- WinNtIo->EnvString
+ WinNtIo->EnvString,
+ TRUE
);
+ AddUnicodeString2 (
+ "en",
+ gWinNtGopComponentName2.SupportedLanguages,
+ &Private->ControllerNameTable,
+ WinNtIo->EnvString,
+ FALSE
+ );
+
Private->WindowName = WinNtIo->EnvString;