]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Set CSR_PRCFG1 and CSR_PRCFG2 values
authorSong Gao <gaosong@loongson.cn>
Fri, 5 Jul 2024 02:18:38 +0000 (10:18 +0800)
committerSong Gao <gaosong@loongson.cn>
Fri, 12 Jul 2024 01:41:18 +0000 (09:41 +0800)
commitbba1c36da0589b4179c16e0895256ca731023f2c
treed7da1f0c41dda6efc7c5a6931574c9a71397d919
parent785875874da1f419c09016b0fcea5e756caaa00c
target/loongarch: Set CSR_PRCFG1 and CSR_PRCFG2 values

We set the value of register CSR_PRCFG3, but left out CSR_PRCFG1
and CSR_PRCFG2. Set CSR_PRCFG1 and CSR_PRCFG2 according to the
default values of the physical machine.

Signed-off-by: Song Gao <gaosong@loongson.cn>
Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Message-Id: <20240705021839.1004374-1-gaosong@loongson.cn>
target/loongarch/cpu.c