diff options
author | Víctor Colombo <victor.colombo@eldorado.org.br> | 2022-07-15 17:54:37 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-09-20 10:54:06 -0300 |
commit | 903f84eb88c8d43fa2e46d4c30969de30dbb5297 (patch) | |
tree | 4943a4e8255456b68ec93c781e550a1d24b4df67 /qemu-bridge-helper.c | |
parent | d29201ff34a135cdfc197f4413c1c5047e4f58bb (diff) | |
download | qemu-903f84eb88c8d43fa2e46d4c30969de30dbb5297.zip qemu-903f84eb88c8d43fa2e46d4c30969de30dbb5297.tar.gz qemu-903f84eb88c8d43fa2e46d4c30969de30dbb5297.tar.bz2 |
target/ppc: Add HASHKEYR and HASHPKEYR SPRs
Add the Special Purpose Registers HASHKEYR and HASHPKEYR, which were
introduced by the Power ISA 3.1B. They are used by the new instructions
hashchk(p) and hashst(p).
The ISA states that the Operating System should generate the value for
these registers when creating a process, so it's its responsability to
do so. We initialize it with 0 for qemu-softmmu, and set a random 64
bits value for linux-user.
Signed-off-by: Víctor Colombo <victor.colombo@eldorado.org.br>
Reviewed-by: Lucas Mateus Castro <lucas.araujo@eldorado.org.br>
Message-Id: <20220715205439.161110-2-victor.colombo@eldorado.org.br>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'qemu-bridge-helper.c')
0 files changed, 0 insertions, 0 deletions