]> git.zerfleddert.de Git - proxmark3-svn/blob - bootrom/fromflash.c
f6d5237cb7002843b4f69d5e4907e8ebfcfab8f0
[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