-/*++\r
+/**@file\r
\r
Copyright (c) 2006, Intel Corporation \r
All rights reserved. This program and the accompanying materials \r
\r
Revision History\r
\r
---*/\r
+**/\r
\r
//\r
// The package level header files this module uses\r
// Get the Fwh Information PPI\r
//\r
Status = (**PeiServices).LocatePpi (\r
- PeiServices,\r
+ (const EFI_PEI_SERVICES **)PeiServices,\r
&gNtFwhPpiGuid, // GUID\r
0, // INSTANCE\r
&PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR\r
- &FwhPpi // PPI\r
+ (VOID**)&FwhPpi // PPI\r
);\r
ASSERT_EFI_ERROR (Status);\r
\r
// Hard code the address of the spare block and variable services.\r
// Assume it's a hard coded offset from FV0 in FD0.\r
//\r
- FdBase = FdBase + PcdGet32 (PcdWinNtFlashNvStorageVariableBase);\r
FdSize = \r
PcdGet32 (PcdFlashNvStorageVariableSize) +\r
PcdGet32 (PcdFlashNvStorageFtwWorkingSize) +\r
PcdGet32 (PcdFlashNvStorageFtwSpareSize) +\r
PcdGet32 (PcdWinNtFlashNvStorageEventLogSize);\r
\r
- BuildFvHob (FdBase, FdSize);\r
+ BuildFvHob (FdBase + PcdGet32 (PcdWinNtFlashNvStorageVariableBase), FdSize);\r
} else {\r
//\r
// For other FD's just map them in.\r