Closed Yangff closed 3 years ago
Extracted from phy_init.
phy_init
23014204 b7 07 c0 44 lui a5,0x44c00 23014208 80 43 c.lw s0,0x0 (a5=>MDM_NXVERSION )
The begin of this mem region is likely to be MDM_NXVERSION and 0x44c0000 is the memory region for wifi phy. But in the following code it says (((uint32_t)rxnssmax << 4) & ~((uint32_t)0x00000070)) == 0", so it can also be some data packed together.
MDM_NXVERSION
0x44c0000
(((uint32_t)rxnssmax << 4) & ~((uint32_t)0x00000070)) == 0"
puVar6 = agcmem; puVar4 = (uint32_t *)&DAT_54c0a000; do { uVar3 = *puVar6; puVar5 = puVar4 + 1; puVar6 = puVar6 + 1; *puVar4 = uVar3; puVar4 = puVar5; } while (puVar5 != (uint32_t *)0x54c0a800);
Here it moves AGC ucode to AGC memory, so 0x54c0_a000 should be the begining of AGC ucode region.
0x54c0_a000
Extracted from
phy_init
.The begin of this mem region is likely to be
MDM_NXVERSION
and0x44c0000
is the memory region for wifi phy. But in the following code it says(((uint32_t)rxnssmax << 4) & ~((uint32_t)0x00000070)) == 0"
, so it can also be some data packed together.Here it moves AGC ucode to AGC memory, so
0x54c0_a000
should be the begining of AGC ucode region.