Remoteproc based on Linux Kernel Documention
◆ __packed
◆ FW_RSC_ADDR_ANY
#define FW_RSC_ADDR_ANY (0xFFFFFFFFFFFFFFFF) |
◆ fw_resource_type
enum fw_resource_type - types of resource entries
For more details regarding a specific resource type, please see its dedicated structure below.
Please note that these values are used as indices to the rproc_handle_rsc lookup table, so please keep them sane. Moreover, RSC_LAST is used to check the validity of an index before the lookup table is accessed, so please update it as needed.
Enumerator |
---|
RSC_CARVEOUT | request for allocation of a physically contiguous memory region.
|
RSC_DEVMEM | request to iommu_map a memory-based peripheral.
|
RSC_TRACE | announces the availability of a trace buffer into which the remote processor will be writing logs.
|
RSC_VDEV | declare support for a virtio device, and serve as its virtio header.
|
RSC_LAST | just keep this one at the end
|
◆ rproc_deinit()
int32_t rproc_deinit |
( |
struct rproc * |
rproc | ) |
|
Remoteproc deinit
- Returns
- 0 on ok -1 on error
◆ rproc_init()
struct rproc* rproc_init |
( |
const struct rproc_ops * |
ops, |
|
|
void * |
initData, |
|
|
struct resource_table * |
rsc, |
|
|
uint32_t |
cpuID, |
|
|
bool |
master |
|
) |
| |
Remoteproc Init
- Returns
- 0 on ok -1 on error
◆ rproc_isr()
int32_t rproc_isr |
( |
struct rproc * |
rproc, |
|
|
uint32_t |
virtID |
|
) |
| |
◆ rproc_notify()
int32_t rproc_notify |
( |
struct rproc * |
rproc, |
|
|
uint32_t |
virtID |
|
) |
| |
◆ __packed