kernel_optimize_test/arch/x86/realmode/rmpiggy.S
Jarkko Sakkinen b429dbf6e8 x86, realmode: don't copy real_mode_header
Replaced copying of real_mode_header with a pointer
to beginning of RM memory.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-19-git-send-email-jarkko.sakkinen@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2012-05-08 11:48:45 -07:00

21 lines
422 B
ArmAsm

/*
* Wrapper script for the realmode binary as a transport object
* before copying to low memory.
*/
#include <linux/linkage.h>
#include <asm/page_types.h>
.section ".init.data","aw"
.balign PAGE_SIZE
GLOBAL(real_mode_blob)
.incbin "arch/x86/realmode/rm/realmode.bin"
END(real_mode_blob)
GLOBAL(real_mode_blob_end);
GLOBAL(real_mode_relocs)
.incbin "arch/x86/realmode/rm/realmode.relocs"
END(real_mode_relocs)