/*++\r
\r
-Copyright (c) 2006, 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) 2006, 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
Terminal.c\r
- \r
-Abstract: \r
+\r
+Abstract:\r
\r
Revision History:\r
\r
Status = EFI_OUT_OF_RESOURCES;\r
goto Error;\r
}\r
- \r
+\r
CopyMem (&DefaultNode->Guid, &gEfiPcAnsiGuid, sizeof (EFI_GUID));\r
RemainingDevicePath = (EFI_DEVICE_PATH_PROTOCOL*) DefaultNode;\r
- } \r
+ }\r
//\r
// Use the RemainingDevicePath to determine the terminal type\r
//\r
TerminalDevice->SimpleInput.ReadKeyStroke = TerminalConInReadKeyStroke;\r
\r
Status = gBS->CreateEvent (\r
- EFI_EVENT_NOTIFY_WAIT,\r
- EFI_TPL_NOTIFY,\r
+ EVT_NOTIFY_WAIT,\r
+ TPL_NOTIFY,\r
TerminalConInWaitForKey,\r
&TerminalDevice->SimpleInput,\r
&TerminalDevice->SimpleInput.WaitForKey\r
TerminalDevice->ResetState = RESET_STATE_DEFAULT;\r
\r
Status = gBS->CreateEvent (\r
- EFI_EVENT_TIMER,\r
- EFI_TPL_CALLBACK,\r
+ EVT_TIMER,\r
+ TPL_CALLBACK,\r
NULL,\r
NULL,\r
&TerminalDevice->TwoSecondTimeOut\r
if (DefaultNode != NULL) {\r
FreePool (DefaultNode);\r
}\r
- \r
+\r
return EFI_SUCCESS;\r
\r
ReportError:\r
if (DefaultNode != NULL) {\r
FreePool (DefaultNode);\r
}\r
- \r
+\r
This->Stop (This, Controller, 0, NULL);\r
\r
return Status;\r
/*++\r
\r
Routine Description:\r
- \r
+\r
Remove console device variable.\r
- \r
+\r
Arguments:\r
\r
VariableName - A pointer to the variable name.\r
Caller is repsoncible freeing the buffer.\r
\r
NULL - Variable was not read\r
- \r
+\r
--*/\r
{\r
EFI_STATUS Status;\r