]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/Ip4ConfigDxe/Ip4ConfigNv.h
Update the copyright notice format
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4ConfigDxe / Ip4ConfigNv.h
CommitLineData
63886849 1/** @file\r
c40a1556 2 The header file of IP4ConfigNv.c\r
63886849 3\r
e5eed7d3
HT
4Copyright (c) 2009, Intel Corporation. All rights reserved.<BR>\r
5This program and the accompanying materials\r
63886849 6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#ifndef _IP4_CONFIGNV_H_\r
16#define _IP4_CONFIGNV_H_\r
17\r
18#include "Ip4Config.h"\r
c40a1556 19#include "Ip4NvData.h"\r
63886849 20\r
21extern UINT8 Ip4ConfigDxeBin[];\r
22extern UINT8 Ip4ConfigDxeStrings[];\r
23\r
391a0724 24#define NIC_ITEM_CONFIG_SIZE sizeof (NIC_IP4_CONFIG_INFO) + sizeof (EFI_IP4_ROUTE_TABLE) * MAX_IP4_CONFIG_IN_VARIABLE\r
63886849 25\r
26\r
63886849 27/**\r
28 Install HII Config Access protocol for network device and allocate resource.\r
29\r
30 @param[in] Instance The IP4 Config instance.\r
31\r
32 @retval EFI_SUCCESS The HII Config Access protocol is installed.\r
33 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.\r
34 @retval Others Other errors as indicated.\r
35**/\r
36EFI_STATUS\r
37Ip4ConfigDeviceInit (\r
38 IN IP4_CONFIG_INSTANCE *Instance\r
39 );\r
40\r
41/**\r
42 Uninstall HII Config Access protocol for network device and free resource.\r
43\r
44 @param[in] Instance The IP4 Config instance.\r
45\r
46 @retval EFI_SUCCESS The HII Config Access protocol is uninstalled.\r
47 @retval Others Other errors as indicated.\r
48**/\r
49EFI_STATUS\r
50Ip4ConfigDeviceUnload (\r
51 IN IP4_CONFIG_INSTANCE *Instance\r
52 );\r
53\r
63886849 54#endif\r