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