]> cvs.zerfleddert.de Git - proxmark3-svn/blob - client/flash.h
c86602ffff0a95af08517365d76d739b534a9945
[proxmark3-svn] / client / flash.h
1 #ifndef __FLASH_H__
2 #define __FLASH_H__
3
4 struct partition {
5 int start;
6 int end;
7 int precious;
8 const char *name;
9 };
10
11 void FlushPrevious(int translate);
12 void GotByte(uint32_t where, uint8_t which, int start_addr, int end_addr, int translate);
13 unsigned int EnterFlashState(void);
14 int PrepareFlash(struct partition *p, const char *filename, unsigned int state);
15 int find_next_area(const char *str, int *offset, int *length);
16
17 #define PHYSICAL_FLASH_START 0x100000
18 void do_flash(char **argv);
19
20 #endif
21
Impressum, Datenschutz