PDK API Guide for J721E
IPC Driver Resource Table configuration

Introduction

This is documentation for Resource Table configuratin for remote core as A72 running Linux.

Data Structures

struct  Ipc_Hdr
 IPC Resource Table Header. More...
 
struct  Ipc_Trace
 Structure used for remoteproc trace. More...
 
struct  Ipc_VDevVRing
 Resource Table Device VRing Structure. More...
 
struct  Ipc_VDev
 VDEV structure. Must match with Linux. More...
 
struct  Ipc_ResourceTable
 IPC Resource Table used by IPC app. More...
 

Macros

#define VIRTIO_ID_CONSOLE   3
 Virtio type console used for Linux remoteproc. More...
 
#define VIRTIO_ID_RPMSG   7
 Virtio type as Remote Proc Messaging. More...
 
#define VIRTIO_RPMSG_F_NS   0
 RP supports name service notifications. More...
 
#define VIRTIO_RING_F_SYMMETRIC   30
 Support symmetric vring. More...
 
#define TYPE_CARVEOUT   0
 carvout type More...
 
#define TYPE_DEVMEM   1
 Devmem type. More...
 
#define TYPE_TRACE   2
 trace type More...
 
#define TYPE_VDEV   3
 VDEV type. More...
 
#define FW_RSC_ADDR_ANY   (~0)
 Macro to specify memory needs to be dynamically allocated. More...
 
#define NUM_ENTRIES   2
 Number of e ntries. More...
 
#define NAME_LEN   32
 Name Length. More...
 
#define TRACE_INTS_VER0   (0 << 16)
 
#define TRACE_INTS_VER1   (1 << 16)
 

Macro Definition Documentation

◆ VIRTIO_ID_CONSOLE

#define VIRTIO_ID_CONSOLE   3

Virtio type console used for Linux remoteproc.

◆ VIRTIO_ID_RPMSG

#define VIRTIO_ID_RPMSG   7

Virtio type as Remote Proc Messaging.

◆ VIRTIO_RPMSG_F_NS

#define VIRTIO_RPMSG_F_NS   0

RP supports name service notifications.

◆ VIRTIO_RING_F_SYMMETRIC

#define VIRTIO_RING_F_SYMMETRIC   30

Support symmetric vring.

◆ TYPE_CARVEOUT

#define TYPE_CARVEOUT   0

carvout type

◆ TYPE_DEVMEM

#define TYPE_DEVMEM   1

Devmem type.

◆ TYPE_TRACE

#define TYPE_TRACE   2

trace type

◆ TYPE_VDEV

#define TYPE_VDEV   3

VDEV type.

◆ FW_RSC_ADDR_ANY

#define FW_RSC_ADDR_ANY   (~0)

Macro to specify memory needs to be dynamically allocated.

◆ NUM_ENTRIES

#define NUM_ENTRIES   2

Number of e ntries.

◆ NAME_LEN

#define NAME_LEN   32

Name Length.

◆ TRACE_INTS_VER0

#define TRACE_INTS_VER0   (0 << 16)

◆ TRACE_INTS_VER1

#define TRACE_INTS_VER1   (1 << 16)