VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip4Dxe/Ip4Config2Nv.h

Last change on this file was 99404, checked in by vboxsync, 17 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1/** @file
2 The header file of IP4Config2Nv.c
3
4Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR>
5SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef _IP4_CONFIG2NV_H_
10#define _IP4_CONFIG2NV_H_
11
12#include "Ip4Impl.h"
13
14extern UINT8 Ip4Config2Bin[];
15extern UINT8 Ip4DxeStrings[];
16
17#define NIC_ITEM_CONFIG_SIZE (sizeof (IP4_CONFIG2_INSTANCE) + (sizeof (EFI_IPv4_ADDRESS) * MAX_IP4_CONFIG_DNS))
18
19/**
20 Install HII Config Access protocol for network device and allocate resource.
21
22 @param[in, out] Instance The IP4 config2 Instance.
23
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.
27
28**/
29EFI_STATUS
30Ip4Config2FormInit (
31 IN OUT IP4_CONFIG2_INSTANCE *Instance
32 );
33
34/**
35 Uninstall the HII Config Access protocol for network devices and free up the resources.
36
37 @param[in, out] Instance The IP4 config2 instance to unload a form.
38
39**/
40VOID
41Ip4Config2FormUnload (
42 IN OUT IP4_CONFIG2_INSTANCE *Instance
43 );
44
45#endif
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette