]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/Console/TerminalDxe/Terminal.c
Add new interface GetVariable2 and GetEfiGlobalVariable2 to return more info. Also...
[mirror_edk2.git] / MdeModulePkg / Universal / Console / TerminalDxe / Terminal.c
index 6a65731acad36d2da061c7fab583cceee0a1bd97..008e746b334d20708d7a9bf5b98ee9937a2047eb 100644 (file)
@@ -2,7 +2,7 @@
   Produces Simple Text Input Protocol, Simple Text Input Extended Protocol and\r
   Simple Text Output Protocol upon Serial IO Protocol.\r
 \r
-Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -358,7 +358,7 @@ IsTerminalInConsoleVariable (
   //\r
   // Get global variable and its size according to the name given.\r
   //\r
-  Variable = GetEfiGlobalVariable (VariableName);\r
+  GetEfiGlobalVariable2 (VariableName, &Variable, NULL);\r
   if (Variable == NULL) {\r
     return FALSE;\r
   }\r
@@ -1431,7 +1431,7 @@ TerminalUpdateConsoleDevVariable (
   //\r
   // Get global variable and its size according to the name given.\r
   //\r
-  Variable = GetEfiGlobalVariable (VariableName);\r
+  GetEfiGlobalVariable2 (VariableName, &Variable, NULL);\r
   if (Variable == NULL) {\r
     return;\r
   }\r
@@ -1500,7 +1500,7 @@ TerminalRemoveConsoleDevVariable (
   //\r
   // Get global variable and its size according to the name given.\r
   //\r
-  Variable = GetEfiGlobalVariable (VariableName);\r
+  GetEfiGlobalVariable2 (VariableName, &Variable, NULL);\r
   if (Variable == NULL) {\r
     return ;\r
   }\r