On 19/03/14 16:33, Paolo Bonzini wrote:
Il 14/03/2014 13:47, James Hogan ha scritto:
+if (kvm_enabled()) {
+/* KVM TE adds guest kernel segments in useg */
+if (real_address = KVM_KSEG0_BASE) {
+if (real_address KVM_KSEG2_BASE) {
+/* kseg0 */
Il 14/03/2014 13:47, James Hogan ha scritto:
+if (kvm_enabled()) {
+/* KVM TE adds guest kernel segments in useg */
+if (real_address = KVM_KSEG0_BASE) {
+if (real_address KVM_KSEG2_BASE) {
+/* kseg0 */
+address += KSEG0_BASE -
MIPS KVM trap emulate mode (which is currently the only supported
mode) has to add an extra kseg0/kseg1 at 0x4000 and an extra
kseg2/kseg3 at 0x6000. Take this into account in
get_physical_address() so that debug memory access works.
This is done by translating the address to a standard