Hi,
On 2023-04-05 13:53, Alistair Francis wrote:
>
>On Mon, Mar 13, 2023 at 11:12 PM Hang Xu wrote:
>>
>> Because the starting address of ram is not necessarily 0,
>> the remaining free space in ram is
>> ram_size - (start - ram_base) instead of ram_size-s
Because the starting address of ram is not necessarily 0,
the remaining free space in ram is
ram_size - (start - ram_base) instead of ram_size-start.
v3:
* Declare 'max_initrd' at the start of the function
* Fix title typo
v2:
* Rebase
* Considering that the ram block may be discontin
Because the starting address of ram is not necessarily 0,
the remaining free space in ram is
ram_size - (start - ram_base) instead of ram_size-start.
Signed-off-by: Hang Xu
---
hw/riscv/boot.c| 19 +--
hw/riscv/microchip_pfsoc.c | 5 -
hw/riscv/opentitan.c