qemu-e2k/linux-user/microblaze
Richard Henderson f523531471 target/microblaze: Convert brk and brki to decodetree
Split these out of the normal branch instructions, as they require
special handling.  Perform the entire operation inline, instead of
raising EXCP_BREAK to do the work in mb_cpu_do_interrupt.

This fixes a bug in that brki rd, imm, for imm != 0x18 is not
supposed to set MSR_BIP.  This fixes a bug in that imm == 0 is
the reset vector and 0x18 is the debug vector, and neither should
raise a tcg exception in system mode.

Introduce EXCP_SYSCALL for microblaze-linux-user.

Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2020-09-01 07:43:35 -07:00
..
cpu_loop.c target/microblaze: Convert brk and brki to decodetree 2020-09-01 07:43:35 -07:00
meson.build
signal.c target/microblaze: Split out PC from env->sregs 2020-09-01 07:41:38 -07:00
sockbits.h
syscall.tbl
syscallhdr.sh
target_cpu.h
target_elf.h
target_fcntl.h
target_signal.h
target_structs.h
target_syscall.h
termbits.h linux-user: Add generic 'termbits.h' for some archs 2020-08-27 12:29:50 +02:00