qemu-patch-raspberry4/target/openrisc
Tim 'mithro' Ansell 3fee028d1e target/openrisc: Implement EPH bit
Exception Prefix High (EPH) control bit of the Supervision Register
(SR).

The significant bits (31-12) of the vector offset address for each
exception depend on the setting of the Supervision Register (SR)'s EPH
bit and the Exception Vector Base Address Register (EVBAR).

If SR[EPH] is set, the vector offset is logically ORed with the offset
0xF0000000.

This means if EPH is;
 * 0 - Exceptions vectors start at EVBAR
 * 1 - Exception vectors start at EVBAR | 0xF0000000

Signed-off-by: Tim 'mithro' Ansell <mithro@mithis.com>
Signed-off-by: Stafford Horne <shorne@gmail.com>
2017-04-21 23:56:00 +09:00
..
cpu.c target/openrisc: Implement EVBAR register 2017-04-21 23:55:48 +09:00
cpu.h target/openrisc: Implement EVBAR register 2017-04-21 23:55:48 +09:00
exception.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
exception.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
exception_helper.c target/openrisc: Optimize for r0 being zero 2017-02-14 08:15:00 +11:00
fpu_helper.c target/openrisc: Fix madd 2017-02-14 08:15:00 +11:00
gdbstub.c target/openrisc: Tidy handling of delayed branches 2017-02-14 08:15:00 +11:00
helper.h target/openrisc: Fix madd 2017-02-14 08:15:00 +11:00
interrupt.c target/openrisc: Implement EPH bit 2017-04-21 23:56:00 +09:00
interrupt_helper.c target/openrisc: Tidy ppc/npc implementation 2017-02-14 08:15:00 +11:00
machine.c target/openrisc: Tidy ppc/npc implementation 2017-02-14 08:15:00 +11:00
Makefile.objs target/openrisc: Streamline arithmetic and OVE 2017-02-14 08:14:59 +11:00
mmu.c target/openrisc: Implement lwa, swa 2017-02-14 08:14:59 +11:00
mmu_helper.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
sys_helper.c target/openrisc: Implement EVBAR register 2017-04-21 23:55:48 +09:00
translate.c target/openrisc: Optimize for r0 being zero 2017-02-14 08:15:00 +11:00