diff options
author | Xiaojuan Yang | 2022-06-06 14:43:20 +0200 |
---|---|---|
committer | Richard Henderson | 2022-06-06 20:09:03 +0200 |
commit | a8a506c3907093a064dd2d475564e677fb1bf148 (patch) | |
tree | 8bfc9e744b51740649e21796049aae592268f216 /configs | |
parent | target/loongarch: Add timer related instructions support. (diff) | |
download | qemu-a8a506c3907093a064dd2d475564e677fb1bf148.tar.gz qemu-a8a506c3907093a064dd2d475564e677fb1bf148.tar.xz qemu-a8a506c3907093a064dd2d475564e677fb1bf148.zip |
hw/loongarch: Add support loongson3 virt machine type.
Emulate a 3A5000 board use the new loongarch instruction.
3A5000 belongs to the Loongson3 series processors.
The board consists of a 3A5000 cpu model and the virt
bridge. The host 3A5000 board is really complicated and
contains many functions.Now for the tcg softmmu mode
only part functions are emulated.
More detailed info you can see
https://github.com/loongson/LoongArch-Documentation
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220606124333.2060567-31-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'configs')
-rw-r--r-- | configs/devices/loongarch64-softmmu/default.mak | 3 | ||||
-rw-r--r-- | configs/targets/loongarch64-softmmu.mak | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/configs/devices/loongarch64-softmmu/default.mak b/configs/devices/loongarch64-softmmu/default.mak new file mode 100644 index 0000000000..928bc117ef --- /dev/null +++ b/configs/devices/loongarch64-softmmu/default.mak @@ -0,0 +1,3 @@ +# Default configuration for loongarch64-softmmu + +CONFIG_LOONGARCH_VIRT=y diff --git a/configs/targets/loongarch64-softmmu.mak b/configs/targets/loongarch64-softmmu.mak new file mode 100644 index 0000000000..666154022f --- /dev/null +++ b/configs/targets/loongarch64-softmmu.mak @@ -0,0 +1,3 @@ +TARGET_ARCH=loongarch64 +TARGET_BASE_ARCH=loongarch +TARGET_SUPPORTS_MTTCG=y |