OptEnt.Uuid->Type = 0;\r
if (EFI_ERROR (NetLibGetSystemGuid ((EFI_GUID *) OptEnt.Uuid->Guid))) {\r
//\r
- // Zero the Guid to indicate NOT programable if failed to get system Guid.\r
+ // Zero the Guid to indicate NOT programmable if failed to get system Guid.\r
//\r
ZeroMem (OptEnt.Uuid->Guid, sizeof (EFI_GUID));\r
}\r
\r
/// DHCP offer types among HTTP boot.\r
/// Dhcp4 and Dhcp6 share this definition, and corresponding\r
-/// relatioinship is as follows:\r
+/// relationship is as follows:\r
/// Dhcp4Discover <> Dhcp6Solicit\r
/// Dhcp4Offer <> Dhcp6Advertise\r
/// Dhcp4Request <> Dhcp6Request\r
@param[in] OptTag The required option tag.\r
\r
@retval NULL Failed to parse the required option.\r
- @retval Others The postion of the required option in buffer.\r
+ @retval Others The position of the required option in buffer.\r
\r
**/\r
EFI_DHCP6_PACKET_OPTION *\r
}\r
//\r
// The offer with assigned client address is NOT a proxy offer.\r
- // An ia_na option, embeded with valid ia_addr option and a status_code of success.\r
+ // An ia_na option, embedded with valid ia_addr option and a status_code of success.\r
//\r
Option = Options[HTTP_BOOT_DHCP6_IDX_IA_NA];\r
if (Option != NULL) {\r
\r
@retval EFI_SUCCESS Found a valid gateway address successfully.\r
@retval EFI_TIMEOUT The operation is time out.\r
- @retval Other Unexpect error happened.\r
+ @retval Other Unexpected error happened.\r
\r
**/\r
EFI_STATUS\r
\r
@param[in] Private The pointer to HTTP_BOOT_PRIVATE_DATA.\r
\r
- @retval EFI_SUCCESS Switch the IP policy succesfully.\r
- @retval Others Unexpect error happened.\r
+ @retval EFI_SUCCESS Switch the IP policy successfully.\r
+ @retval Others Unexpected error happened.\r
\r
**/\r
EFI_STATUS\r
\r
@param[in] Private The pointer to HTTP_BOOT_PRIVATE_DATA.\r
\r
- @retval EFI_SUCCESS Switch the IP policy succesfully.\r
- @retval Others Unexpect error happened.\r
+ @retval EFI_SUCCESS Switch the IP policy successfully.\r
+ @retval Others Unexpected error happened.\r
\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The device was started.\r
@retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
- @retval Others The driver failded to start the device.\r
+ @retval Others The driver failed to start the device.\r
\r
**/\r
EFI_STATUS\r
}\r
\r
//\r
- // Destory all child instance and uninstall protocol interface.\r
+ // Destroy all child instance and uninstall protocol interface.\r
//\r
HttpBootDestroyIp4Children (This, Private);\r
\r
@retval EFI_SUCCESS The device was started.\r
@retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
- @retval Others The driver failded to start the device.\r
+ @retval Others The driver failed to start the device.\r
\r
**/\r
EFI_STATUS\r
}\r
\r
//\r
- // Destory all child instance and uninstall protocol interface.\r
+ // Destroy all child instance and uninstall protocol interface.\r
//\r
HttpBootDestroyIp6Children (This, Private);\r
\r
HTTP_BOOT_VIRTUAL_NIC *Ip6Nic;\r
\r
//\r
- // Cousumed children\r
+ // Consumed children\r
//\r
EFI_HANDLE Ip6Child;\r
EFI_HANDLE Dhcp4Child;\r
@retval EFI_SUCCESS The device was started.\r
@retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
- @retval Others The driver failded to start the device.\r
+ @retval Others The driver failed to start the device.\r
\r
**/\r
EFI_STATUS\r
@retval EFI_SUCCESS The device was started.\r
@retval EFI_DEVICE_ERROR The device could not be started due to a device error.Currently not implemented.\r
@retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources.\r
- @retval Others The driver failded to start the device.\r
+ @retval Others The driver failed to start the device.\r
\r
**/\r
EFI_STATUS\r
\r
@param[in] Private Pointer to HTTP Boot private data.\r
\r
- @retval EFI_SUCCESS HTTP Boot Callback Protocol installed succesfully.\r
+ @retval EFI_SUCCESS HTTP Boot Callback Protocol installed successfully.\r
@retval Others Failed to install HTTP Boot Callback Protocol.\r
\r
**/\r
/**\r
Create a HTTP_IO_HEADER to hold the HTTP header items.\r
\r
- @param[in] MaxHeaderCount The maximun number of HTTP header in this holder.\r
+ @param[in] MaxHeaderCount The maximum number of HTTP header in this holder.\r
\r
@return A pointer of the HTTP header holder or NULL if failed.\r
\r
}\r
\r
/**\r
- Destroy the HTTP_IO_HEADER and release the resouces.\r
+ Destroy the HTTP_IO_HEADER and release the resources.\r
\r
@param[in] HttpIoHeader Point to the HTTP header holder to be destroyed.\r
\r
}\r
\r
//\r
- // Create events for variuos asynchronous operations.\r
+ // Create events for various asynchronous operations.\r
//\r
Status = gBS->CreateEvent (\r
EVT_NOTIFY_SIGNAL,\r
}\r
\r
/**\r
- Destroy the HTTP_IO and release the resouces.\r
+ Destroy the HTTP_IO and release the resources.\r
\r
@param[in] HttpIo The HTTP_IO which wraps the HTTP service to be destroyed.\r
\r
@param[in] BodyLength Length in bytes of the HTTP body.\r
@param[in] Body Body associated with the HTTP request.\r
\r
- @retval EFI_SUCCESS The HTTP request is trasmitted.\r
+ @retval EFI_SUCCESS The HTTP request is transmitted.\r
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.\r
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
@retval EFI_DEVICE_ERROR An unexpected network or system error occurred.\r
@retval EFI_INVALID_PARAMETER ImageType, Uri or UriParser is NULL.\r
@retval EFI_INVALID_PARAMETER HeaderCount is not zero, and Headers is NULL.\r
@retval EFI_NOT_FOUND Failed to identify the image type.\r
- @retval Others Unexpect error happened.\r
+ @retval Others Unexpected error happened.\r
\r
**/\r
EFI_STATUS\r
/**\r
Create a HTTP_IO_HEADER to hold the HTTP header items.\r
\r
- @param[in] MaxHeaderCount The maximun number of HTTP header in this holder.\r
+ @param[in] MaxHeaderCount The maximum number of HTTP header in this holder.\r
\r
@return A pointer of the HTTP header holder or NULL if failed.\r
\r
);\r
\r
/**\r
- Destroy the HTTP_IO_HEADER and release the resouces.\r
+ Destroy the HTTP_IO_HEADER and release the resources.\r
\r
@param[in] HttpIoHeader Point to the HTTP header holder to be destroyed.\r
\r
);\r
\r
/**\r
- Destroy the HTTP_IO and release the resouces.\r
+ Destroy the HTTP_IO and release the resources.\r
\r
@param[in] HttpIo The HTTP_IO which wraps the HTTP service to be destroyed.\r
\r
@param[in] BodyLength Length in bytes of the HTTP body.\r
@param[in] Body Body associated with the HTTP request.\r
\r
- @retval EFI_SUCCESS The HTTP request is trasmitted.\r
+ @retval EFI_SUCCESS The HTTP request is transmitted.\r
@retval EFI_INVALID_PARAMETER One or more parameters are invalid.\r
@retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
@retval EFI_DEVICE_ERROR An unexpected network or system error occurred.\r
@retval EFI_INVALID_PARAMETER ImageType, Uri or UriParser is NULL.\r
@retval EFI_INVALID_PARAMETER HeaderCount is not zero, and Headers is NULL.\r
@retval EFI_NOT_FOUND Failed to identify the image type.\r
- @retval Others Unexpect error happened.\r
+ @retval Others Unexpected error happened.\r
\r
**/\r
EFI_STATUS\r