新增:7
协议
SysInfo
在 fuchsia.sysinfo/sysinfo.fidl 中定义
GetBoardName
返回我们正在运行的平台的开发板名称。
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
status |
zx/Result
|
name |
string:32?
|
GetBoardRevision
返回我们正在运行的开发板的修订版本。
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
status |
zx/Result
|
revision |
uint32
|
GetBootloaderVendor
返回我们正在运行的平台的引导加载程序供应商。
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
status |
zx/Result
|
vendor |
string:32?
|
GetInterruptControllerInfo
返回中断控制器信息。
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
status |
zx/Result
|
info |
InterruptControllerInfo?
|
GetSerialNumber
Added: HEAD
请求
<EMPTY>
响应
| 名称 | 类型 |
|---|---|
payload |
SysInfo_GetSerialNumber_Result
|
STRUCTS
InterruptControllerInfo
在 fuchsia.sysinfo/sysinfo.fidl 中定义
| 字段 | 类型 | 说明 | 默认 |
|---|---|---|---|
type |
InterruptControllerType
|
无默认应用 |
SysInfo_GetSerialNumber_Response
在 fuchsia.sysinfo/sysinfo.fidl 中定义
| 字段 | 类型 | 说明 | 默认 |
|---|---|---|---|
serial |
string:32
|
无默认应用 |
枚举
InterruptControllerType flexible
类型:uint32
在 fuchsia.sysinfo/sysinfo.fidl 中定义
| 名称 | 值 | 说明 |
|---|---|---|
未知 |
0 |
|
APIC |
1 |
|
GIC_V2 |
2 |
|
GIC_V3 |
3 |
|
PLIC |
4 |
新增:12
|
UNIONS
SysInfo_GetSerialNumber_Result strict
在 fuchsia.sysinfo/sysinfo.fidl 中定义
| 序数 | 变体 | 类型 | 说明 |
|---|---|---|---|
1 |
response |
SysInfo_GetSerialNumber_Response
|
|
2 |
err |
zx/Status
|
常量
| 名称 | 值 | 类型 | 说明 |
|---|---|---|---|
| BOARD_NAME_LEN |
32
|
uint8 |
|
| BOOTLOADER_VENDOR_LEN |
32
|
uint8 |
|
| SERIAL_NUMBER_LEN |
32
|
uint8 |
Added: HEAD
|
服务
服务
在 fuchsia.sysinfo/sysinfo.fidl 中定义
| 名称 | 类型 | 传输 |
|---|---|---|
| 设备 |
fuchsia.sysinfo/SysInfo
|
渠道 |