Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dbll.c File Reference
#include <linux/types.h>
#include <dspbridge/host_os.h>
#include <dspbridge/dbdefs.h>
#include <dspbridge/gh.h>
#include <dspbridge/dynamic_loader.h>
#include <dspbridge/getsection.h>
#include <dspbridge/dbll.h>
#include <dspbridge/rmm.h>

Go to the source code of this file.

Data Structures

struct  dbll_tar_obj
 
struct  dbll_stream
 
struct  ldr_symbol
 
struct  dbll_alloc
 
struct  dbll_init_obj
 
struct  dbll_library_obj
 
struct  dbll_symbol
 

Macros

#define MAXBUCKETS   211
 
#define MAXEXPR   128
 
#define DOFF_ALIGN(x)   (((x) + 3) & ~3UL)
 

Functions

void dbll_close (struct dbll_library_obj *zl_lib)
 
int dbll_create (struct dbll_tar_obj **target_obj, struct dbll_attrs *pattrs)
 
void dbll_delete (struct dbll_tar_obj *target)
 
void dbll_exit (void)
 
bool dbll_get_addr (struct dbll_library_obj *zl_lib, char *name, struct dbll_sym_val **sym_val)
 
void dbll_get_attrs (struct dbll_tar_obj *target, struct dbll_attrs *pattrs)
 
bool dbll_get_c_addr (struct dbll_library_obj *zl_lib, char *name, struct dbll_sym_val **sym_val)
 
int dbll_get_sect (struct dbll_library_obj *lib, char *name, u32 *paddr, u32 *psize)
 
bool dbll_init (void)
 
int dbll_load (struct dbll_library_obj *lib, dbll_flags flags, struct dbll_attrs *attrs, u32 *entry)
 
int dbll_open (struct dbll_tar_obj *target, char *file, dbll_flags flags, struct dbll_library_obj **lib_obj)
 
int dbll_read_sect (struct dbll_library_obj *lib, char *name, char *buf, u32 size)
 
void dbll_unload (struct dbll_library_obj *lib, struct dbll_attrs *attrs)
 

Macro Definition Documentation

#define DOFF_ALIGN (   x)    (((x) + 3) & ~3UL)

Definition at line 42 of file dbll.c.

#define MAXBUCKETS   211

Definition at line 37 of file dbll.c.

#define MAXEXPR   128

Definition at line 40 of file dbll.c.

Function Documentation

void dbll_close ( struct dbll_library_obj zl_lib)

Definition at line 197 of file dbll.c.

int dbll_create ( struct dbll_tar_obj **  target_obj,
struct dbll_attrs pattrs 
)

Definition at line 231 of file dbll.c.

void dbll_delete ( struct dbll_tar_obj target)

Definition at line 255 of file dbll.c.

void dbll_exit ( void  )

Definition at line 267 of file dbll.c.

bool dbll_get_addr ( struct dbll_library_obj zl_lib,
char name,
struct dbll_sym_val **  sym_val 
)

Definition at line 276 of file dbll.c.

void dbll_get_attrs ( struct dbll_tar_obj target,
struct dbll_attrs pattrs 
)

Definition at line 297 of file dbll.c.

bool dbll_get_c_addr ( struct dbll_library_obj zl_lib,
char name,
struct dbll_sym_val **  sym_val 
)

Definition at line 310 of file dbll.c.

int dbll_get_sect ( struct dbll_library_obj lib,
char name,
u32 paddr,
u32 psize 
)

Definition at line 337 of file dbll.c.

bool dbll_init ( void  )

Definition at line 390 of file dbll.c.

int dbll_load ( struct dbll_library_obj lib,
dbll_flags  flags,
struct dbll_attrs attrs,
u32 entry 
)

Definition at line 400 of file dbll.c.

int dbll_open ( struct dbll_tar_obj target,
char file,
dbll_flags  flags,
struct dbll_library_obj **  lib_obj 
)

Definition at line 516 of file dbll.c.

int dbll_read_sect ( struct dbll_library_obj lib,
char name,
char buf,
u32  size 
)

Definition at line 651 of file dbll.c.

void dbll_unload ( struct dbll_library_obj lib,
struct dbll_attrs attrs 
)

Definition at line 716 of file dbll.c.