Attention is currently required from: Julius Werner, Jérémy Compostella, Kapil Porwal, Nico Huber, Patrick Rudolph.

Subrata Banik uploaded patch set #4 to this change.

View Change

The following approvals got outdated and were removed: Verified+1 by build bot (Jenkins)

arch/x86: Enable long mode entry into payload for x86_64 support

This patch allows coreboot to enter libpayload in long mode (64-bit)
instead of protected mode (32-bit), enabling support for upcoming Intel
platforms and payloads requiring access to memory beyond 4GB.

This change ensures compatibility between libpayload and depthcharge,
preventing compilation issues and stack misalignment during the
transition.

BUG=b:242829490
TEST=Entered libpayload in long mode, successfully parsed coreboot
table.

Change-Id: Ic5e6f0af11c05e8b075b8c20880c012747a1df9b
Signed-off-by: Subrata Banik <subratabanik@google.com>
---
M src/arch/x86/boot.c
1 file changed, 61 insertions(+), 6 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/60/81960/4

To view, visit change 81960. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: main
Gerrit-Change-Id: Ic5e6f0af11c05e8b075b8c20880c012747a1df9b
Gerrit-Change-Number: 81960
Gerrit-PatchSet: 4
Gerrit-Owner: Subrata Banik <subratabanik@google.com>
Gerrit-Reviewer: Arthur Heymans <arthur@aheymans.xyz>
Gerrit-Reviewer: Julius Werner <jwerner@chromium.org>
Gerrit-Reviewer: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Reviewer: Kapil Porwal <kapilporwal@google.com>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: David Hendricks <david.hendricks@gmail.com>
Gerrit-CC: Matt DeVillier <matt.devillier@gmail.com>
Gerrit-CC: Nico Huber <nico.h@gmx.de>
Gerrit-CC: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-CC: Werner Zeh <werner.zeh@siemens.com>
Gerrit-Attention: Nico Huber <nico.h@gmx.de>
Gerrit-Attention: Patrick Rudolph <patrick.rudolph@9elements.com>
Gerrit-Attention: Jérémy Compostella <jeremy.compostella@intel.com>
Gerrit-Attention: Kapil Porwal <kapilporwal@google.com>
Gerrit-Attention: Julius Werner <jwerner@chromium.org>
Gerrit-MessageType: newpatchset