[PATCH v3 0/4] x86/boot: Reduce assembly code

Frediano Ziglio posted 4 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20240924102811.86884-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/efi-boot.h   |   6 +-
xen/arch/x86/efi/parse-mbi2.c |  61 +++++++
xen/arch/x86/efi/stub.c       |   3 +-
5 files changed, 155 insertions(+), 204 deletions(-)
create mode 100644 xen/arch/x86/efi/parse-mbi2.c
[PATCH v3 0/4] 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.

Changes since v1, more details in specific commits:
- style updates;
- comments and descriptions improvements;
- other improvements.

Changes since v2:
- rebased on master, resolved conflicts;
- add comment on trampoline section.

Frediano Ziglio (4):
  x86/boot: Initialise BSS sooner
  x86/boot: Refactor BIOS/PVH start
  x86/boot: Rewrite EFI/MBI2 code partly in C
  x86/boot: Improve MBI2 structure check

 xen/arch/x86/boot/head.S      | 288 +++++++++++-----------------------
 xen/arch/x86/efi/Makefile     |   1 +
 xen/arch/x86/efi/efi-boot.h   |   6 +-
 xen/arch/x86/efi/parse-mbi2.c |  61 +++++++
 xen/arch/x86/efi/stub.c       |   3 +-
 5 files changed, 155 insertions(+), 204 deletions(-)
 create mode 100644 xen/arch/x86/efi/parse-mbi2.c

-- 
2.34.1