[go: up one dir, main page]

Module system

Module system 

Source
Expand description

UEFI System Integration

This header defines the structures and types of the surrounding system of an UEFI application. It contains the definitions of the system table, the runtime and boot services, as well as common types.

We do not document the behavior of each of these types and functions. They follow the UEFI specification, which does a well-enough job of documenting each. This file just provides you the rust definitions of each symbol and some limited hints on some pecularities.

Structs§

BootServices
CapsuleBlockDescriptor
CapsuleHeader
CapsuleResultVariableFMP
CapsuleResultVariableHeader
ConfigurationTable
ConformanceProfilesTable
MemoryAttributesTable
MemoryDescriptor
OpenProtocolInformationEntry
PropertiesTable
RtPropertiesTable
RuntimeServices
SystemTable
TableHeader
Time
TimeCapabilities
VariableAuthentication
VariableAuthentication2
VariableAuthentication3
VariableAuthentication3CertId
VariableAuthentication3Nonce

Constants§

ACPI_10_TABLE_GUID
ACPI_20_TABLE_GUID
ACPI_MEMORY_NVS
ACPI_RECLAIM_MEMORY
ALLOCATE_ADDRESS
ALLOCATE_ANY_PAGES
ALLOCATE_MAX_ADDRESS
ALL_HANDLES
BOOT_SERVICES_CODE
BOOT_SERVICES_DATA
BOOT_SERVICES_REVISION
BOOT_SERVICES_SIGNATURE
BY_PROTOCOL
BY_REGISTER_NOTIFY
CACHE_ATTRIBUTE_MASK
Mask of memory attributes that specify cacheability attributes. No symbol is defined by the spec, but the attributes are annotated in the spec. Note that MEMORY_WP, despite its name, is treated as cacheability attribute. Use MEMORY_RO as replacement access attribute (see the spec for details).
CAPSULE_FLAGS_INITIATE_RESET
CAPSULE_FLAGS_PERSIST_ACROSS_RESET
CAPSULE_FLAGS_POPULATE_SYSTEM_TABLE
CAPSULE_REPORT_GUID
CONFORMANCE_PROFILES_TABLE_GUID
CONFORMANCE_PROFILES_TABLE_VERSION
CONFORMANCE_PROFILES_UEFI_SPEC_GUID
CONVENTIONAL_MEMORY
DTB_TABLE_GUID
EVENT_GROUP_AFTER_READY_TO_BOOT
EVENT_GROUP_BEFORE_EXIT_BOOT_SERVICES
EVENT_GROUP_EXIT_BOOT_SERVICES
EVENT_GROUP_MEMORY_MAP_CHANGE
EVENT_GROUP_READY_TO_BOOT
EVENT_GROUP_RESET_SYSTEM
EVENT_GROUP_VIRTUAL_ADDRESS_CHANGE
EVT_NOTIFY_SIGNAL
EVT_NOTIFY_WAIT
EVT_RUNTIME
EVT_SIGNAL_EXIT_BOOT_SERVICES
EVT_SIGNAL_VIRTUAL_ADDRESS_CHANGE
EVT_TIMER
HARDWARE_ERROR_VARIABLE_GUID
JSON_CAPSULE_DATA_TABLE_GUID
JSON_CAPSULE_RESULT_TABLE_GUID
JSON_CONFIG_DATA_TABLE_GUID
LOADER_CODE
LOADER_DATA
MEMORY_ACCESS_MASK
Mask of memory attributes that specify access protection attributes. No symbol is defined by the spec, but the attributes are annotated in the spec. Note that MEMORY_WP is treated as cacheability attribute, and its access protection functionality is replaced by MEMORY_RO.
MEMORY_ATTRIBUTES_TABLE_GUID
MEMORY_ATTRIBUTES_TABLE_VERSION
MEMORY_ATTRIBUTE_MASK
Mask of memory attributes that specify properties of a memory region that can be managed via the CPU architecture protocol.
MEMORY_CPU_CRYPTO
MEMORY_DESCRIPTOR_VERSION
MEMORY_ISA_MASK
MEMORY_ISA_VALID
MEMORY_MAPPED_IO
MEMORY_MAPPED_IO_PORT_SPACE
MEMORY_MORE_RELIABLE
MEMORY_NV
MEMORY_RO
MEMORY_RP
MEMORY_RUNTIME
MEMORY_SP
MEMORY_UC
MEMORY_UCE
MEMORY_WB
MEMORY_WC
MEMORY_WP
MEMORY_WT
MEMORY_XP
MPS_TABLE_GUID
NATIVE_INTERFACE
OPEN_PROTOCOL_BY_CHILD_CONTROLLER
OPEN_PROTOCOL_BY_DRIVER
OPEN_PROTOCOL_BY_HANDLE_PROTOCOL
OPEN_PROTOCOL_EXCLUSIVE
OPEN_PROTOCOL_GET_PROTOCOL
OPEN_PROTOCOL_TEST_PROTOCOL
OPTIONAL_POINTER
OS_INDICATIONS_BOOT_TO_FW_UI
OS_INDICATIONS_CAPSULE_RESULT_VAR_SUPPORTED
OS_INDICATIONS_FILE_CAPSULE_DELIVERY_SUPPORTED
OS_INDICATIONS_FMP_CAPSULE_SUPPORTED
OS_INDICATIONS_START_OS_RECOVERY
OS_INDICATIONS_START_PLATFORM_RECOVERY
OS_INDICATIONS_TIMESTAMP_REVOCATION
PAL_CODE
PERSISTENT_MEMORY
PROPERTIES_RUNTIME_MEMORY_PROTECTION_NON_EXECUTABLE_PE_DATA
PROPERTIES_TABLE_GUID
PROPERTIES_TABLE_VERSION
RESERVED_MEMORY_TYPE
RESET_COLD
RESET_PLATFORM_SPECIFIC
RESET_SHUTDOWN
RESET_WARM
RT_PROPERTIES_TABLE_GUID
RT_PROPERTIES_TABLE_VERSION
RT_SUPPORTED_CONVERT_POINTER
RT_SUPPORTED_GET_NEXT_HIGH_MONOTONIC_COUNT
RT_SUPPORTED_GET_NEXT_VARIABLE_NAME
RT_SUPPORTED_GET_TIME
RT_SUPPORTED_GET_VARIABLE
RT_SUPPORTED_GET_WAKEUP_TIME
RT_SUPPORTED_QUERY_CAPSULE_CAPABILITIES
RT_SUPPORTED_QUERY_VARIABLE_INFO
RT_SUPPORTED_RESET_SYSTEM
RT_SUPPORTED_SET_TIME
RT_SUPPORTED_SET_VARIABLE
RT_SUPPORTED_SET_VIRTUAL_ADDRESS_MAP
RT_SUPPORTED_SET_WAKEUP_TIME
RT_SUPPORTED_UPDATE_CAPSULE
RUNTIME_SERVICES_CODE
RUNTIME_SERVICES_DATA
RUNTIME_SERVICES_REVISION
RUNTIME_SERVICES_SIGNATURE
SAL_SYSTEM_TABLE_GUID
SMBIOS3_TABLE_GUID
SMBIOS_TABLE_GUID
SPECIFICATION_REVISION
SYSTEM_TABLE_REVISION
SYSTEM_TABLE_REVISION_1_02
SYSTEM_TABLE_REVISION_1_10
SYSTEM_TABLE_REVISION_2_00
SYSTEM_TABLE_REVISION_2_10
SYSTEM_TABLE_REVISION_2_20
SYSTEM_TABLE_REVISION_2_30
SYSTEM_TABLE_REVISION_2_31
SYSTEM_TABLE_REVISION_2_40
SYSTEM_TABLE_REVISION_2_50
SYSTEM_TABLE_REVISION_2_60
SYSTEM_TABLE_REVISION_2_70
SYSTEM_TABLE_SIGNATURE
TIMER_CANCEL
TIMER_PERIODIC
TIMER_RELATIVE
TIME_ADJUST_DAYLIGHT
TIME_IN_DAYLIGHT
TPL_APPLICATION
TPL_CALLBACK
TPL_HIGH_LEVEL
TPL_NOTIFY
UNACCEPTED_MEMORY_TYPE
UNSPECIFIED_TIMEZONE
UNUSABLE_MEMORY
VARIABLE_APPEND_WRITE
VARIABLE_AUTHENTICATED_WRITE_ACCESS
VARIABLE_AUTHENTICATION_3_CERT_ID_SHA256
VARIABLE_AUTHENTICATION_3_NONCE_TYPE
VARIABLE_AUTHENTICATION_3_TIMESTAMP_TYPE
VARIABLE_BOOTSERVICE_ACCESS
VARIABLE_ENHANCED_AUTHENTICATED_ACCESS
VARIABLE_HARDWARE_ERROR_RECORD
VARIABLE_NON_VOLATILE
VARIABLE_RUNTIME_ACCESS
VARIABLE_TIME_BASED_AUTHENTICATED_WRITE_ACCESS

Type Aliases§

AllocateType
BootAllocatePages
BootAllocatePool
BootCalculateCrc32
BootCheckEvent
BootCloseEvent
BootCloseProtocol
BootConnectController
BootCopyMem
BootCreateEvent
BootCreateEventEx
BootDisconnectController
BootExit
BootExitBootServices
BootFreePages
BootFreePool
BootGetMemoryMap
BootGetNextMonotonicCount
BootHandleProtocol
BootInstallConfigurationTable
BootInstallMultipleProtocolInterfaces
BootInstallProtocolInterface
BootLoadImage
BootLocateDevicePath
BootLocateHandle
BootLocateHandleBuffer
BootLocateProtocol
BootOpenProtocol
BootOpenProtocolInformation
BootProtocolsPerHandle
BootRaiseTpl
BootRegisterProtocolNotify
BootReinstallProtocolInterface
BootRestoreTpl
BootSetMem
BootSetTimer
BootSetWatchdogTimer
BootSignalEvent
BootStall
BootStartImage
BootUninstallMultipleProtocolInterfaces
BootUninstallProtocolInterface
BootUnloadImage
BootWaitForEvent
EventNotify
InterfaceType
LocateSearchType
MemoryType
ResetType
RuntimeConvertPointer
RuntimeGetNextHighMonoCount
RuntimeGetNextVariableName
RuntimeGetTime
RuntimeGetVariable
RuntimeGetWakeupTime
RuntimeQueryCapsuleCapabilities
RuntimeQueryVariableInfo
RuntimeResetSystem
RuntimeSetTime
RuntimeSetVariable
RuntimeSetVirtualAddressMap
RuntimeSetWakeupTime
RuntimeUpdateCapsule
TimerDelay

Unions§

CapsuleBlockDescriptorUnion