summary refs log tree commit diff stats
path: root/tcg/optimize.c
diff options
context:
space:
mode:
authorArtyom Tarasenko <atar4qemu@gmail.com>2025-02-09 22:12:48 +0100
committerRichard Henderson <richard.henderson@linaro.org>2025-02-18 08:29:03 -0800
commit172e7644f336dd82cb8d56cfb964477731f34f43 (patch)
tree30e2213efd576217eec1d05e0e34ecc71f0935cf /tcg/optimize.c
parent7a74e468089a58756b438d31a2a9a97f183780d7 (diff)
downloadfocaccia-qemu-172e7644f336dd82cb8d56cfb964477731f34f43.tar.gz
focaccia-qemu-172e7644f336dd82cb8d56cfb964477731f34f43.zip
target/sparc: fake UltraSPARC T1 PCR and PIC registers
Fake access to
   PCR Performance Control Register
and
   PIC Performance Instrumentation Counter.

Ignore writes in privileged mode, and return 0 on reads.

This allows booting Tribblix, MilaX and v9os under Niagara target.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250209211248.50383-1-atar4qemu@gmail.com>
Diffstat (limited to 'tcg/optimize.c')
0 files changed, 0 insertions, 0 deletions