mirror of
https://github.com/Proxmark/proxmark3.git
synced 2025-07-16 02:03:00 -07:00
Clean up data types, some header cleanup, etc.
This commit is contained in:
parent
8419248d2d
commit
f7e3ed8287
17 changed files with 410 additions and 398 deletions
|
@ -5,9 +5,9 @@ void __attribute__((section(".bootphase1"))) CopyBootToRAM(void)
|
|||
{
|
||||
int i;
|
||||
|
||||
volatile DWORD *s = (volatile DWORD *)&__bootphase2_src_start__;
|
||||
volatile DWORD *d = (volatile DWORD *)&__bootphase2_start__;
|
||||
volatile uint32_t *s = (volatile uint32_t *)&__bootphase2_src_start__;
|
||||
volatile uint32_t *d = (volatile uint32_t *)&__bootphase2_start__;
|
||||
unsigned int l = (int)&__bootphase2_end__ - (int)&__bootphase2_start__;
|
||||
|
||||
for(i = 0; i < l/sizeof(DWORD); i++) *d++ = *s++;
|
||||
for(i = 0; i < l/sizeof(uint32_t); i++) *d++ = *s++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue