All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v7 0/2] x86/boot: Reduce assembly code
@ 2024-10-01 10:22 Frediano Ziglio
  2024-10-01 10:22 ` [PATCH v7 1/2] x86/boot: Rewrite EFI/MBI2 code partly in C Frediano Ziglio
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Frediano Ziglio @ 2024-10-01 10:22 UTC (permalink / raw)
  To: xen-devel
  Cc: Frediano Ziglio, Jan Beulich, Andrew Cooper, Roger Pau Monné,
	Daniel P. Smith, Marek Marczykowski-Górecki

This series came from part of the work of removing duplications between
boot code and rewriting part of code from assembly to C.
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.

Changes since v3:
- changed new function name;
- declare efi_multiboot2 in a separate header;
- distinguish entry point from using magic number;
- other minor changes (see commens in commits).

Changes since v4:
- rebase on staging;
- set %fs and %gs as other segment registers;
- style and other changes.

Changes since v5:
- fixed a typo.

Changes since v6:
- remove merged patch;
- comment and style;
- change some pointer checks to avoid overflows;
- rename parse-mbi2.c to mbi2.c.

Frediano Ziglio (2):
  x86/boot: Rewrite EFI/MBI2 code partly in C
  x86/boot: Improve MBI2 structure check

 xen/arch/x86/boot/head.S       | 146 +++++++--------------------------
 xen/arch/x86/efi/Makefile      |   1 +
 xen/arch/x86/efi/efi-boot.h    |   7 +-
 xen/arch/x86/efi/mbi2.c        |  66 +++++++++++++++
 xen/arch/x86/efi/stub.c        |  10 +--
 xen/arch/x86/include/asm/efi.h |  18 ++++
 6 files changed, 123 insertions(+), 125 deletions(-)
 create mode 100644 xen/arch/x86/efi/mbi2.c
 create mode 100644 xen/arch/x86/include/asm/efi.h

-- 
2.34.1



^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-10-03 12:58 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-01 10:22 [PATCH v7 0/2] x86/boot: Reduce assembly code Frediano Ziglio
2024-10-01 10:22 ` [PATCH v7 1/2] x86/boot: Rewrite EFI/MBI2 code partly in C Frediano Ziglio
2024-10-02  6:48   ` Jan Beulich
2024-10-02 14:31   ` Daniel P. Smith
2024-10-03 11:40     ` Marek Marczykowski-Górecki
2024-10-01 10:22 ` [PATCH v7 2/2] x86/boot: Improve MBI2 structure check Frediano Ziglio
2024-10-01 16:02   ` Jan Beulich
2024-10-03 12:57     ` Frediano Ziglio
2024-10-02 14:04 ` [PATCH v7 0/2] x86/boot: Reduce assembly code Marek Marczykowski-Górecki
2024-10-02 15:27   ` Frediano Ziglio
2024-10-03  1:11     ` Marek Marczykowski-Górecki
2024-10-03  7:46       ` Andrew Cooper
2024-10-03  9:27       ` Frediano Ziglio
2024-10-03 10:46         ` Marek Marczykowski-Górecki

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.