Contiki 2.6
|
Header file for the Contiki ELF loader. More...
#include "cfs/cfs.h"
Go to the source code of this file.
Defines | |
#define | ELFLOADER_OK 0 |
Return value from elfloader_load() indicating that loading worked. | |
#define | ELFLOADER_BAD_ELF_HEADER 1 |
Return value from elfloader_load() indicating that the ELF file had a bad header. | |
#define | ELFLOADER_NO_SYMTAB 2 |
Return value from elfloader_load() indicating that no symbol table could be found in the ELF file. | |
#define | ELFLOADER_NO_STRTAB 3 |
Return value from elfloader_load() indicating that no string table could be found in the ELF file. | |
#define | ELFLOADER_NO_TEXT 4 |
Return value from elfloader_load() indicating that the size of the .text segment was zero. | |
#define | ELFLOADER_SYMBOL_NOT_FOUND 5 |
Return value from elfloader_load() indicating that a symbol specific symbol could not be found. | |
#define | ELFLOADER_SEGMENT_NOT_FOUND 6 |
Return value from elfloader_load() indicating that one of the required segments (.data, .bss, or .text) could not be found. | |
#define | ELFLOADER_NO_STARTPOINT 7 |
Return value from elfloader_load() indicating that no starting point could be found in the loaded module. | |
Functions | |
void | elfloader_init (void) |
elfloader initialization function. | |
int | elfloader_load (int fd) |
Load and relocate an ELF file. | |
Variables | |
struct process *const | elfloader_autostart_processes |
A pointer to the processes loaded with elfloader_load(). | |
char | elfloader_unknown [30] |
If elfloader_load() could not find a specific symbol, it is copied into this array. |
Header file for the Contiki ELF loader.
Definition in file elfloader.h.