qemu-e2k/target-openrisc
Sebastian Macke 93147a180c target-openrisc: Correct memory bounds checking for the tlb buffers
The mtspr and mfspr routines didn't check for the correct memory boundaries.
This fixes a segmentation fault while booting Linux.

Signed-off-by: Sebastian Macke <sebastian@macke.de>
Reviewed-by: Jia Liu <proljc@gmail.com>
Signed-off-by: Jia Liu <proljc@gmail.com>
2013-11-20 21:47:17 +08:00
..
cpu.c cpu: Drop cpu_model_str from CPU_COMMON 2013-10-07 11:48:47 +02:00
cpu.h openrisc-timer: Reduce overhead, Separate clock update functions 2013-11-20 21:46:45 +08:00
exception_helper.c
exception.c
exception.h
fpu_helper.c
gdbstub.c cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
helper.h
int_helper.c
interrupt_helper.c
interrupt.c target-openrisc: Correct wrong epcr register in interrupt handler 2013-11-20 21:45:42 +08:00
machine.c
Makefile.objs cpu: Introduce CPUClass::gdb_{read,write}_register() 2013-07-27 00:04:17 +02:00
mmu_helper.c
mmu.c target-openrisc: Remove executable flag for every page 2013-11-20 21:44:43 +08:00
sys_helper.c target-openrisc: Correct memory bounds checking for the tlb buffers 2013-11-20 21:47:17 +08:00
translate.c target-openrisc: Remove unnecessary code generated by jump instructions 2013-11-20 21:43:38 +08:00