TianoCore EDK2 master
_EFI_CPU_ARCH_PROTOCOL Struct Reference

#include <MdePkg/Include/Protocol/Cpu.h>

Data Fields

EFI_CPU_FLUSH_DATA_CACHE FlushDataCache
 
EFI_CPU_ENABLE_INTERRUPT EnableInterrupt
 
EFI_CPU_DISABLE_INTERRUPT DisableInterrupt
 
EFI_CPU_GET_INTERRUPT_STATE GetInterruptState
 
EFI_CPU_INIT Init
 
EFI_CPU_REGISTER_INTERRUPT_HANDLER RegisterInterruptHandler
 
EFI_CPU_GET_TIMER_VALUE GetTimerValue
 
EFI_CPU_SET_MEMORY_ATTRIBUTES SetMemoryAttributes
 
UINT32 NumberOfTimers
 
UINT32 DmaBufferAlignment
 

Detailed Description

The EFI_CPU_ARCH_PROTOCOL is used to abstract processor-specific functions from the DXE Foundation. This includes flushing caches, enabling and disabling interrupts, hooking interrupt vectors and exception vectors, reading internal processor timers, resetting the processor, and determining the processor frequency.

Definition at line 259 of file Cpu.h.

Field Documentation

◆ DisableInterrupt

EFI_CPU_DISABLE_INTERRUPT _EFI_CPU_ARCH_PROTOCOL::DisableInterrupt

Definition at line 262 of file Cpu.h.

◆ DmaBufferAlignment

UINT32 _EFI_CPU_ARCH_PROTOCOL::DmaBufferAlignment

The size, in bytes, of the alignment required for DMA buffer allocations. This is typically the size of the largest data cache line in the platform. The value in this field is a constant that must not be modified after the CPU Architectural Protocol is installed. All consumers must treat this as a read-only field.

Definition at line 281 of file Cpu.h.

◆ EnableInterrupt

EFI_CPU_ENABLE_INTERRUPT _EFI_CPU_ARCH_PROTOCOL::EnableInterrupt

Definition at line 261 of file Cpu.h.

◆ FlushDataCache

EFI_CPU_FLUSH_DATA_CACHE _EFI_CPU_ARCH_PROTOCOL::FlushDataCache

Definition at line 260 of file Cpu.h.

◆ GetInterruptState

EFI_CPU_GET_INTERRUPT_STATE _EFI_CPU_ARCH_PROTOCOL::GetInterruptState

Definition at line 263 of file Cpu.h.

◆ GetTimerValue

EFI_CPU_GET_TIMER_VALUE _EFI_CPU_ARCH_PROTOCOL::GetTimerValue

Definition at line 266 of file Cpu.h.

◆ Init

EFI_CPU_INIT _EFI_CPU_ARCH_PROTOCOL::Init

Definition at line 264 of file Cpu.h.

◆ NumberOfTimers

UINT32 _EFI_CPU_ARCH_PROTOCOL::NumberOfTimers

The number of timers that are available in a processor. The value in this field is a constant that must not be modified after the CPU Architectural Protocol is installed. All consumers must treat this as a read-only field.

Definition at line 273 of file Cpu.h.

◆ RegisterInterruptHandler

EFI_CPU_REGISTER_INTERRUPT_HANDLER _EFI_CPU_ARCH_PROTOCOL::RegisterInterruptHandler

Definition at line 265 of file Cpu.h.

◆ SetMemoryAttributes

EFI_CPU_SET_MEMORY_ATTRIBUTES _EFI_CPU_ARCH_PROTOCOL::SetMemoryAttributes

Definition at line 267 of file Cpu.h.


The documentation for this struct was generated from the following file: