qemu-e2k/target-i386
Luiz Capitulino c8c14bcb72 target-i386: x86_cpu_get_phys_page_debug(): support 1GB page translation
Linux guests, when using more than 4GB of RAM, may end up using 1GB pages
to store (kernel) data. When this happens, we're unable to debug a running
Linux kernel with GDB:

(gdb) p node_data[0]->node_id
Cannot access memory at address 0xffff88013fffd3a0
(gdb)

GDB returns this error because x86_cpu_get_phys_page_debug() doesn't support
translating 1GB pages in IA-32e paging mode and returns an error to GDB.

This commit adds support for 1GB page translation for IA32e paging.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
2014-03-31 19:06:48 +02:00
..
arch_dump.c
arch_memory_mapping.c
cc_helper_template.h
cc_helper.c
cpu-qom.h
cpu.c target-i386: Add missing 'static' and 'const' attributes 2014-03-27 19:22:48 +04:00
cpu.h target-i386: Avoid shifting left into sign bit 2014-03-27 19:22:49 +04:00
excp_helper.c
fpu_helper.c
gdbstub.c
helper.c target-i386: x86_cpu_get_phys_page_debug(): support 1GB page translation 2014-03-31 19:06:48 +02:00
helper.h
int_helper.c
ioport-user.c
kvm_i386.h
kvm-stub.c
kvm.c target-i386: Add missing 'static' and 'const' attributes 2014-03-27 19:22:48 +04:00
machine.c cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
Makefile.objs
mem_helper.c
misc_helper.c cputlb: Change tlb_flush_page() argument to CPUState 2014-03-13 19:52:47 +01:00
ops_sse_header.h
ops_sse.h
seg_helper.c
shift_helper_template.h
smm_helper.c
svm_helper.c cputlb: Change tlb_flush() argument to CPUState 2014-03-13 19:52:47 +01:00
svm.h
TODO
topology.h
translate.c