X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FIp4Config.h;h=1c91d2f702cefee755b9df2fd81faf68ca0a9e26;hb=b88df76120d228a5d27f48577f629671682475eb;hp=7d21ad49941926a99ac4344929bcb80fb8fe0d6f;hpb=5899caf003c444820082f35098b68c678457b6bc;p=mirror_edk2.git diff --git a/MdePkg/Include/Protocol/Ip4Config.h b/MdePkg/Include/Protocol/Ip4Config.h index 7d21ad4994..1c91d2f702 100644 --- a/MdePkg/Include/Protocol/Ip4Config.h +++ b/MdePkg/Include/Protocol/Ip4Config.h @@ -2,17 +2,17 @@ This file provides a definition of the EFI IPv4 Configuration Protocol. - Copyright (c) 2006 - 2009, Intel Corporation.
- All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php - - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. +Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under +the terms and conditions of the BSD License that accompanies this distribution. +The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php. + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. @par Revision Reference: - This Protocol is introduced in UEFI Specification 2.0 + This Protocol is introduced in UEFI Specification 2.0. **/ #ifndef __EFI_IP4CONFIG_PROTOCOL_H__ @@ -28,8 +28,7 @@ typedef struct _EFI_IP4_CONFIG_PROTOCOL EFI_IP4_CONFIG_PROTOCOL; #define IP4_CONFIG_VARIABLE_ATTRIBUTES \ - (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | \ - EFI_VARIABLE_RUNTIME_ACCESS) + (EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS) /// /// EFI_IP4_IPCONFIG_DATA contains the minimum IPv4 configuration data @@ -78,13 +77,13 @@ typedef struct { Until the configuration completes successfully, EFI IPv4 Protocol driver instances that are attempting to use default configurations must return EFI_NO_MAPPING. Once the configuration is complete, the EFI IPv4 Configuration Protocol driver - signals DoneEvent. The configuration may need to be updated in the future, - however; in this case, the EFI IPv4 Configuration Protocol driver must signal + signals DoneEvent. The configuration may need to be updated in the future. + Note that in this case the EFI IPv4 Configuration Protocol driver must signal ReconfigEvent, and all EFI IPv4 Protocol driver instances that are using default configurations must return EFI_NO_MAPPING until the configuration policy has been rerun. - @param This Pointer to the EFI_IP4_CONFIG_PROTOCOL instance. + @param This The pointer to the EFI_IP4_CONFIG_PROTOCOL instance. @param DoneEvent Event that will be signaled when the EFI IPv4 Protocol driver configuration policy completes execution. This event must be of type EVT_NOTIFY_SIGNAL. @@ -120,7 +119,7 @@ EFI_STATUS The Stop() function stops the configuration policy for the EFI IPv4 Protocol driver. All configuration data will be lost after calling Stop(). - @param This Pointer to the EFI_IP4_CONFIG_PROTOCOL instance. + @param This The pointer to the EFI_IP4_CONFIG_PROTOCOL instance. @retval EFI_SUCCESS The configuration policy for the EFI IPv4 Protocol driver has been stopped. @@ -141,11 +140,11 @@ EFI_STATUS The GetData() function returns the current configuration data for the EFI IPv4 Protocol driver after the configuration policy has completed. - @param This Pointer to the EFI_IP4_CONFIG_PROTOCOL instance. + @param This The pointer to the EFI_IP4_CONFIG_PROTOCOL instance. @param IpConfigDataSize On input, the size of the IpConfigData buffer. On output, the count of bytes that were written into the IpConfigData buffer. - @param IpConfigData Pointer to the EFI IPv4 Configuration Protocol + @param IpConfigData The pointer to the EFI IPv4 Configuration Protocol driver configuration data structure. Type EFI_IP4_IPCONFIG_DATA is defined in "Related Definitions" below. @@ -169,8 +168,8 @@ EFI_STATUS ); /// -/// The EFI_IP4_CONFIG_PROTOCOL driver performs platform- and policy-dependent -/// configuration for the EFI IPv4 Protocol driver. +/// The EFI_IP4_CONFIG_PROTOCOL driver performs platform-dependent and policy-dependent +/// configurations for the EFI IPv4 Protocol driver. /// struct _EFI_IP4_CONFIG_PROTOCOL { EFI_IP4_CONFIG_START Start;