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

Frediano Ziglio posted 3 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240910161612.242702-1-frediano.ziglio@cloud.com
There is a newer version of this series
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
[PATCH 0/3] x86/boot: Reduce assembly code
Posted by Frediano Ziglio 1 year, 1 month ago
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

-- 
2.34.1