PROTOCOLS
PDev
Defined in fuchsia.hardware.platform.device/platform-device.fidl
GetBoardInfo
Request
Name | Type |
---|
Response
Name | Type |
---|---|
s |
zx/status
|
info |
PdevBoardInfo
|
GetBti
Request
Name | Type |
---|---|
index |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
bti |
handle<bti>
|
GetDeviceInfo
Request
Name | Type |
---|
Response
Name | Type |
---|---|
s |
zx/status
|
info |
PdevDeviceInfo
|
GetInterrupt
Request
Name | Type |
---|---|
index |
uint32
|
flags |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
irq |
handle<interrupt>
|
GetMmio
Request
Name | Type |
---|---|
index |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
mmio |
PdevMmio
|
GetSmc
Request
Name | Type |
---|---|
index |
uint32
|
Response
Name | Type |
---|---|
s |
zx/status
|
smc |
handle<resource>
|
STRUCTS
PdevBoardInfo
Defined in fuchsia.hardware.platform.device/platform-device.fidl
Name | Type | Description | Default |
---|---|---|---|
vid |
uint32
|
Vendor ID for the board. |
No default |
pid |
uint32
|
Product ID for the board. |
No default |
board_name |
string[32]
|
Board name from the boot image platform ID record, (or from the BIOS on x86 platforms). |
No default |
board_revision |
uint32
|
Board specific revision number. |
No default |
PdevDeviceInfo
Defined in fuchsia.hardware.platform.device/platform-device.fidl
Name | Type | Description | Default |
---|---|---|---|
vid |
uint32
|
No default | |
pid |
uint32
|
No default | |
did |
uint32
|
No default | |
mmio_count |
uint32
|
No default | |
irq_count |
uint32
|
No default | |
bti_count |
uint32
|
No default | |
smc_count |
uint32
|
No default | |
metadata_count |
uint32
|
No default | |
reserved |
uint32[8]
|
No default | |
name |
string[32]
|
No default |
PdevMmio
Defined in fuchsia.hardware.platform.device/platform-device.fidl
Name | Type | Description | Default |
---|---|---|---|
offset |
zx/off
|
Offset from beginning of VMO where the mmio region begins. |
No default |
size |
uint64
|
Size of mmio region. |
No default |
vmo |
handle<vmo>
|
No default |