Merge linker scripts in bootrom to have a single linker script for the bootloader...
[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