On Tue, Feb 03, 2015 at 10:02:09AM +, Jan Beulich wrote:
On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote:
/* Save the Multiboot info struct (after relocation) for later
use. */
mov $sym_phys(cpu0_stack)+1024,%esp
-push%ebx
-call
On 30.01.15 at 18:54, daniel.ki...@oracle.com wrote:
/* Save the Multiboot info struct (after relocation) for later use.
*/
mov $sym_phys(cpu0_stack)+1024,%esp
-push%ebx
-callreloc
+mov %ecx,%eax
+push%ebx
Use %ecx instead of %eax to store low memory upper limit from EBDA.
This way we do not wipe multiboot protocol identifier. It is needed
in reloc() to differentiate between multiboot (v1) and
multiboot2 protocol.
Signed-off-by: Daniel Kiper daniel.ki...@oracle.com
Reviewed-by: Andrew Cooper