⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module mmio

Module mmio 

Source
Expand description

TPM MMIO base addresses and register offsets (platform-specific)

Constants§

CRB_BUFFER_SIZE
Maximum command/response buffer size
CRB_CTRL_CANCEL
CRB control cancel register
CRB_CTRL_CMD_HADDR
CRB command buffer address (high)
CRB_CTRL_CMD_LADDR
CRB command buffer address (low)
CRB_CTRL_CMD_SIZE
CRB command buffer size
CRB_CTRL_REQ
CRB control request register
CRB_CTRL_RSP_ADDR
CRB response buffer address
CRB_CTRL_RSP_SIZE
CRB response buffer size
CRB_CTRL_START
CRB control start register
CRB_CTRL_STS
CRB control status register
CRB_DATA_BUFFER
CRB data buffer (command/response share this region)
CRB_LOC_CTRL
TPM CRB locality control
CRB_LOC_STATE
TPM CRB locality 0 offset
CRB_LOC_STS
TPM CRB locality status
CRB_START
Start command processing
STS_COMMAND_READY
TPM is ready to accept a command
STS_DATA_AVAIL
Data is available to read
STS_EXPECT
TPM expects more data
STS_VALID
TPM has completed processing
TPM2_BASE
Standard TPM 2.0 MMIO base address (x86_64)
TPM_ACCESS
TPM access register offset (FIFO interface)
TPM_DATA_FIFO
TPM data FIFO offset (FIFO interface)
TPM_INTERFACE_ID
TPM interface ID offset
TPM_STS
TPM status register offset (FIFO interface)