Contiki 3.x
Functions | Variables
elfloader-msp430x.c File Reference

MSP430x elfloader. More...

#include "contiki.h"
#include "loader/elfloader.h"
#include "loader/elfloader-arch.h"
#include "cfs/cfs.h"
#include "loader/symtab.h"
#include <stddef.h>
#include <string.h>
#include <stdio.h>
#include "dev/flash.h"

Go to the source code of this file.

Functions

void elfloader_init (void)
 elfloader initialization function. More...
 
int elfloader_load (int fd)
 Load and relocate an ELF file. More...
 
void * elfloader_arch_allocate_ram (int size)
 Allocate RAM for a new module. More...
 
void * elfloader_arch_allocate_rom (int size)
 Allocate program memory for a new module. More...
 
void elfloader_arch_write_rom (int fd, unsigned short textoff, unsigned int size, char *mem)
 Write to read-only memory (for example the text segment). More...
 
void elfloader_arch_relocate (int fd, unsigned int sectionoffset, char *sectionaddr, struct elf32_rela *rela, char *addr)
 Perform a relocation. More...
 

Variables

char elfloader_unknown [30]
 If elfloader_load() could not find a specific symbol, it is copied into this array.
 
struct process *const * elfloader_autostart_processes
 A pointer to the processes loaded with elfloader_load().
 

Detailed Description

MSP430x elfloader.

Author
Sumankumar Panchal suman.nosp@m.@ece.nosp@m..iisc.nosp@m..ern.nosp@m.et.in

Definition in file elfloader-msp430x.c.