mbox series

[0/3] x86/boot: Reduce assembly code

Message ID 20240910161612.242702-1-frediano.ziglio@cloud.com (mailing list archive)
Headers show
Series x86/boot: Reduce assembly code | expand

Message

Frediano Ziglio Sept. 10, 2024, 4:16 p.m. UTC
This series came from part of the work of removing duplications
between boot code and rewriting part of code from assembly to C.
First 2 patches rework BIOS/PVH paths to reuse some code.
Third patch rewrites EFI code in pure C.

Frediano Ziglio (3):
  x86/boot: Initialise BSS as soon as possible
  x86/boot: Refactor BIOS/PVH start
  x86/boot: Rewrite EFI start part in C

 xen/arch/x86/boot/head.S      | 288 +++++++++++-----------------------
 xen/arch/x86/efi/Makefile     |   1 +
 xen/arch/x86/efi/parse-mbi2.c |  54 +++++++
 xen/arch/x86/efi/stub.c       |   3 +-
 4 files changed, 147 insertions(+), 199 deletions(-)
 create mode 100644 xen/arch/x86/efi/parse-mbi2.c