]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - bootrom/fromflash.c
Initial commit for the firmware. Used the 20090306_ela version as baseline.
[proxmark3-svn] / bootrom / fromflash.c
diff --git a/bootrom/fromflash.c b/bootrom/fromflash.c
new file mode 100644 (file)
index 0000000..e686809
--- /dev/null
@@ -0,0 +1,11 @@
+#include <proxmark3.h>\r
+\r
+void CopyBootToRAM(void)\r
+{\r
+       int i;\r
+\r
+       volatile DWORD *s = (volatile DWORD *)0x200;\r
+       volatile DWORD *d = (volatile DWORD *)0x200000;\r
+\r
+       for(i = 0; i < 1024; i++) *d++ = *s++;\r
+}\r
Impressum, Datenschutz