iPXE
Data Structures | Macros | Enumerations | Functions
UefiMultiPhase.h File Reference

This includes some definitions introduced in UEFI that will be used in both PEI and DXE phases. More...

#include <ipxe/efi/Guid/WinCertificate.h>

Go to the source code of this file.

Data Structures

struct  EFI_TABLE_HEADER
 Data structure that precedes all of the standard EFI table types. More...
 
struct  EFI_VARIABLE_AUTHENTICATION
 AuthInfo is a WIN_CERTIFICATE using the wCertificateType WIN_CERTIFICATE_UEFI_GUID and the CertType EFI_CERT_TYPE_RSA2048_SHA256_GUID. More...
 
struct  EFI_VARIABLE_AUTHENTICATION_2
 When the attribute EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS is set, then the Data buffer shall begin with an instance of a complete (and serialized) EFI_VARIABLE_AUTHENTICATION_2 descriptor. More...
 

Macros

#define EFI_VARIABLE_NON_VOLATILE   0x00000001
 Attributes of variable. More...
 
#define EFI_VARIABLE_BOOTSERVICE_ACCESS   0x00000002
 
#define EFI_VARIABLE_RUNTIME_ACCESS   0x00000004
 
#define EFI_VARIABLE_HARDWARE_ERROR_RECORD   0x00000008
 This attribute is identified by the mnemonic 'HR' elsewhere in this specification. More...
 
#define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS   0x00000020
 Attributes of Authenticated Variable. More...
 
#define EFI_VARIABLE_APPEND_WRITE   0x00000040
 
#define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS   0x00000010
 NOTE: EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and should be considered reserved. More...
 

Enumerations

enum  EFI_MEMORY_TYPE {
  EfiReservedMemoryType, EfiLoaderCode, EfiLoaderData, EfiBootServicesCode,
  EfiBootServicesData, EfiRuntimeServicesCode, EfiRuntimeServicesData, EfiConventionalMemory,
  EfiUnusableMemory, EfiACPIReclaimMemory, EfiACPIMemoryNVS, EfiMemoryMappedIO,
  EfiMemoryMappedIOPortSpace, EfiPalCode, EfiPersistentMemory, EfiUnacceptedMemoryType,
  EfiMaxMemoryType
}
 Enumeration of memory types introduced in UEFI. More...
 
enum  EFI_RESET_TYPE { EfiResetCold, EfiResetWarm, EfiResetShutdown, EfiResetPlatformSpecific }
 Enumeration of reset types. More...
 

Functions

 FILE_LICENCE (BSD2_PATENT)
 

Detailed Description

This includes some definitions introduced in UEFI that will be used in both PEI and DXE phases.

Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file UefiMultiPhase.h.

Macro Definition Documentation

◆ EFI_VARIABLE_NON_VOLATILE

#define EFI_VARIABLE_NON_VOLATILE   0x00000001

Attributes of variable.

Definition at line 17 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_BOOTSERVICE_ACCESS

#define EFI_VARIABLE_BOOTSERVICE_ACCESS   0x00000002

Definition at line 18 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_RUNTIME_ACCESS

#define EFI_VARIABLE_RUNTIME_ACCESS   0x00000004

Definition at line 19 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_HARDWARE_ERROR_RECORD

#define EFI_VARIABLE_HARDWARE_ERROR_RECORD   0x00000008

This attribute is identified by the mnemonic 'HR' elsewhere in this specification.

Definition at line 24 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS

#define EFI_VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS   0x00000020

Attributes of Authenticated Variable.

Definition at line 28 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_APPEND_WRITE

#define EFI_VARIABLE_APPEND_WRITE   0x00000040

Definition at line 29 of file UefiMultiPhase.h.

◆ EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS

#define EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS   0x00000010

NOTE: EFI_VARIABLE_AUTHENTICATED_WRITE_ACCESS is deprecated and should be considered reserved.

Definition at line 33 of file UefiMultiPhase.h.

Enumeration Type Documentation

◆ EFI_MEMORY_TYPE

Enumeration of memory types introduced in UEFI.

Enumerator
EfiReservedMemoryType 

Not used.

EfiLoaderCode 

The code portions of a loaded application.

(Note that UEFI OS loaders are UEFI applications.)

EfiLoaderData 

The data portions of a loaded application and the default data allocation type used by an application to allocate pool memory.

EfiBootServicesCode 

The code portions of a loaded Boot Services Driver.

EfiBootServicesData 

The data portions of a loaded Boot Serves Driver, and the default data allocation type used by a Boot Services Driver to allocate pool memory.

EfiRuntimeServicesCode 

The code portions of a loaded Runtime Services Driver.

EfiRuntimeServicesData 

The data portions of a loaded Runtime Services Driver and the default data allocation type used by a Runtime Services Driver to allocate pool memory.

EfiConventionalMemory 

Free (unallocated) memory.

EfiUnusableMemory 

Memory in which errors have been detected.

EfiACPIReclaimMemory 

Memory that holds the ACPI tables.

EfiACPIMemoryNVS 

Address space reserved for use by the firmware.

EfiMemoryMappedIO 

Used by system firmware to request that a memory-mapped IO region be mapped by the OS to a virtual address so it can be accessed by EFI runtime services.

EfiMemoryMappedIOPortSpace 

System memory-mapped IO region that is used to translate memory cycles to IO cycles by the processor.

EfiPalCode 

Address space reserved by the firmware for code that is part of the processor.

EfiPersistentMemory 

A memory region that operates as EfiConventionalMemory, however it happens to also support byte-addressable non-volatility.

EfiUnacceptedMemoryType 

A memory region that describes system memory that has not been accepted by a corresponding call to the underlying isolation architecture.

EfiMaxMemoryType 

Definition at line 40 of file UefiMultiPhase.h.

40  {
41  ///
42  /// Not used.
43  ///
45  ///
46  /// The code portions of a loaded application.
47  /// (Note that UEFI OS loaders are UEFI applications.)
48  ///
50  ///
51  /// The data portions of a loaded application and the default data allocation
52  /// type used by an application to allocate pool memory.
53  ///
55  ///
56  /// The code portions of a loaded Boot Services Driver.
57  ///
59  ///
60  /// The data portions of a loaded Boot Serves Driver, and the default data
61  /// allocation type used by a Boot Services Driver to allocate pool memory.
62  ///
64  ///
65  /// The code portions of a loaded Runtime Services Driver.
66  ///
68  ///
69  /// The data portions of a loaded Runtime Services Driver and the default
70  /// data allocation type used by a Runtime Services Driver to allocate pool memory.
71  ///
73  ///
74  /// Free (unallocated) memory.
75  ///
77  ///
78  /// Memory in which errors have been detected.
79  ///
81  ///
82  /// Memory that holds the ACPI tables.
83  ///
85  ///
86  /// Address space reserved for use by the firmware.
87  ///
89  ///
90  /// Used by system firmware to request that a memory-mapped IO region
91  /// be mapped by the OS to a virtual address so it can be accessed by EFI runtime services.
92  ///
94  ///
95  /// System memory-mapped IO region that is used to translate memory
96  /// cycles to IO cycles by the processor.
97  ///
99  ///
100  /// Address space reserved by the firmware for code that is part of the processor.
101  ///
102  EfiPalCode,
103  ///
104  /// A memory region that operates as EfiConventionalMemory,
105  /// however it happens to also support byte-addressable non-volatility.
106  ///
108  ///
109  /// A memory region that describes system memory that has not been accepted
110  /// by a corresponding call to the underlying isolation architecture.
111  ///
A memory region that operates as EfiConventionalMemory, however it happens to also support byte-addre...
A memory region that describes system memory that has not been accepted by a corresponding call to th...
The code portions of a loaded application.
EFI_MEMORY_TYPE
Enumeration of memory types introduced in UEFI.
Address space reserved by the firmware for code that is part of the processor.
Used by system firmware to request that a memory-mapped IO region be mapped by the OS to a virtual ad...
Memory that holds the ACPI tables.
The code portions of a loaded Boot Services Driver.
Free (unallocated) memory.
System memory-mapped IO region that is used to translate memory cycles to IO cycles by the processor.
The data portions of a loaded Runtime Services Driver and the default data allocation type used by a ...
The code portions of a loaded Runtime Services Driver.
Address space reserved for use by the firmware.
The data portions of a loaded Boot Serves Driver, and the default data allocation type used by a Boot...
The data portions of a loaded application and the default data allocation type used by an application...
Memory in which errors have been detected.

◆ EFI_RESET_TYPE

Enumeration of reset types.

Enumerator
EfiResetCold 

Used to induce a system-wide reset.

This sets all circuitry within the system to its initial state. This type of reset is asynchronous to system operation and operates withgout regard to cycle boundaries. EfiColdReset is tantamount to a system power cycle.

EfiResetWarm 

Used to induce a system-wide initialization.

The processors are set to their initial state, and pending cycles are not corrupted. If the system does not support this reset type, then an EfiResetCold must be performed.

EfiResetShutdown 

Used to induce an entry into a power state equivalent to the ACPI G2/S5 or G3 state.

If the system does not support this reset type, then when the system is rebooted, it should exhibit the EfiResetCold attributes.

EfiResetPlatformSpecific 

Used to induce a system-wide reset.

The exact type of the reset is defined by the EFI_GUID that follows the Null-terminated Unicode string passed into ResetData. If the platform does not recognize the EFI_GUID in ResetData the platform must pick a supported reset type to perform. The platform may optionally log the parameters from any non-normal reset that occurs.

Definition at line 119 of file UefiMultiPhase.h.

119  {
120  ///
121  /// Used to induce a system-wide reset. This sets all circuitry within the
122  /// system to its initial state. This type of reset is asynchronous to system
123  /// operation and operates withgout regard to cycle boundaries. EfiColdReset
124  /// is tantamount to a system power cycle.
125  ///
126  EfiResetCold,
127  ///
128  /// Used to induce a system-wide initialization. The processors are set to their
129  /// initial state, and pending cycles are not corrupted. If the system does
130  /// not support this reset type, then an EfiResetCold must be performed.
131  ///
132  EfiResetWarm,
133  ///
134  /// Used to induce an entry into a power state equivalent to the ACPI G2/S5 or G3
135  /// state. If the system does not support this reset type, then when the system
136  /// is rebooted, it should exhibit the EfiResetCold attributes.
137  ///
139  ///
140  /// Used to induce a system-wide reset. The exact type of the reset is defined by
141  /// the EFI_GUID that follows the Null-terminated Unicode string passed into
142  /// ResetData. If the platform does not recognize the EFI_GUID in ResetData the
143  /// platform must pick a supported reset type to perform. The platform may
144  /// optionally log the parameters from any non-normal reset that occurs.
145  ///
EFI_RESET_TYPE
Enumeration of reset types.
Used to induce a system-wide reset.
Used to induce a system-wide reset.
Used to induce a system-wide initialization.
Used to induce an entry into a power state equivalent to the ACPI G2/S5 or G3 state.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( BSD2_PATENT  )