X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/204c85958ceddeac68a6ba1f8656d8a8c4c62778..6e4d4ee6096285692f247a44b59be7888bef9dd0:/client/flash.h diff --git a/client/flash.h b/client/flash.h new file mode 100644 index 00000000..8d18cab0 --- /dev/null +++ b/client/flash.h @@ -0,0 +1,15 @@ +struct partition { + int start; + int end; + int precious; + const char *name; +}; + +void FlushPrevious(int translate); +void GotByte(uint32_t where, uint8_t which, int start_addr, int end_addr, int translate); +unsigned int EnterFlashState(void); +int PrepareFlash(struct partition *p, const char *filename, unsigned int state); +int find_next_area(const char *str, int *offset, int *length); + +#define PHYSICAL_FLASH_START 0x100000 +void do_flash(char **argv);