#include <l4/l4rm/l4rm.h>
Go to the source code of this file.
Functions | |
int | load_file (const char *fname, l4_threadid_t fprov_id, l4_threadid_t dsm_id, const char *search_path, int contiguous, l4_addr_t *addr, l4_size_t *size, l4dm_dataspace_t *ds) |
Get file from file provider. |
int load_file | ( | const char * | fname_and_arg, | |
l4_threadid_t | fprov_id, | |||
l4_threadid_t | dsm_id, | |||
const char * | search_path, | |||
int | contiguous, | |||
l4_addr_t * | addr, | |||
l4_size_t * | size, | |||
l4dm_dataspace_t * | ds | |||
) |
Get file from file provider.
fname_and_arg | file name (optional arguments are ignored) | |
search_path | colon delemited paths to try to load the file | |
contiguous | if !=0, ask file provider to create contiguos ds | |
fprov_id | id of file provider | |
dsm_id | id of dataspace manager |
addr | Address the image was loaded to. If NULL, don't attach the image to our address space. | |
size | size (in bytes) of the file as returned by fprov | |
ds | associated dataspace |