2 The header file of IP4Config2Nv.c
4 Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
9 #ifndef _IP4_CONFIG2NV_H_
10 #define _IP4_CONFIG2NV_H_
14 extern UINT8 Ip4Config2Bin
[];
15 extern UINT8 Ip4DxeStrings
[];
17 #define NIC_ITEM_CONFIG_SIZE (sizeof (IP4_CONFIG2_INSTANCE) + (sizeof (EFI_IPv4_ADDRESS) * MAX_IP4_CONFIG_DNS))
20 Install HII Config Access protocol for network device and allocate resource.
22 @param[in, out] Instance The IP4 config2 Instance.
24 @retval EFI_SUCCESS The HII Config Access protocol is installed.
25 @retval EFI_OUT_OF_RESOURCES Failed to allocate memory.
26 @retval Others Other errors as indicated.
31 IN OUT IP4_CONFIG2_INSTANCE
*Instance
35 Uninstall the HII Config Access protocol for network devices and free up the resources.
37 @param[in, out] Instance The IP4 config2 instance to unload a form.
41 Ip4Config2FormUnload (
42 IN OUT IP4_CONFIG2_INSTANCE
*Instance