//\r
// Update the contents of BSP stack HOB to reflect the real stack info passed to DxeCore.\r
// \r
- UpdateStackHob (BaseOfStack, STACK_SIZE);\r
+ UpdateStackHob ((EFI_PHYSICAL_ADDRESS)(UINTN) BaseOfStack, STACK_SIZE);\r
\r
SwitchStack (\r
(SWITCH_STACK_ENTRY_POINT)(UINTN)DxeCoreEntryPoint,\r