[PATCH 0/4] Move some boot code from assembly to C

Frediano Ziglio posted 4 patches 6 days, 19 hours ago
Patches applied successfully (tree, apply log)
git fetch https://gitlab.com/xen-project/patchew/xen tags/patchew/20241114124950.24808-1-frediano.ziglio@cloud.com
xen/arch/x86/boot/Makefile                |  2 +-
xen/arch/x86/boot/build32.lds.S           |  4 ++++
xen/arch/x86/boot/cmdline.c               | 14 ++++++++++--
xen/arch/x86/boot/head.S                  | 19 +--------------
xen/arch/x86/boot/reloc.c                 | 28 ++++++++++++++++++-----
xen/arch/x86/boot/trampoline.S            |  2 +-
xen/arch/x86/include/asm/guest/pvh-boot.h |  1 +
xen/arch/x86/include/asm/setup.h          |  2 ++
xen/arch/x86/include/boot/public/xen.h    | 28 +++++++++++++++++++++++
xen/arch/x86/include/boot/xen/cpumask.h   |  1 +
xen/arch/x86/include/boot/xen/string.h    | 10 ++++++++
11 files changed, 83 insertions(+), 28 deletions(-)
create mode 100644 xen/arch/x86/include/boot/public/xen.h
create mode 100644 xen/arch/x86/include/boot/xen/cpumask.h
create mode 100644 xen/arch/x86/include/boot/xen/string.h
[PATCH 0/4] Move some boot code from assembly to C
Posted by Frediano Ziglio 6 days, 19 hours ago
As a continuation of this series start sorting out the issue of headers
not compatible with 32 bit.
Instead of having to change headers which are almost only used for 64 bit
allows to override headers or move reusable definitions to new shared
headers.
This results in less changes.

Frediano Ziglio (4):
  Use an include/boot directory to override headers for boot code
  x86/boot: Use header to allows inclusion of public xen.h header
  x86/boot: Move some settings to C
  x86/boot: Use external symbols from cmdline_parse_early

 xen/arch/x86/boot/Makefile                |  2 +-
 xen/arch/x86/boot/build32.lds.S           |  4 ++++
 xen/arch/x86/boot/cmdline.c               | 14 ++++++++++--
 xen/arch/x86/boot/head.S                  | 19 +--------------
 xen/arch/x86/boot/reloc.c                 | 28 ++++++++++++++++++-----
 xen/arch/x86/boot/trampoline.S            |  2 +-
 xen/arch/x86/include/asm/guest/pvh-boot.h |  1 +
 xen/arch/x86/include/asm/setup.h          |  2 ++
 xen/arch/x86/include/boot/public/xen.h    | 28 +++++++++++++++++++++++
 xen/arch/x86/include/boot/xen/cpumask.h   |  1 +
 xen/arch/x86/include/boot/xen/string.h    | 10 ++++++++
 11 files changed, 83 insertions(+), 28 deletions(-)
 create mode 100644 xen/arch/x86/include/boot/public/xen.h
 create mode 100644 xen/arch/x86/include/boot/xen/cpumask.h
 create mode 100644 xen/arch/x86/include/boot/xen/string.h

-- 
2.34.1