/*++\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
\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
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