]>
Commit | Line | Data |
---|---|---|
6658905f | 1 | #include <proxmark3.h>\r |
2 | \r | |
8652988d | 3 | void __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 |