From: Fu Siyuan Date: Thu, 30 Jun 2016 01:57:23 +0000 (+0800) Subject: MdeModulePkg: Update PXE driver to follow edk2 coding standards. X-Git-Tag: edk2-stable201903~6351 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=0a28d02d9fb5293757c507e592a4d0404a7ecf74;hp=f0fe58bc72e2efd8bb7e30bdf1d00e239664618f MdeModulePkg: Update PXE driver to follow edk2 coding standards. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Fu Siyuan Reviewed-by: Samer El-Haj-Mahmoud Reviewed-by: Wu Jiaxin Reviewed-by: Zhang Lubo --- diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.c b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.c index 79c9a67f9e..a20fdb7a84 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.c +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.c @@ -42,7 +42,7 @@ PxeBcCommonNotify ( @param SubnetMask Pointer to the subnetmask of the station ip address. @param Gateway Pointer to the gateway ip address. @param SrcPort Pointer to the srouce port of the station. - @param TTL The time to live field of the IP header. + @param Ttl The time to live field of the IP header. @param ToS The type of service field of the IP header. @retval EFI_SUCCESS The configuration settings were set, changed, or reset successfully. @@ -68,7 +68,7 @@ PxeBcConfigureUdpWriteInstance ( IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *Gateway, IN OUT UINT16 *SrcPort, - IN UINT8 TTL, + IN UINT8 Ttl, IN UINT8 ToS ) { diff --git a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h index 1082b3aa2e..16ac05ec82 100644 --- a/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h +++ b/MdeModulePkg/Universal/Network/UefiPxeBcDxe/PxeBcSupport.h @@ -38,7 +38,7 @@ PxeBcCommonNotify ( @param SubnetMask Pointer to the subnetmask of the station ip address. @param Gateway Pointer to the gateway ip address. @param SrcPort Pointer to the srouce port of the station. - @param TTL The time to live field of the IP header. + @param Ttl The time to live field of the IP header. @param ToS The type of service field of the IP header. @retval EFI_SUCCESS The configuration settings were set, changed, or reset successfully. @@ -64,7 +64,7 @@ PxeBcConfigureUdpWriteInstance ( IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *Gateway, IN OUT UINT16 *SrcPort, - IN UINT8 TTL, + IN UINT8 Ttl, IN UINT8 ToS ); /**