VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/NetworkPkg/Ip4Dxe/Ip4Config2Nv.h@ 80721

Last change on this file since 80721 was 80721, checked in by vboxsync, 5 years ago

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), 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