mirror of
https://github.com/Dev-KATECH/ADM.git
synced 2026-05-17 01:43:59 +09:00
188 lines
3.4 KiB
Plaintext
188 lines
3.4 KiB
Plaintext
|
|
Marking local functions:
|
|
|
|
|
|
Marking externally visible functions: init_data_bss
|
|
|
|
|
|
Marking externally visible variables:
|
|
|
|
|
|
Reclaiming functions:
|
|
Reclaiming variables:
|
|
Clearing address taken flags:
|
|
Symbol table:
|
|
|
|
__ZERO_TABLE/2 (__ZERO_TABLE) @06afcb88
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: init_data_bss/0 (addr)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
__INIT_TABLE/1 (__INIT_TABLE) @06afcb40
|
|
Type: variable
|
|
Body removed by symtab_remove_unreachable_nodes
|
|
Visibility: external public
|
|
References:
|
|
Referring: init_data_bss/0 (addr)
|
|
Availability: not_available
|
|
Varpool flags:
|
|
init_data_bss/0 (init_data_bss) @06afd2a0
|
|
Type: function definition analyzed
|
|
Visibility: externally_visible public
|
|
References: __INIT_TABLE/1 (addr)__ZERO_TABLE/2 (addr)
|
|
Referring:
|
|
Availability: available
|
|
Function flags: body optimize_size
|
|
Called by:
|
|
Calls:
|
|
init_data_bss ()
|
|
{
|
|
const uint32 * zeroTable;
|
|
const uint32 * initTable;
|
|
uint32 j;
|
|
uint32 i;
|
|
uint32 size;
|
|
uint32 len;
|
|
uint8 * ram;
|
|
const uint8 * rom;
|
|
const struct Sys_ZeroLayoutType * zero_layout;
|
|
const struct Sys_CopyLayoutType * copy_layout;
|
|
|
|
<bb 2> :
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
# DEBUG BEGIN_STMT
|
|
len = 0;
|
|
# DEBUG BEGIN_STMT
|
|
size = 0;
|
|
# DEBUG BEGIN_STMT
|
|
i = 0;
|
|
# DEBUG BEGIN_STMT
|
|
j = 0;
|
|
# DEBUG BEGIN_STMT
|
|
initTable = &__INIT_TABLE;
|
|
# DEBUG BEGIN_STMT
|
|
zeroTable = &__ZERO_TABLE;
|
|
# DEBUG BEGIN_STMT
|
|
len = *initTable;
|
|
# DEBUG BEGIN_STMT
|
|
copy_layout = initTable + 4;
|
|
# DEBUG BEGIN_STMT
|
|
i = 0;
|
|
goto <bb 7>; [INV]
|
|
|
|
<bb 3> :
|
|
# DEBUG BEGIN_STMT
|
|
_1 = i * 12;
|
|
_2 = copy_layout + _1;
|
|
rom = _2->rom_start;
|
|
# DEBUG BEGIN_STMT
|
|
_3 = i * 12;
|
|
_4 = copy_layout + _3;
|
|
ram = _4->ram_start;
|
|
# DEBUG BEGIN_STMT
|
|
_5 = i * 12;
|
|
_6 = copy_layout + _5;
|
|
_7 = _6->rom_end;
|
|
_8 = (long unsigned int) _7;
|
|
_9 = i * 12;
|
|
_10 = copy_layout + _9;
|
|
_11 = _10->rom_start;
|
|
_12 = (long unsigned int) _11;
|
|
size = _8 - _12;
|
|
# DEBUG BEGIN_STMT
|
|
j = 0;
|
|
goto <bb 5>; [INV]
|
|
|
|
<bb 4> :
|
|
# DEBUG BEGIN_STMT
|
|
_13 = rom + j;
|
|
_14 = ram + j;
|
|
_15 = *_13;
|
|
*_14 = _15;
|
|
# DEBUG BEGIN_STMT
|
|
j = j + 1;
|
|
|
|
<bb 5> :
|
|
# DEBUG BEGIN_STMT
|
|
if (j < size)
|
|
goto <bb 4>; [INV]
|
|
else
|
|
goto <bb 6>; [INV]
|
|
|
|
<bb 6> :
|
|
# DEBUG BEGIN_STMT
|
|
i = i + 1;
|
|
|
|
<bb 7> :
|
|
# DEBUG BEGIN_STMT
|
|
if (i < len)
|
|
goto <bb 3>; [INV]
|
|
else
|
|
goto <bb 8>; [INV]
|
|
|
|
<bb 8> :
|
|
# DEBUG BEGIN_STMT
|
|
len = *zeroTable;
|
|
# DEBUG BEGIN_STMT
|
|
zero_layout = zeroTable + 4;
|
|
# DEBUG BEGIN_STMT
|
|
i = 0;
|
|
goto <bb 13>; [INV]
|
|
|
|
<bb 9> :
|
|
# DEBUG BEGIN_STMT
|
|
_16 = i * 8;
|
|
_17 = zero_layout + _16;
|
|
ram = _17->ram_start;
|
|
# DEBUG BEGIN_STMT
|
|
_18 = i * 8;
|
|
_19 = zero_layout + _18;
|
|
_20 = _19->ram_end;
|
|
_21 = (long unsigned int) _20;
|
|
_22 = i * 8;
|
|
_23 = zero_layout + _22;
|
|
_24 = _23->ram_start;
|
|
_25 = (long unsigned int) _24;
|
|
size = _21 - _25;
|
|
# DEBUG BEGIN_STMT
|
|
j = 0;
|
|
goto <bb 11>; [INV]
|
|
|
|
<bb 10> :
|
|
# DEBUG BEGIN_STMT
|
|
_26 = ram + j;
|
|
*_26 = 0;
|
|
# DEBUG BEGIN_STMT
|
|
j = j + 1;
|
|
|
|
<bb 11> :
|
|
# DEBUG BEGIN_STMT
|
|
if (j < size)
|
|
goto <bb 10>; [INV]
|
|
else
|
|
goto <bb 12>; [INV]
|
|
|
|
<bb 12> :
|
|
# DEBUG BEGIN_STMT
|
|
i = i + 1;
|
|
|
|
<bb 13> :
|
|
# DEBUG BEGIN_STMT
|
|
if (i < len)
|
|
goto <bb 9>; [INV]
|
|
else
|
|
goto <bb 14>; [INV]
|
|
|
|
<bb 14> :
|
|
return;
|
|
|
|
}
|
|
|
|
|