VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Guid/VariableIndexTable.h@ 95057

最後變更 在這個檔案從95057是 80721,由 vboxsync 提交於 5 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 KB
 
1/** @file
2 The variable data structures are related to EDK II-specific implementation of UEFI variables.
3 VariableFormat.h defines variable data headers and variable storage region headers.
4
5Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef __VARIABLE_INDEX_TABLE_H__
11#define __VARIABLE_INDEX_TABLE_H__
12
13typedef struct {
14 VARIABLE_HEADER *CurrPtr;
15 VARIABLE_HEADER *EndPtr;
16 VARIABLE_HEADER *StartPtr;
17} VARIABLE_POINTER_TRACK;
18
19#define VARIABLE_INDEX_TABLE_VOLUME 122
20
21#define EFI_VARIABLE_INDEX_TABLE_GUID \
22 { 0x8cfdb8c8, 0xd6b2, 0x40f3, { 0x8e, 0x97, 0x02, 0x30, 0x7c, 0xc9, 0x8b, 0x7c } }
23
24extern EFI_GUID gEfiVariableIndexTableGuid;
25
26///
27/// Use this data structure to store variable-related info, which can decrease
28/// the cost of access to NV.
29///
30typedef struct {
31 UINT16 Length;
32 UINT16 GoneThrough;
33 VARIABLE_HEADER *EndPtr;
34 VARIABLE_HEADER *StartPtr;
35 ///
36 /// This field is used to store the distance of two neighbouring VAR_ADDED type variables.
37 /// The meaning of the field is implement-dependent.
38 UINT16 Index[VARIABLE_INDEX_TABLE_VOLUME];
39} VARIABLE_INDEX_TABLE;
40
41#endif // __VARIABLE_INDEX_TABLE_H__
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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