TianoCore EDK2
master
Loading...
Searching...
No Matches
UefiMultiPhase.h
Go to the documentation of this file.
1
9
#ifndef __UEFI_MULTIPHASE_H__
10
#define __UEFI_MULTIPHASE_H__
11
15
#define EFI_VARIABLE_NON_VOLATILE 0x00000001
16
#define EFI_VARIABLE_BOOTSERVICE_ACCESS 0x00000002
17
#define EFI_VARIABLE_RUNTIME_ACCESS 0x00000004
22
#define EFI_VARIABLE_HARDWARE_ERROR_RECORD 0x00000008
26
#define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS 0x00000020
27
#define EFI_VARIABLE_APPEND_WRITE 0x00000040
31
#define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS 0x00000010
32
33
#ifndef VFRCOMPILE
34
#include <
Guid/WinCertificate.h
>
38
typedef
enum
{
42
EfiReservedMemoryType
,
47
EfiLoaderCode
,
52
EfiLoaderData
,
56
EfiBootServicesCode
,
61
EfiBootServicesData
,
65
EfiRuntimeServicesCode
,
70
EfiRuntimeServicesData
,
74
EfiConventionalMemory
,
78
EfiUnusableMemory
,
82
EfiACPIReclaimMemory
,
86
EfiACPIMemoryNVS
,
91
EfiMemoryMappedIO
,
96
EfiMemoryMappedIOPortSpace
,
100
EfiPalCode
,
105
EfiPersistentMemory
,
110
EfiUnacceptedMemoryType
,
111
EfiMaxMemoryType,
112
//
113
// +---------------------------------------------------+
114
// | 0..(EfiMaxMemoryType - 1) - Normal memory type |
115
// +---------------------------------------------------+
116
// | EfiMaxMemoryType..0x6FFFFFFF - Invalid |
117
// +---------------------------------------------------+
118
// | 0x70000000..0x7FFFFFFF - OEM reserved |
119
// +---------------------------------------------------+
120
// | 0x80000000..0xFFFFFFFF - OS reserved |
121
// +---------------------------------------------------+
122
//
123
MEMORY_TYPE_OEM_RESERVED_MIN = 0x70000000,
124
MEMORY_TYPE_OEM_RESERVED_MAX = 0x7FFFFFFF,
125
MEMORY_TYPE_OS_RESERVED_MIN = 0x80000000,
126
MEMORY_TYPE_OS_RESERVED_MAX = 0xFFFFFFFF
127
}
EFI_MEMORY_TYPE
;
128
132
typedef
enum
{
139
EfiResetCold
,
145
EfiResetWarm
,
151
EfiResetShutdown
,
159
EfiResetPlatformSpecific
160
}
EFI_RESET_TYPE
;
161
165
typedef
struct
{
171
UINT64
Signature
;
178
UINT32
Revision
;
182
UINT32
HeaderSize
;
187
UINT32
CRC32
;
191
UINT32
Reserved
;
192
}
EFI_TABLE_HEADER
;
193
209
typedef
struct
{
216
UINT64
MonotonicCount
;
225
WIN_CERTIFICATE_UEFI_GUID
AuthInfo
;
226
}
EFI_VARIABLE_AUTHENTICATION
;
227
236
typedef
struct
{
241
EFI_TIME
TimeStamp
;
245
WIN_CERTIFICATE_UEFI_GUID
AuthInfo
;
246
}
EFI_VARIABLE_AUTHENTICATION_2
;
247
#endif
// VFRCOMPILE
248
249
#endif
EFI_MEMORY_TYPE
EFI_MEMORY_TYPE
Definition:
UefiMultiPhase.h:38
EfiUnusableMemory
@ EfiUnusableMemory
Definition:
UefiMultiPhase.h:78
EfiBootServicesData
@ EfiBootServicesData
Definition:
UefiMultiPhase.h:61
EfiPersistentMemory
@ EfiPersistentMemory
Definition:
UefiMultiPhase.h:105
EfiReservedMemoryType
@ EfiReservedMemoryType
Definition:
UefiMultiPhase.h:42
EfiBootServicesCode
@ EfiBootServicesCode
Definition:
UefiMultiPhase.h:56
EfiConventionalMemory
@ EfiConventionalMemory
Definition:
UefiMultiPhase.h:74
EfiLoaderData
@ EfiLoaderData
Definition:
UefiMultiPhase.h:52
EfiACPIMemoryNVS
@ EfiACPIMemoryNVS
Definition:
UefiMultiPhase.h:86
EfiMemoryMappedIOPortSpace
@ EfiMemoryMappedIOPortSpace
Definition:
UefiMultiPhase.h:96
EfiACPIReclaimMemory
@ EfiACPIReclaimMemory
Definition:
UefiMultiPhase.h:82
EfiLoaderCode
@ EfiLoaderCode
Definition:
UefiMultiPhase.h:47
EfiMemoryMappedIO
@ EfiMemoryMappedIO
Definition:
UefiMultiPhase.h:91
EfiUnacceptedMemoryType
@ EfiUnacceptedMemoryType
Definition:
UefiMultiPhase.h:110
EfiPalCode
@ EfiPalCode
Definition:
UefiMultiPhase.h:100
EfiRuntimeServicesCode
@ EfiRuntimeServicesCode
Definition:
UefiMultiPhase.h:65
EfiRuntimeServicesData
@ EfiRuntimeServicesData
Definition:
UefiMultiPhase.h:70
EFI_RESET_TYPE
EFI_RESET_TYPE
Definition:
UefiMultiPhase.h:132
EfiResetCold
@ EfiResetCold
Definition:
UefiMultiPhase.h:139
EfiResetShutdown
@ EfiResetShutdown
Definition:
UefiMultiPhase.h:151
EfiResetWarm
@ EfiResetWarm
Definition:
UefiMultiPhase.h:145
EfiResetPlatformSpecific
@ EfiResetPlatformSpecific
Definition:
UefiMultiPhase.h:159
WinCertificate.h
EFI_TABLE_HEADER
Definition:
UefiMultiPhase.h:165
EFI_TABLE_HEADER::Reserved
UINT32 Reserved
Definition:
UefiMultiPhase.h:191
EFI_TABLE_HEADER::Revision
UINT32 Revision
Definition:
UefiMultiPhase.h:178
EFI_TABLE_HEADER::HeaderSize
UINT32 HeaderSize
Definition:
UefiMultiPhase.h:182
EFI_TABLE_HEADER::Signature
UINT64 Signature
Definition:
UefiMultiPhase.h:171
EFI_TABLE_HEADER::CRC32
UINT32 CRC32
Definition:
UefiMultiPhase.h:187
EFI_TIME
Definition:
UefiBaseType.h:68
EFI_VARIABLE_AUTHENTICATION_2
Definition:
UefiMultiPhase.h:236
EFI_VARIABLE_AUTHENTICATION_2::TimeStamp
EFI_TIME TimeStamp
Definition:
UefiMultiPhase.h:241
EFI_VARIABLE_AUTHENTICATION_2::AuthInfo
WIN_CERTIFICATE_UEFI_GUID AuthInfo
Definition:
UefiMultiPhase.h:245
EFI_VARIABLE_AUTHENTICATION
Definition:
UefiMultiPhase.h:209
EFI_VARIABLE_AUTHENTICATION::AuthInfo
WIN_CERTIFICATE_UEFI_GUID AuthInfo
Definition:
UefiMultiPhase.h:225
EFI_VARIABLE_AUTHENTICATION::MonotonicCount
UINT64 MonotonicCount
Definition:
UefiMultiPhase.h:216
WIN_CERTIFICATE_UEFI_GUID
Definition:
WinCertificate.h:67
MdePkg
Include
Uefi
UefiMultiPhase.h
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6