SimAVR
AVR Simulator
sim_elf.c File Reference
#include <fcntl.h>
#include <gelf.h>
#include <libelf.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <unistd.h>
#include "avr_eeprom.h"
#include "avr_ioport.h"
#include "sim_elf.h"
#include "sim_vcd_file.h"
Include dependency graph for sim_elf.c:

Macros

#define O_BINARY   0
 

Functions

void avr_load_firmware (avr_t *avr, elf_firmware_t *firmware)
 Load the firmware to the AVR instance. More...
 
static void elf_parse_mmcu_section (elf_firmware_t *firmware, uint8_t *src, uint32_t size)
 
int elf_read_firmware (const char *file, elf_firmware_t *firmware)
 Read an ELF firmware. More...
 

Macro Definition Documentation

#define O_BINARY   0

Function Documentation

static void elf_parse_mmcu_section ( elf_firmware_t firmware,
uint8_t *  src,
uint32_t  size 
)
static

Here is the caller graph for this function: