struct ReadWriteMetadata
Defined at line 49 of file ../../src/devices/block/drivers/sdmmc/sdmmc-block-device.h
This struct is used to maintain metadata for IO while the IO is in progress: When using Banjo,
this is a hard requirement, as only object handles are passed through the call. When using FIDL,
objects can be transferred through the call. However for performance, we avoid repeatedly
creating and initializing objects.
Public Members
unique_ptr buffer_regions
vmo packed_command_vmo
span ext_csd
VmoMapper packed_command_mapper
PackedCommand * packed_command_header_data
Public Methods
void ReadWriteMetadata (SdmmcBlockDevice * block_device)
Defined at line 51 of file ../../src/devices/block/drivers/sdmmc/sdmmc-block-device.h
zx_status_t InitForPackedCommands (uint32_t buffer_region_count, uint32_t block_size)
This initialization is only required if packed commands are used.
Defined at line 54 of file ../../src/devices/block/drivers/sdmmc/sdmmc-block-device.h
uint64_t ext_csd_offset ()
Defined at line 87 of file ../../src/devices/block/drivers/sdmmc/sdmmc-block-device.h
fdf::Logger & logger ()
Defined at line 92 of file ../../src/devices/block/drivers/sdmmc/sdmmc-block-device.cc