Skip to contentSkip to conversation

x86/boot: the decompressor must supply boot_param from RDI

PATCH NAK Khalid Ali 1 participant 1 message Jun 23, 2025

Subsystems (2)
lore
Share & tools
lore

Khalid Ali

author
#0 lore raw

PATCH 2/3 x86/boot: the decompressor must supply boot_param from RDI

From: Khalid Ali <[email protected]>

This adjusts the decompressor to supply arguments from RDI instead RSI.

---
 arch/x86/boot/compressed/head_64.S | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/boot/compressed/head_64.S +1 -1
index d9dab940ff62..07dcc3ac5b6d 100644
@@ -471,7 +471,7 @@ SYM_FUNC_START_LOCAL_NOALIGN(.Lrelocated)
 /*
  * Jump to the decompressed kernel.
  */
-	movq	%r15, %rsi
+	movq	%r15, %rdi
 	jmp	*%rax
 SYM_FUNC_END(.Lrelocated)
 
Signature · 1 line
2.49.0