Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
resource_table Struct Reference

#include <remoteproc.h>

Data Fields

u32 ver
 
u32 num
 
u32 reserved [2]
 
u32 offset [0]
 

Detailed Description

struct resource_table - firmware resource table header : version number : number of resource entries : reserved (must be zero) : array of offsets pointing at the various resource entries

A resource table is essentially a list of system resources required by the remote processor. It may also include configuration entries. If needed, the remote processor firmware should contain this table as a dedicated ".resource_table" ELF section.

Some resources entries are mere announcements, where the host is informed of specific remoteproc configuration. Other entries require the host to do something (e.g. allocate a system resource). Sometimes a negotiation is expected, where the firmware requests a resource, and once allocated, the host should provide back its details (e.g. address of an allocated memory region).

The header of the resource table, as expressed by this structure, contains a version number (should we need to change this format in the future), the number of available resource entries, and their offsets in the table.

Immediately following this header are the resource entries themselves, each of which begins with a resource entry header (as described below).

Definition at line 72 of file remoteproc.h.

Field Documentation

u32 num

Definition at line 74 of file remoteproc.h.

u32 offset[0]

Definition at line 76 of file remoteproc.h.

u32 reserved[2]

Definition at line 75 of file remoteproc.h.

u32 ver

Definition at line 73 of file remoteproc.h.


The documentation for this struct was generated from the following file: