mirror of https://gitlab.com/qemu-project/qemu
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
![]() -----BEGIN PGP SIGNATURE----- iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCaAmmRQAKCRBAov/yOSY+ 3yZoA/4udi9ZmLsaiPqfKCS+0eF8XScIT493lVD359lFTBTT7mshh9PPhTLzdtiC 8fcfYi7jSjfC9gGTjPgnNCOzKIg3Gbdl61AFDgIwd8q/5HQAgonHAywTUtmqDaPK bXZ/JkkJQby2dla6015XKQS/d/EXWHgYjrcb1JZIRoaLworZPw== =zBCJ -----END PGP SIGNATURE----- Merge tag 'pull-loongarch-20250424' of https://github.com/gaosong715/qemu into staging pull-loongarch-20230424 # -----BEGIN PGP SIGNATURE----- # # iLMEAAEKAB0WIQS4/x2g0v3LLaCcbCxAov/yOSY+3wUCaAmmRQAKCRBAov/yOSY+ # 3yZoA/4udi9ZmLsaiPqfKCS+0eF8XScIT493lVD359lFTBTT7mshh9PPhTLzdtiC # 8fcfYi7jSjfC9gGTjPgnNCOzKIg3Gbdl61AFDgIwd8q/5HQAgonHAywTUtmqDaPK # bXZ/JkkJQby2dla6015XKQS/d/EXWHgYjrcb1JZIRoaLworZPw== # =zBCJ # -----END PGP SIGNATURE----- # gpg: Signature made Wed 23 Apr 2025 22:47:33 EDT # gpg: using RSA key B8FF1DA0D2FDCB2DA09C6C2C40A2FFF239263EDF # gpg: Good signature from "Song Gao <m17746591750@163.com>" [unknown] # gpg: WARNING: This key is not certified with a trusted signature! # gpg: There is no indication that the signature belongs to the owner. # Primary key fingerprint: B8FF 1DA0 D2FD CB2D A09C 6C2C 40A2 FFF2 3926 3EDF * tag 'pull-loongarch-20250424' of https://github.com/gaosong715/qemu: target/loongarch: Guard BCEQZ/BCNEZ instructions with FP feature target/loongarch: Add CRC feature flag and use it to gate CRC instructions linux-user/loongarch64: Decode BRK break codes for FPE signals target/loongarch: Move definition of TCG specified function to tcg directory target/loongarch: Add static definition with function loongarch_tlb_search() target/loongarch: Move function loongarch_tlb_search to directory tcg target/loongarch: Define function loongarch_get_addr_from_tlb() non-static target/loongarch: Set function loongarch_map_address() with common code target/loongarch: Add stub function loongarch_get_addr_from_tlb target/loongarch: Move function get_dir_base_width to common directory target/loongarch: Add function loongarch_get_addr_from_tlb target/loongarch: Move header file helper.h to directory tcg hw/intc/loongarch_pch_msi: Remove gpio input handler Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com> |
2 days ago | |
---|---|---|
.. | ||
kvm | 3 days ago | |
tcg | 2 days ago | |
Kconfig | ||
README | ||
arch_dump.c | ||
cpu-csr.h | ||
cpu-param.h | 3 days ago | |
cpu-qom.h | ||
cpu.c | 2 days ago | |
cpu.h | 2 days ago | |
cpu_helper.c | 2 days ago | |
csr.c | ||
csr.h | ||
disas.c | ||
gdbstub.c | 2 months ago | |
helper.h | 3 days ago | |
insns.decode | ||
internals.h | 3 days ago | |
loongarch-qmp-cmds.c | 2 months ago | |
machine.c | ||
meson.build | ||
trace-events | ||
trace.h | ||
translate.h | 3 days ago | |
vec.h |
README
- Introduction LoongArch is the general processor architecture of Loongson. The following versions of the LoongArch core are supported core: 3A5000 https://github.com/loongson/LoongArch-Documentation/releases/download/2021.08.17/LoongArch-Vol1-v1.00-EN.pdf We can get the latest loongarch documents at https://github.com/loongson/LoongArch-Documentation/tags. - System emulation You can reference docs/system/loongarch/loongson3.rst to get the information about system emulation of LoongArch. - Linux-user emulation We already support Linux user emulation. We can use LoongArch cross-tools to build LoongArch executables on X86 machines, and We can also use qemu-loongarch64 to run LoongArch executables. 1. Config cross-tools env. see System emulation. 2. Test tests/tcg/multiarch. ./configure --static --prefix=/usr --disable-werror --target-list="loongarch64-linux-user" --enable-debug cd build make && make check-tcg 3. Run LoongArch system basic command with loongarch-clfs-system. - Config clfs env. wget https://github.com/loongson/build-tools/releases/download/2022.05.29/loongarch64-clfs-system-5.0.tar.bz2 tar -vxf loongarch64-clfs-system-5.0.tar.bz2 -C /opt/clfs cp /opt/clfs/lib64/ld-linux-loongarch-lp64d.so.1 /lib64 export LD_LIBRARY_PATH="/opt/clfs/lib64" - Run LoongArch system basic command. ./qemu-loongarch64 /opt/clfs/usr/bin/bash ./qemu-loongarch64 /opt/clfs/usr/bin/ls ./qemu-loongarch64 /opt/clfs/usr/bin/pwd - Note. We can get the latest LoongArch documents or LoongArch tools at https://github.com/loongson/