Displaying 2 results from an estimated 2 matches for "mbi_memlimit".
Did you mean:
mbi_memlimits
2012 Nov 29
9
[PATCH] xen: find a better location for the real-mode trampoline
...$10-4,%eax
+ /* Set up trampoline segment just below end of base memory.
+ * Prefer to get this information from the multiboot
+ * structure, if available.
+ */
+ mov 4(%ebx),%eax /* kb of low memory */
+ testb $1,(%ebx) /* test MBI_MEMLIMITS */
+ jnz 1f
+
+ movzwl 0x413,%eax /* base memory size in kb */
1:
+ shl $10-4,%eax /* convert to a segment number */
+
+ /* Reserve 64kb for the trampoline */
sub $0x1000,%eax
/* From arch/x86/smpboot.c: start_eip had...
2013 Jan 19
0
[xen-unstable test] 15155: regressions - FAIL
...e multiboot loader more than
the other.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Retain the previous code, thus using the multiboot value only if it''s
sane but lower than the BDA computed one. Also use the full 32-bit
mem_lower value and prefer MBI_MEMLIMITS over open coding it (requiring
a slight adjustment to multiboot.h to make its constants actually
usable in assembly code, which previously they were only meant to be).
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Committed...