Enumerations

enum EmmcPartition : uint8_t
Name Value Comments
USER_DATA_PARTITION 0x0 --
BOOT_PARTITION_1 0x1 --
BOOT_PARTITION_2 0x2 --
RPMB_PARTITION 0x3 --
PARTITION_COUNT 4 --
UNKNOWN 0xff

Not a real partition, but is used to indicate the current partition is unknown.

See the eMMC specification section 7.4.69 for these constants.

Defined at line 16 of file ../../src/devices/block/drivers/sdmmc/sdmmc-types.h

Records

Functions

  • sdmmc_buffer_region_t GetBuffer (const fuchsia_hardware_sdmmc::wire::SdmmcBufferRegion & buffer)

    Use function overloads to convert the buffer depending on whether this is a Banjo or a FIDL call.

    We use Banjo for tracking buffer positions, so there is no conversion necessary in that case.

    Defined at line 866 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc

  • sdmmc_buffer_region_t GetBuffer (const sdmmc_buffer_region_t & buffer)

    Defined at line 883 of file ../../src/devices/block/drivers/sdmmc/sdio-controller-device.cc