unicorn/qemu/target
Alex Bennée babf31dfa0
target/arm: expose CPUID registers to userspace
A number of CPUID registers are exposed to userspace by modern Linux
kernels thanks to the "ARM64 CPU Feature Registers" ABI. For QEMU's
user-mode emulation we don't need to emulate the kernels trap but just
return the value the trap would have done. To avoid too much #ifdef
hackery we process ARMCPRegInfo with a new helper (modify_arm_cp_regs)
before defining the registers. The modify routine is driven by a
simple data structure which describes which bits are exported and
which are fixed.

Backports commit 6c5c0fec29bbfe36c64eca1edfd8455be46b77c6 from qemu
2019-02-15 17:27:30 -05:00
..
arm target/arm: expose CPUID registers to userspace 2019-02-15 17:27:30 -05:00
i386 Revert "i386: Add CPUID bit for PCONFIG" 2019-02-07 08:56:40 -05:00
m68k target/m68k: Fix LGPL information in the file headers 2019-02-03 17:55:29 -05:00
mips target/mips: reimplement SC instruction emulation and use cmpxchg 2019-02-15 17:10:16 -05:00
sparc target: Resolve repeated typedef warnings 2019-01-22 20:27:35 -05:00