Last change
on this file since 86756 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.0 KB
|
Line | |
---|
1 | /** @file
|
---|
2 | Define NVData structures used by the HTTP Boot configuration component.
|
---|
3 |
|
---|
4 | Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
---|
5 | SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 |
|
---|
7 | **/
|
---|
8 |
|
---|
9 | #ifndef _HTTP_BOOT_NVDATA_STRUC_H_
|
---|
10 | #define _HTTP_BOOT_NVDATA_STRUC_H_
|
---|
11 |
|
---|
12 | #include <Guid/HttpBootConfigHii.h>
|
---|
13 |
|
---|
14 | #define HTTP_BOOT_IP_VERSION_4 0
|
---|
15 | #define HTTP_BOOT_IP_VERSION_6 1
|
---|
16 |
|
---|
17 | //
|
---|
18 | // Macros used for an IPv4 or an IPv6 address.
|
---|
19 | //
|
---|
20 | #define URI_STR_MIN_SIZE 0
|
---|
21 | #define URI_STR_MAX_SIZE 255
|
---|
22 |
|
---|
23 | #define DESCRIPTION_STR_MIN_SIZE 6
|
---|
24 | #define DESCRIPTION_STR_MAX_SIZE 75
|
---|
25 |
|
---|
26 | #define CONFIGURATION_VARSTORE_ID 0x1234
|
---|
27 |
|
---|
28 | #define FORMID_MAIN_FORM 1
|
---|
29 |
|
---|
30 | #define KEY_INITIATOR_URI 0x101
|
---|
31 |
|
---|
32 | #define HTTP_BOOT_DEFAULT_DESCRIPTION_STR L"UEFI HTTP"
|
---|
33 |
|
---|
34 | #pragma pack(1)
|
---|
35 | typedef struct _HTTP_BOOT_CONFIG_IFR_NVDATA {
|
---|
36 | UINT8 IpVersion;
|
---|
37 | UINT8 Padding;
|
---|
38 | CHAR16 Description[DESCRIPTION_STR_MAX_SIZE];
|
---|
39 | CHAR16 Uri[URI_STR_MAX_SIZE];
|
---|
40 | } HTTP_BOOT_CONFIG_IFR_NVDATA;
|
---|
41 | #pragma pack()
|
---|
42 |
|
---|
43 |
|
---|
44 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.