Skip to content

Commit

Permalink
Merge pull request #1625 from karaketir16/patch-5
Browse files Browse the repository at this point in the history
Add information about `--enable-qemu-system`
  • Loading branch information
kito-cheng authored Jan 19, 2025
2 parents 2828cb1 + 4b63cf4 commit 8d16b1b
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,29 @@ rv64imac with lp64 and rv64imafc with lp64 will reuse this multi-lib set.
./configure --with-multilib-generator="rv64ima-lp64--f*c"
```

#### Enabling QEMU System Targets

The `--enable-qemu-system` configuration flag allows you to include QEMU system emulation targets in addition to the default user-mode emulation.

- **Enabled targets**:
- `riscv64-linux-user`
- `riscv32-linux-user`
- `riscv64-softmmu`
- `riscv32-softmmu`

- **Default targets** (without this flag):
- `riscv64-linux-user`
- `riscv32-linux-user`

Use this option if you need full system emulation for RISC-V. Example configuration:

```bash
./configure --enable-qemu-system --prefix=/opt/riscv
make build-sim SIM=qemu
```

This flag is particularly useful for developers testing and emulating full RISC-V systems rather than just user-space applications.

### Test Suite

The Dejagnu test suite has been ported to RISC-V. This can be run with a
Expand Down

0 comments on commit 8d16b1b

Please sign in to comment.