x86/boot: move some __high_start code and data into init sections
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 29 Apr 2014 13:18:39 +0000 (15:18 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 29 Apr 2014 13:18:39 +0000 (15:18 +0200)
commit7e510a7b874fa2bfd1cee4d74299a1ea81e5eb6a
treeff1b39663b250202c8aec4c676b33d2817a6575c
parent9c8cd72fca18025baa2c49de961b031e27238280
x86/boot: move some __high_start code and data into init sections

Half of __high_start is strictly for the BSP and will only be run once on
boot.  To complement 'start_secondary', create 'start_bsp' and move it into
the init.text section.

The interrupt handler 'ignore_int' is patched into the BSPs IDT, but fully
replaced with real handlers early during boot.  The BSPs IDT is used by APs
until midway through start_secondary, but after the real handlers have been
installed.  Therefore, 'ignore_int' can move to init.text.  Furthermore, its
strings can move to init.rodata.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/boot/x86_64.S