]> xenbits.xensource.com Git - xen.git/commit
EFI: move x86 boot/runtime code to common/efi
authorRoy Franz <roy.franz@linaro.org>
Thu, 25 Sep 2014 12:22:12 +0000 (14:22 +0200)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Sep 2014 12:22:12 +0000 (14:22 +0200)
commit201f261e859e06e4c083a83e3eaf35397c22dad4
tree6fa469371ffb1f3c66309cb78e0c2e86acf66b24
parent0a43c50cb0c55d2f770b69d9452c994d9f2cdd84
EFI: move x86 boot/runtime code to common/efi

This moves the EFI boot and runtime services code to the common/efi directory.
This code is symbolicly linked back into the arch/x86/efi directory where it is
built if a build-time check for PE/COFF support in the toolchain passes.  In
the PE/COFF supporting case, both the EFI executable and the normal Xen image
(with stubbed EFI functions) are built.  We can't use the normal common build
infrastructure since we are building two versions at the same time, with
different EFI related code in each.  No code changes, just file movement and
make updates.  The files are symbolicly linked at build time back toe the
original arch/x86/efi directory.  This is in preparation for adding ARM EFI
support where much of these files can be shared.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
.gitignore
xen/Makefile
xen/arch/x86/efi/boot.c [deleted file]
xen/arch/x86/efi/compat.c [deleted file]
xen/arch/x86/efi/efi.h [deleted file]
xen/arch/x86/efi/runtime.c [deleted file]
xen/common/efi/boot.c [new file with mode: 0644]
xen/common/efi/compat.c [new file with mode: 0644]
xen/common/efi/efi.h [new file with mode: 0644]
xen/common/efi/runtime.c [new file with mode: 0644]