fuchsia.hardware.securemem

PROTOCOLS

Device

Defined in fuchsia.hardware.securemem/securemem.fidl

This protocol currently is a temporary measure to allow for services to get the physical address of a previously pinned VMO until trusted services can be handed BTI handles.

GetSecureMemoryPhysicalAddress

Gets the physical address of a previously pinned VMO.

Note:

  • The VMO must be contiguous.
  • |secure_mem| is expected to have a stable physical address that is pinned by some other entity. The protocol implementation should not be expected to keep the VMO pinned.
  • The server implementation must not use an IOMMU-backed BTI handle, as the physical address of the VMO being pinned must be stable.

Request

NameType
secure_mem handle<vmo>

Response

NameType
s zx/status
paddr zx/paddr

STRUCTS