diff options
author | Alexey Kardashevskiy <aik@ozlabs.ru> | 2014-06-04 22:50:57 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2014-06-16 13:24:44 +0200 |
commit | 45ed0be146b7433d1123f09eb1a984210a311625 (patch) | |
tree | e045597c56d995deda3b581c35a55aa4229b1af9 /target-ppc/mfrom_table.c | |
parent | 7019cb3d883c5fdd8e4e75d753eded288d94b592 (diff) | |
download | qemu-45ed0be146b7433d1123f09eb1a984210a311625.zip qemu-45ed0be146b7433d1123f09eb1a984210a311625.tar.gz qemu-45ed0be146b7433d1123f09eb1a984210a311625.tar.bz2 |
target-ppc: Enable FSCR facility check for TAR
This makes user-privileged read/write fail if TAR facility is not enabled
in FSCR.
Since this is the very first check for enabled in FSCR facility,
this also adds gen_fscr_facility_check() for using in spr_write_tar()/
spr_read_tar().
This enables TAR in FSCR for user mode unconditionally.
Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Tom Musta <tommusta@gmail.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-ppc/mfrom_table.c')
0 files changed, 0 insertions, 0 deletions