]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - bootrom/fromflash.c
Add a common linker script with the memory map for the complete project
[proxmark3-svn] / bootrom / fromflash.c
... / ...
CommitLineData
1#include <proxmark3.h>\r
2\r
3void __attribute__((section("bootphase1"))) CopyBootToRAM(void)\r
4{\r
5 int i;\r
6\r
7 volatile DWORD *s = (volatile DWORD *)0x200;\r
8 volatile DWORD *d = (volatile DWORD *)0x200000;\r
9\r
10 for(i = 0; i < 1024; i++) *d++ = *s++;\r
11}\r
Impressum, Datenschutz