mbox series

[0/4] x86/boot: Cleanup

Message ID 20190805124301.12887-1-andrew.cooper3@citrix.com (mailing list archive)
Headers show
Series x86/boot: Cleanup | expand

Message

Andrew Cooper Aug. 5, 2019, 12:42 p.m. UTC
Various bits of cleanup intended to make the boot sequence clearer to follow,
and remove bits of asm which shouldn't be written in asm.

No changes to functionality.

Andrew Cooper (4):
  x86/asm: Include msr-index.h rather than msr.h
  x86/boot: Minor improvements to efi_arch_post_exit_boot()
  x86/desc: Shorten boot_{,comat_}gdt[] variable names
  x86/desc: Build boot_{,compat_}gdt[] in C

 xen/arch/x86/Makefile             |  1 +
 xen/arch/x86/boot/head.S          |  3 +-
 xen/arch/x86/boot/x86_64.S        | 35 +-----------------
 xen/arch/x86/cpu/common.c         |  4 +--
 xen/arch/x86/desc.c               | 75 +++++++++++++++++++++++++++++++++++++++
 xen/arch/x86/domain.c             |  7 ++--
 xen/arch/x86/efi/efi-boot.h       | 17 +++++----
 xen/arch/x86/hvm/svm/svm.c        |  2 +-
 xen/arch/x86/hvm/vmx/vmcs.c       |  2 +-
 xen/arch/x86/smpboot.c            | 18 +++++-----
 xen/arch/x86/traps.c              | 30 ++++++++--------
 xen/arch/x86/x86_64/kexec_reloc.S |  2 +-
 xen/common/efi/runtime.c          |  2 +-
 xen/include/asm-x86/desc.h        | 14 ++++----
 xen/include/asm-x86/ldt.h         |  3 +-
 15 files changed, 128 insertions(+), 87 deletions(-)
 create mode 100644 xen/arch/x86/desc.c