mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2024-12-28 19:31:19 +08:00
cleaning some code
This commit is contained in:
parent
ef6b775f9f
commit
09548ecf51
1 changed files with 2 additions and 10 deletions
|
@ -39,22 +39,14 @@ static void uncompress_data_section(void) {
|
|||
void __attribute__((section(".startos"))) Vector(void);
|
||||
void Vector(void) {
|
||||
/* Stack should have been set up by the bootloader */
|
||||
// char *src;
|
||||
char *dst, *end;
|
||||
|
||||
uncompress_data_section();
|
||||
|
||||
/* Set up (that is: clear) BSS. */
|
||||
dst = &__bss_start__;
|
||||
end = &__bss_end__;
|
||||
char *dst = &__bss_start__;
|
||||
char *end = &__bss_end__;
|
||||
while (dst < end) *dst++ = 0;
|
||||
|
||||
// Set up data segment: Copy from flash to ram
|
||||
// src = &__data_src_start__;
|
||||
// dst = &__data_start__;
|
||||
// end = &__data_end__;
|
||||
// while(dst < end) *dst++ = *src++;
|
||||
|
||||
AppMain();
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue