/** @file\r
The implementation for ifcommand shell command.\r
\r
- Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
BOOLEAN mIp4ConfigExist = FALSE;\r
STATIC EFI_HII_CONFIG_ROUTING_PROTOCOL *mHiiConfigRouting = NULL;\r
\r
-STATIC CONST UINTN SEC_TO_NS = 10000000;\r
+STATIC CONST UINTN SecondsToNanoSeconds = 10000000;\r
STATIC CONST CHAR16 DhcpString[5] = L"DHCP";\r
STATIC CONST CHAR16 StaticString[7] = L"STATIC";\r
STATIC CONST CHAR16 PermanentString[10] = L"PERMANENT";\r
Get the child handle of the NIC handle.\r
\r
@param[in] Controller Routing information: GUID.\r
- @param[in] ChildHandle Returned child handle.\r
+ @param[out] ChildHandle Returned child handle.\r
\r
@retval EFI_SUCCESS Successfully to get child handle.\r
**/\r
/**\r
Append OFFSET/WIDTH/VALUE items at the beginning of string.\r
\r
- @param[in,out] String The pointer to the string to append onto.\r
- @param[in] Offset Offset value.\r
- @param[in] Width Width value.\r
- @param[in] Block Point to data buffer.\r
+ @param[in, out] String The pointer to the string to append onto.\r
+ @param[in] Offset Offset value.\r
+ @param[in] Width Width value.\r
+ @param[in] Block Point to data buffer.\r
\r
@return The count of unicode character that were appended.\r
**/\r
}\r
\r
/**\r
- Create an IP child, use it to start the auto configuration, then destory it.\r
+ Create an IP child, use it to start the auto configuration, then destroy it.\r
\r
@param[in] NicInfo The pointer to the NIC_INFO of the Nic to be configured.\r
\r
mTimeout = FALSE;\r
Status = gBS->CreateEvent (\r
EVT_NOTIFY_SIGNAL | EVT_TIMER,\r
- TPL_CALLBACK - 1,\r
+ TPL_CALLBACK,\r
TimeoutToGetMap,\r
NULL,\r
&TimerToGetMap\r
Status = gBS->SetTimer (\r
TimerToGetMap,\r
TimerRelative,\r
- MultU64x32 (SEC_TO_NS, 5)\r
+ MultU64x32 (SecondsToNanoSeconds, 5)\r
);\r
\r
if (EFI_ERROR (Status)) {\r