Linux Kernel
3.7.1
|
#include <linux/types.h>
#include <dspbridge/host_os.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/cod.h>
#include <dspbridge/dev.h>
#include <dspbridge/dbll.h>
#include <dspbridge/dbdcd.h>
#include <dspbridge/rmm.h>
#include <dspbridge/uuidutil.h>
#include <dspbridge/nldr.h>
#include <linux/lcm.h>
Go to the source code of this file.
Data Structures | |
struct | mem_seg_info |
struct | lib_node |
struct | ovly_sect |
struct | ovly_node |
struct | nldr_object |
struct | nldr_nodeobject |
Macros | |
#define | DYNMEMSECT ".dspbridge_mem" |
#define | DEPLIBSECT ".dspbridge_deplibs" |
#define | MAXDEPTH 5 |
#define | MAXLIBS 5 |
#define | MAXMEMSEGS 32 |
#define | MAXSEGID 3 /* Largest possible (real) segid */ |
#define | MEMINTERNALID 32 /* Segid meaning use internal mem */ |
#define | MEMEXTERNALID 33 /* Segid meaning use external mem */ |
#define | NULLID 63 /* Segid meaning no memory req/pref */ |
#define | FLAGBIT 7 /* 7th bit is pref./req. flag */ |
#define | SEGMASK 0x3f /* Bits 0 - 5 */ |
#define | CREATEBIT 0 /* Create segid starts at bit 0 */ |
#define | DELETEBIT 8 /* Delete segid starts at bit 8 */ |
#define | EXECUTEBIT 16 /* Execute segid starts at bit 16 */ |
#define | DYNM_CODE 0x2 |
#define | DYNM_DATA 0x4 |
#define | DYNM_CODEDATA (DYNM_CODE | DYNM_DATA) |
#define | DYNM_INTERNAL 0x8 |
#define | DYNM_EXTERNAL 0x10 |
#define | CREATEDATAFLAGBIT 0 |
#define | CREATECODEFLAGBIT 1 |
#define | EXECUTEDATAFLAGBIT 2 |
#define | EXECUTECODEFLAGBIT 3 |
#define | DELETEDATAFLAGBIT 4 |
#define | DELETECODEFLAGBIT 5 |
#define | MAXFLAGS 6 |
#define | PCREATE "create" |
#define | PDELETE "delete" |
#define | PEXECUTE "execute" |
Functions | |
int | nldr_allocate (struct nldr_object *nldr_obj, void *priv_ref, const struct dcd_nodeprops *node_props, struct nldr_nodeobject **nldr_nodeobj, bool *pf_phase_split) |
int | nldr_create (struct nldr_object **nldr, struct dev_object *hdev_obj, const struct nldr_attrs *pattrs) |
void | nldr_delete (struct nldr_object *nldr_obj) |
int | nldr_get_fxn_addr (struct nldr_nodeobject *nldr_node_obj, char *str_fxn, u32 *addr) |
int | nldr_get_rmm_manager (struct nldr_object *nldr, struct rmm_target_obj **rmm_mgr) |
int | nldr_load (struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase) |
int | nldr_unload (struct nldr_nodeobject *nldr_node_obj, enum nldr_phase phase) |
int nldr_allocate | ( | struct nldr_object * | nldr_obj, |
void * | priv_ref, | ||
const struct dcd_nodeprops * | node_props, | ||
struct nldr_nodeobject ** | nldr_nodeobj, | ||
bool * | pf_phase_split | ||
) |
int nldr_create | ( | struct nldr_object ** | nldr, |
struct dev_object * | hdev_obj, | ||
const struct nldr_attrs * | pattrs | ||
) |
void nldr_delete | ( | struct nldr_object * | nldr_obj | ) |
int nldr_get_fxn_addr | ( | struct nldr_nodeobject * | nldr_node_obj, |
char * | str_fxn, | ||
u32 * | addr | ||
) |
int nldr_get_rmm_manager | ( | struct nldr_object * | nldr, |
struct rmm_target_obj ** | rmm_mgr | ||
) |
int nldr_load | ( | struct nldr_nodeobject * | nldr_node_obj, |
enum nldr_phase | phase | ||
) |
int nldr_unload | ( | struct nldr_nodeobject * | nldr_node_obj, |
enum nldr_phase | phase | ||
) |