Discussion:
[edk2] [patch] IntelFspWrapperPkg: FspInitPei GetStackInfo() function calling parameters not match with the function definition
Yao, Jiewen
2015-07-03 07:45:43 UTC
Permalink
In the EDKII open source package: IntelFspWrapperPkg, In the file FspInitPeiV1.c and FspInitPeiV2.c, there are function calling:

GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);



But the function GetStackInfo() defined as EFI_STATUS EFIAPI GetStackInfo (

IN UINT32 BootMode,

IN BOOLEAN FspInitDone,

OUT UINT64 *StackSize,

OUT EFI_PHYSICAL_ADDRESS *StackBase

)



It should be GetStackInfo (BootMode, FALSE, &StackSize, &StackBase); instead of GetStackInfo (BootMode, FALSE, &StackBase, &StackSize);



Contributed-under: TianoCore Contribution Agreement 1.0

Signed-off-by: Yao, Jiewen <***@intel.com>

Loading...