]> cvs.zerfleddert.de Git - proxmark3-svn/blame - bootrom/fromflash.c
Merge linker scripts in bootrom to have a single linker script for the bootloader...
[proxmark3-svn] / bootrom / fromflash.c
CommitLineData
6658905f 1#include <proxmark3.h>\r
2\r
8652988d 3void __attribute__((section("bootphase1"))) CopyBootToRAM(void)\r
6658905f 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