git://stoneship.org.uk
/
bootloader
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
444f238ec478f0ad47dcf14ab68f0fecbc9ce793
[bootloader]
/
cli
/
memory.h
1
#ifndef MEMORY_BLOCK_H
2
#define MEMORY_BLOCK_H
3
4
typedef struct memory {
5
uint32_t start;
6
uint16_t len;
7
uint8_t * bytes;
8
struct memory * next;
9
} mem_t;
10
11
mem_t *load_ihex(FILE *in);
12
void list_mem(const mem_t * head);
13
int validate_mem(mem_t * head, uint16_t maxmem);
14
int makesafe_mem(mem_t **head, uint16_t maxmem);
15
16
17
18
19
20
21
#endif