Skip to content

Commit

Permalink
Increase RAM size
Browse files Browse the repository at this point in the history
This matches Spike, and means a default Linux build has enough RAM to boot properly.

I'm not exactly sure why the old value was not sufficient but it didn't work when I tried and this did, and I think consistency with Spike is valuable anyway.
  • Loading branch information
Timmmm authored Dec 10, 2024
1 parent 4912a35 commit 5f4a8e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion c_emulator/riscv_platform_impl.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ bool rv_enable_writable_fiom = true;
uint64_t rv_writable_hpm_counters = 0xFFFFFFFF;

uint64_t rv_ram_base = UINT64_C(0x80000000);
uint64_t rv_ram_size = UINT64_C(0x4000000);
uint64_t rv_ram_size = UINT64_C(0x80000000);

uint64_t rv_rom_base = UINT64_C(0x1000);
uint64_t rv_rom_size = UINT64_C(0x100);
Expand Down

0 comments on commit 5f4a8e6

Please sign in to comment.