From 43a0e59f37d0777909e6a6683191e2ac836b317d Mon Sep 17 00:00:00 2001 From: Daniele Lacamera Date: Wed, 16 Sep 2026 12:14:13 +0200 Subject: [PATCH] F-12890: change_stack_and_invoke has no callback arg The function takes (new_stack, other_func) only; the doc described a nonexistent 'ptr' parameter. --- src/boot_x86_fsp.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/boot_x86_fsp.c b/src/boot_x86_fsp.c index 85edaf17..5b4596f1 100644 --- a/src/boot_x86_fsp.c +++ b/src/boot_x86_fsp.c @@ -147,11 +147,10 @@ static int get_top_address(uint64_t *top, struct efi_hob *hoblist) * \brief Change the stack and invoke a function with the new stack. * * This function changes the stack to the specified 'new_stack' value and then - * calls the function pointed to by 'other_func', passing the 'ptr' parameter as an argument. + * calls the function pointed to by 'other_func'. * * \param new_stack The new stack address. * \param other_func Pointer to the function to be invoked with the new stack. - * \param ptr Pointer to the parameter to be passed to the invoked function. */ static void change_stack_and_invoke(uint32_t new_stack, void (*other_func)(void))