添加了:HEAD
结构体
PartitionMap
在 fuchsia.boot.metadata/metadata.fidl 中定义
这是 zbi.PartitionMap 的直接副本。
字段 | 类型 | 说明 | 默认 |
---|---|---|---|
block_count |
uint64
|
设备上使用的总块数。 |
无默认值 |
block_size |
uint64
|
每个分块的大小(以字节为单位)。 |
无默认值 |
partition_count |
uint32
|
映射中的分区数量。 |
无默认值 |
reserved |
uint32
|
预留以供日后使用。 |
无默认值 |
guid |
PartitionGuid
|
设备 GUID。 |
无默认值 |
表
MacAddressMetadata
在 fuchsia.boot.metadata/metadata.fidl 中定义
包含以太网、Wi-Fi、蓝牙等网络的设备 MAC 地址的元数据
序数 | 字段 | 类型 | 说明 |
---|---|---|---|
1 |
mac_address |
fuchsia.net/MacAddress
|
Zircon 启动映像中所述的 MAC 地址。 |
PartitionMapMetadata
在 fuchsia.boot.metadata/metadata.fidl 中定义
包含原始块设备分区映射的元数据。
序数 | 字段 | 类型 | 说明 |
---|---|---|---|
1 |
partition_map |
PartitionMap
|
Zircon 启动映像中所述的分区映射。 |
SerialNumberMetadata
在 fuchsia.boot.metadata/metadata.fidl 中定义
包含设备序列号的元数据。
序数 | 字段 | 类型 | 说明 |
---|---|---|---|
1 |
serial_number |
string:32
|
Zircon 启动映像中所述的序列号。 |
常量
名称 | 值 | 类型 | 说明 |
---|---|---|---|
PARTITION_GUID_LEN |
32
|
uint64 |
|
SERIAL_NUMBER_LEN |
32
|
uint8 |
ALIASES
名称 | 值 | 说明 |
---|---|---|
PartitionGuid |
array [PARTITION_GUID_LEN ] |