Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Enumerations
nldrdefs.h File Reference
#include <dspbridge/dbdcddef.h>
#include <dspbridge/devdefs.h>

Go to the source code of this file.

Data Structures

struct  nldr_attrs
 
struct  node_ldr_fxns
 

Macros

#define NLDR_MAXPATHLENGTH   255
 

Typedefs

typedef u32(* nldr_ovlyfxn )(void *priv_ref, u32 dsp_run_addr, u32 dsp_load_addr, u32 ul_num_bytes, u32 mem_space)
 
typedef u32(* nldr_writefxn )(void *priv_ref, u32 dsp_add, void *pbuf, u32 ul_num_bytes, u32 mem_space)
 
typedef int(* nldr_allocatefxn )(struct nldr_object *nldr_obj, void *priv_ref, const struct dcd_nodeprops *node_props, struct nldr_nodeobject **nldr_nodeobj, bool *pf_phase_split)
 
typedef int(* nldr_createfxn )(struct nldr_object **nldr, struct dev_object *hdev_obj, const struct nldr_attrs *pattrs)
 
typedef void(* nldr_deletefxn )(struct nldr_object *nldr_obj)
 
typedef void(* nldr_freefxn )(struct nldr_nodeobject *nldr_node_obj)
 
typedef int(* nldr_getfxnaddrfxn )(struct nldr_nodeobject *nldr_node_obj, char *str_fxn, u32 *addr)
 
typedef int(* nldr_loadfxn )(struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase)
 
typedef int(* nldr_unloadfxn )(struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase)
 

Enumerations

enum  nldr_loadtype { NLDR_STATICLOAD, NLDR_DYNAMICLOAD, NLDR_OVLYLOAD }
 
enum  nldr_phase { NLDR_CREATE, NLDR_DELETE, NLDR_EXECUTE, NLDR_NOPHASE }
 

Macro Definition Documentation

#define NLDR_MAXPATHLENGTH   255

Definition at line 25 of file nldrdefs.h.

Typedef Documentation

typedef int(* nldr_allocatefxn)(struct nldr_object *nldr_obj, void *priv_ref, const struct dcd_nodeprops *node_props, struct nldr_nodeobject **nldr_nodeobj, bool *pf_phase_split)

Definition at line 129 of file nldrdefs.h.

typedef int(* nldr_createfxn)(struct nldr_object **nldr, struct dev_object *hdev_obj, const struct nldr_attrs *pattrs)

Definition at line 157 of file nldrdefs.h.

typedef void(* nldr_deletefxn)(struct nldr_object *nldr_obj)

Definition at line 173 of file nldrdefs.h.

typedef void(* nldr_freefxn)(struct nldr_nodeobject *nldr_node_obj)

Definition at line 186 of file nldrdefs.h.

typedef int(* nldr_getfxnaddrfxn)(struct nldr_nodeobject *nldr_node_obj, char *str_fxn, u32 *addr)

Definition at line 206 of file nldrdefs.h.

typedef int(* nldr_loadfxn)(struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase)

Definition at line 227 of file nldrdefs.h.

typedef u32(* nldr_ovlyfxn)(void *priv_ref, u32 dsp_run_addr, u32 dsp_load_addr, u32 ul_num_bytes, u32 mem_space)

Definition at line 58 of file nldrdefs.h.

typedef int(* nldr_unloadfxn)(struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase)

Definition at line 244 of file nldrdefs.h.

typedef u32(* nldr_writefxn)(void *priv_ref, u32 dsp_add, void *pbuf, u32 ul_num_bytes, u32 mem_space)

Definition at line 76 of file nldrdefs.h.

Enumeration Type Documentation

Enumerator:
NLDR_STATICLOAD 
NLDR_DYNAMICLOAD 
NLDR_OVLYLOAD 

Definition at line 34 of file nldrdefs.h.

enum nldr_phase
Enumerator:
NLDR_CREATE 
NLDR_DELETE 
NLDR_EXECUTE 
NLDR_NOPHASE 

Definition at line 95 of file nldrdefs.h.