Re: [PATCH v1 0/3] x86/boot: Supply boot_param in rdi instead of rsi from startup_64()
From: H. Peter Anvin
Date: Mon Jun 23 2025 - 14:20:01 EST
On 2025-06-23 09:29, Khalid Ali wrote:
This was never intended to conform to the C ABI, why is it necessary
to change it?
Technically speaking, you are right, however that doesn't mean we can put something where
ever we like. We came from C code which is bootloader and we end up to C code, so we should
comply the ABI here too.
This is also invoked by some external bootloaders that boot the ELF
image directly, even though this is strongly discouraged.
Therefore this patchset is NAKed with extreme prejudice.
-hpa