Skip to content

Commit

Permalink
doc: update default address space of qemu (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
bigmagic123 authored Jun 28, 2024
1 parent 8d2e9f9 commit 25763f8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source/qemu/intro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -277,6 +277,12 @@ You can enter qemu-system-riscv32 --help to view the parameters that can be conf
| xxlcz | Nuclei code size reduction extension |
+--------------+-------------------------------------------------------------------------+
* ``-m 512M``: To set the DDR size in QEMU, if the DDR size is not passed with ``-m``, then the JSON config will be used to determine the size, and lastly, if neither is specified, it will initialize with 32MB.
.. note::
The following is the current default qemu memory size configuration, **xip: 32MB**, **ddr:64MB**, **ilm: 8MB**, **dlm: 8MB**, **sram: 512MB**. You can change the size of the DDR by using **-m size**. When **-m 128M** or no -m is passed, the default DDR size configured in the JSON or the size initialized by the program will be used. If the DDR size is configured too large and the computer does not have enough memory to allocate, an error such as **qemu-system-riscv32: cannot set up guest memory 'riscv.evalsoc.ram.sram'** may occur.
Use Nuclei QEMU in Nuclei SDK
=============================
Expand Down

0 comments on commit 25763f8

Please sign in to comment.