mirror of
https://github.com/pvvx/rtl00TstMinAmebaV35a.git
synced 2024-11-23 09:54:15 +00:00
update
This commit is contained in:
parent
891cbcb716
commit
463a3a7057
1 changed files with 2 additions and 2 deletions
|
@ -139,7 +139,7 @@ set $Image1LoadAddr = {int}($rambuffer+0x14)
|
||||||
set $Image2Addr = {short}($rambuffer+0x18) * 1024
|
set $Image2Addr = {short}($rambuffer+0x18) * 1024
|
||||||
if $Image1Size != 0 && $Image1Size < 0x1000000
|
if $Image1Size != 0 && $Image1Size < 0x1000000
|
||||||
if $Image2Addr == 0
|
if $Image2Addr == 0
|
||||||
set $Image2Addr = $Image1Size + 32
|
set $Image2Addr = $Image1Size
|
||||||
end
|
end
|
||||||
printf "Image1Size = %d\n", $Image1Size
|
printf "Image1Size = %d\n", $Image1Size
|
||||||
printf "Image1LoadAddr = 0x%08x\n", $Image1LoadAddr
|
printf "Image1LoadAddr = 0x%08x\n", $Image1LoadAddr
|
||||||
|
@ -149,7 +149,7 @@ if $Image1Size != 0 && $Image1Size < 0x1000000
|
||||||
restore $arg0 binary $parms1 $Image2Addr $parms3
|
restore $arg0 binary $parms1 $Image2Addr $parms3
|
||||||
set $Image2Size = {int}($rambuffer)
|
set $Image2Size = {int}($rambuffer)
|
||||||
set $Image2LoadAddr = {int}($rambuffer+0x4)
|
set $Image2LoadAddr = {int}($rambuffer+0x4)
|
||||||
if $Image2Size != 0xFFFFFFFF || $Image2Size != 0
|
if $Image2Size != 0xFFFFFFFF && $Image2Size != 0
|
||||||
set $Image2Size = $Image2Size + 16
|
set $Image2Size = $Image2Size + 16
|
||||||
printf "Image2Size = %d\n", $Image2Size
|
printf "Image2Size = %d\n", $Image2Size
|
||||||
printf "Image2LoadAddr = 0x%08x\n", $Image2LoadAddr
|
printf "Image2LoadAddr = 0x%08x\n", $Image2LoadAddr
|
||||||
|
|
Loading…
Reference in a new issue