aboutsummaryrefslogtreecommitdiff
path: root/kvm
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-09-16 12:25:40 +0300
committerMarcelo Tosatti <mtosatti@redhat.com>2009-09-16 16:00:42 -0300
commit3535ad7c37775656dfa3c376348083651154464c (patch)
tree5b450815839c8fd982041ee337725039c101e817 /kvm
parenttest: add multiboot headers to startup files (diff)
downloadqemu-kvm-3535ad7c37775656dfa3c376348083651154464c.tar.gz
qemu-kvm-3535ad7c37775656dfa3c376348083651154464c.tar.bz2
qemu-kvm-3535ad7c37775656dfa3c376348083651154464c.zip
test: Map 4GB of memory
Needed so the APIC can be accessed at address 0xfee00000. Signed-off-by: Avi Kivity <avi@redhat.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'kvm')
-rw-r--r--kvm/user/test/x86/cstart64.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/kvm/user/test/x86/cstart64.S b/kvm/user/test/x86/cstart64.S
index 805938bff..3f193a30e 100644
--- a/kvm/user/test/x86/cstart64.S
+++ b/kvm/user/test/x86/cstart64.S
@@ -22,14 +22,17 @@ ring0stacktop:
.align 4096
ptl2:
i = 0
- .rept 512
+ .rept 512 * 4
.quad 0x1e7 | (i << 21)
i = i + 1
.endr
.align 4096
ptl3:
- .quad ptl2 + 7
+ .quad ptl2 + 7 + 0 * 4096
+ .quad ptl2 + 7 + 1 * 4096
+ .quad ptl2 + 7 + 2 * 4096
+ .quad ptl2 + 7 + 3 * 4096
.align 4096
ptl4: