mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-08-14 02:26:59 -07:00
Clean up line endings, switch everything to LF instead of CRLF
Doing this for bootrom and armsrc for now. If you're using Windows, please configure your editor for LF line endings.
This commit is contained in:
parent
72c4af087f
commit
15c4dc5ace
18 changed files with 7685 additions and 7685 deletions
|
@ -1,13 +1,13 @@
|
|||
#include <proxmark3.h>
|
||||
|
||||
extern char __bootphase2_src_start__, __bootphase2_start__, __bootphase2_end__;
|
||||
void __attribute__((section(".bootphase1"))) CopyBootToRAM(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
volatile DWORD *s = (volatile DWORD *)&__bootphase2_src_start__;
|
||||
volatile DWORD *d = (volatile DWORD *)&__bootphase2_start__;
|
||||
unsigned int l = (int)&__bootphase2_end__ - (int)&__bootphase2_start__;
|
||||
|
||||
for(i = 0; i < l/sizeof(DWORD); i++) *d++ = *s++;
|
||||
}
|
||||
#include <proxmark3.h>
|
||||
|
||||
extern char __bootphase2_src_start__, __bootphase2_start__, __bootphase2_end__;
|
||||
void __attribute__((section(".bootphase1"))) CopyBootToRAM(void)
|
||||
{
|
||||
int i;
|
||||
|
||||
volatile DWORD *s = (volatile DWORD *)&__bootphase2_src_start__;
|
||||
volatile DWORD *d = (volatile DWORD *)&__bootphase2_start__;
|
||||
unsigned int l = (int)&__bootphase2_end__ - (int)&__bootphase2_start__;
|
||||
|
||||
for(i = 0; i < l/sizeof(DWORD); i++) *d++ = *s++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue