/*++\r
\r
-Copyright (c) 2006 - 2007, 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 - 2007, 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
pxe_loadfile.c\r
- \r
+\r
Abstract:\r
An implementation of the load file protocol for network devices.\r
\r
\r
Returns:\r
\r
- EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE - \r
+ EFI_PXE_BASE_CODE_CALLBACK_STATUS_CONTINUE -\r
EFI_PXE_BASE_CODE_CALLBACK_STATUS_ABORT -\r
- \r
+\r
--*/\r
{\r
STATIC UINTN Propeller;\r
Returns:\r
\r
None\r
- \r
+\r
--*/\r
{\r
if (Ptr != NULL) {\r
Returns:\r
\r
None\r
- \r
+\r
--*/\r
{\r
EFI_PXE_BASE_CODE_MODE *PxeBcMode;\r
\r
Returns:\r
\r
- AUTO_SELECT - \r
+ AUTO_SELECT -\r
DO_MENU -\r
- NO_MENU - \r
- LOCAL_BOOT - \r
- \r
+ NO_MENU -\r
+ LOCAL_BOOT -\r
+\r
--*/\r
{\r
EFI_STATUS Status;\r
//\r
//\r
Status = gBS->CreateEvent (\r
- EFI_EVENT_TIMER,\r
- EFI_TPL_CALLBACK,\r
+ EVT_TIMER,\r
+ TPL_CALLBACK,\r
NULL,\r
NULL,\r
&TimeoutEvent\r
//\r
//\r
Status = gBS->CreateEvent (\r
- EFI_EVENT_TIMER,\r
- EFI_TPL_CALLBACK,\r
+ EVT_TIMER,\r
+ TPL_CALLBACK,\r
NULL,\r
NULL,\r
&SecondsEvent\r
\r
gST->ConOut->SetCursorPosition (gST->ConOut, SecColumn, SecRow);\r
AsciiPrint ("(%d) ", SecsLeft);\r
- \r
+\r
//\r
// set the default action to be AUTO_SELECT\r
//\r
\r
Returns:\r
\r
- NO_MENU - \r
- LOCAL_BOOT - \r
- \r
+ NO_MENU -\r
+ LOCAL_BOOT -\r
+\r
--*/\r
{\r
PXE_OP_DISCOVERY_CONTROL *DiscoveryControlPtr;\r
Returns:\r
\r
Value from DHCP option\r
- \r
+\r
--*/\r
{\r
if (OpPtr->Header.Length == 1) {\r
Returns:\r
\r
Pointer to opcode, may be NULL\r
- \r
+\r
--*/\r
{\r
if (BufferPtr == NULL) {\r
Returns:\r
\r
Pointer to option in packet\r
- \r
+\r
--*/\r
{\r
UINTN PacketLen;\r
\r
Returns:\r
\r
- EFI_SUCCESS - \r
- EFI_NOT_READY - \r
- \r
+ EFI_SUCCESS -\r
+ EFI_NOT_READY -\r
+\r
--*/\r
{\r
EFI_PXE_BASE_CODE_MODE *PxeBcMode;\r
This - Pointer to Loadfile interface\r
FilePath - Not used and not checked\r
BootPolicy - Must be TRUE\r
- BufferSize - Pointer to buffer size \r
+ BufferSize - Pointer to buffer size\r
Buffer - Pointer to download buffer or NULL\r
\r
Returns:\r