mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-02-15 19:59:34 +08:00
Use perl to create the version information (thereby re-creating the perl dependency and adding an svn dependency) but fall back in case of missing perl or svn
11 lines
249 B
C
11 lines
249 B
C
#include <proxmark3.h>
|
|
|
|
void __attribute__((section(".bootphase1"))) CopyBootToRAM(void)
|
|
{
|
|
int i;
|
|
|
|
volatile DWORD *s = (volatile DWORD *)0x200;
|
|
volatile DWORD *d = (volatile DWORD *)0x200000;
|
|
|
|
for(i = 0; i < 1024; i++) *d++ = *s++;
|
|
}
|