x86, realmode: Relocator for realmode code
authorJarkko Sakkinen <jarkko.sakkinen@intel.com>
Tue, 8 May 2012 18:22:26 +0000 (21:22 +0300)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 8 May 2012 18:41:49 +0000 (11:41 -0700)
commit084ee1c641a068bfd1194d545f7dc9ab2043eb35
treebc5454aedede17313df04eb82d354a76d14ee284
parentb3266bd6ff52efb9e57c7fbfff4c8f7363dfaab3
x86, realmode: Relocator for realmode code

Implements relocator for real mode code that is called
as part of setup_arch(). Processes segment relocations
and linear relocations. Real-mode code is relocated to
a free hole below 1 MB.

Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@intel.com>
Link: http://lkml.kernel.org/r/1336501366-28617-4-git-send-email-jarkko.sakkinen@intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/realmode.h [new file with mode: 0644]
arch/x86/kernel/Makefile
arch/x86/kernel/realmode.c [new file with mode: 0644]
arch/x86/kernel/setup.c