Skip to content

Commit

Permalink
Add a QEMU architecture ID
Browse files Browse the repository at this point in the history
For the cases where QEMU isn't pretending to be something else (for
example, when targeting a virtual platform) it'd be nice to set the arch
IDs to something other than 0.  That way users can detect they're
running on QEMU and act differently, in case they want to work around a
QEMU issue of some sort.

Link: https://android.googlesource.com/platform/bionic/+/refs/heads/main/libc/arch-riscv64/dynamic_function_dispatch.cpp#47
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Palmer Dabbelt <[email protected]>
  • Loading branch information
palmer-dabbelt committed Jan 31, 2024
1 parent dad8851 commit def4abd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions marchid.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,4 @@ WIV64 | Jesús Sanz del Rey | [Jesús Sanz del Rey](mailto:
RV6 | Nikola Lukić | [Nikola Lukić](mailto:[email protected]) | 39 | https://github.com/kiclu/rv6
ApogeoRV | Gabriele Tripi | [Gabriele Tripi](mailto:[email protected]) | 40 | https://github.com/GabbedT/ApogeoRV
MicroRV32 | AGRA, Group of Computer Architecture, University of Bremen | [RISC-V @ AGRA](mailto:[email protected]) | 41 | https://github.com/agra-uni-bremen/microrv32
QEMU | qemu.org | [QEMU Mailing List](mailto:[email protected]) | 42 | https://qemu.org

0 comments on commit def4abd

Please sign in to comment.