Google is committed to advancing racial equity for Black communities. See how.

fuchsia.nand

PROTOCOLS

Broker

Defined in fuchsia.nand/broker.fidl

The Broker allows for serialized entry to the raw nand, which ensures only a single client is ever talking to the nand device, and all higher level clients have disconnected. In addition, access to raw nand is restricted from the system during production where nand-broker is not present.

Erase

Request

NameType
request BrokerRequestData

Response

NameType
status zx/status

GetInfo

Request

<EMPTY>

Response

NameType
status zx/status
info fuchsia.hardware.nand/Info?

Read

Request

NameType
request BrokerRequestData

Response

NameType
status zx/status
corrected_bit_flips uint32

ReadBytes

Request

NameType
request BrokerRequestDataBytes

Response

NameType
status zx/status

Write

Request

NameType
request BrokerRequestData

Response

NameType
status zx/status

WriteBytes

Request

NameType
request BrokerRequestDataBytes

Response

NameType
status zx/status

STRUCTS

BrokerRequestData resource

Defined in fuchsia.nand/broker.fidl

NameTypeDescriptionDefault
vmo handle<vmo>? No default
length uint32 No default
offset_nand uint32 No default
offset_data_vmo uint64 No default
offset_oob_vmo uint64 No default
data_vmo bool No default
oob_vmo bool No default

BrokerRequestDataBytes resource

Defined in fuchsia.nand/broker.fidl

NameTypeDescriptionDefault
vmo handle<vmo> No default
length uint64 No default
offset_nand uint64 No default
offset_data_vmo uint64 No default