]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkUnixPkg/Dxe/UnixThunk/Bus/Console/ConsoleIn.c
Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
[mirror_edk2.git] / EdkUnixPkg / Dxe / UnixThunk / Bus / Console / ConsoleIn.c
index 0a7503fe6e266eef1929759b58284607e202287a..316794966905b8716aaa6b6c51b71d4b6ebdf70b 100644 (file)
@@ -1,13 +1,13 @@
 /*++\r
 \r
-Copyright (c) 2004, Intel Corporation                                                         \r
-All rights reserved. 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
-http://opensource.org/licenses/bsd-license.php                                            \r
-                                                                                          \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
+Copyright (c) 2004, Intel Corporation\r
+All rights reserved. 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
+http://opensource.org/licenses/bsd-license.php\r
+\r
+THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
+WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 \r
 Module Name:\r
 \r
@@ -15,15 +15,15 @@ Module Name:
 \r
 Abstract:\r
 \r
-  Console based on Posix APIs. \r
+  Console based on Posix APIs.\r
 \r
   This file attaches a SimpleTextIn protocol to a previously open window.\r
-  \r
+\r
   The constructor for this protocol depends on an open window. Currently\r
   the SimpleTextOut protocol creates a window when it's constructor is called.\r
-  Thus this code must run after the constructor for the SimpleTextOut \r
+  Thus this code must run after the constructor for the SimpleTextOut\r
   protocol\r
-  \r
+\r
 --*/\r
 \r
 #include "Console.h"\r
@@ -234,8 +234,8 @@ Returns:
   Private->SimpleTextIn.ReadKeyStroke = UnixSimpleTextInReadKeyStroke;\r
 \r
   Status = gBS->CreateEvent (\r
-                  EFI_EVENT_NOTIFY_WAIT,\r
-                  EFI_TPL_NOTIFY,\r
+                  EVT_NOTIFY_WAIT,\r
+                  TPL_NOTIFY,\r
                   UnixSimpleTextInWaitForKey,\r
                   Private,\r
                   &Private->SimpleTextIn.WaitForKey\r