]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Nt32Pkg/WinNtFlashMapPei/FlashMap.c
SecurityPkg: Update TCG PPI "1.3" for TCG2.
[mirror_edk2.git] / Nt32Pkg / WinNtFlashMapPei / FlashMap.c
index 6824070b8b54017db51aa167fa1240277a77a7cb..36457bdf25c28149425cd165a6b68d95559a3ba5 100644 (file)
@@ -1,7 +1,7 @@
-/*++\r
+/**@file\r
 \r
-Copyright (c) 2006, Intel Corporation                                                         \r
-All rights reserved. This program and the accompanying materials                          \r
+Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials                          \r
 are licensed and made available under the terms and conditions of the BSD License         \r
 which accompanies this distribution.  The full text of the license may be found at        \r
 http://opensource.org/licenses/bsd-license.php                                            \r
@@ -17,7 +17,7 @@ Abstract:
 \r
   PEIM to build GUIDed HOBs for platform specific flash map\r
 \r
---*/\r
+**/\r
 \r
 //\r
 // The package level header files this module uses\r
@@ -63,7 +63,6 @@ Returns:
 \r
   DEBUG ((EFI_D_ERROR, "NT 32 Flash Map PEIM Loaded\n"));\r
 \r
-  __asm int 3;\r
   //\r
   // Get the Fwh Information PPI\r
   //\r
@@ -71,7 +70,7 @@ Returns:
             &gNtFwhPpiGuid, // GUID\r
             0,              // INSTANCE\r
             &PpiDescriptor, // EFI_PEI_PPI_DESCRIPTOR\r
-            &NtFwhPpi       // PPI\r
+            (VOID**)&NtFwhPpi       // PPI\r
             );\r
   ASSERT_EFI_ERROR (Status);\r
 \r
@@ -88,7 +87,7 @@ Returns:
   // \r
   PcdSet32 (PcdFlashNvStorageVariableBase, PcdGet32 (PcdWinNtFlashNvStorageVariableBase) + (UINT32) FdBase);\r
   PcdSet32 (PcdFlashNvStorageFtwWorkingBase, PcdGet32 (PcdWinNtFlashNvStorageFtwWorkingBase) + (UINT32) FdBase);\r
-  PcdSet32 (PcdFlashNvStorageFtwSpareBase, PcdGet32 (PcdWinNtFlashNvStorageFtwWorkingBase) + (UINT32) FdBase);\r
+  PcdSet32 (PcdFlashNvStorageFtwSpareBase, PcdGet32 (PcdWinNtFlashNvStorageFtwSpareBase) + (UINT32) FdBase);\r
 \r
   return EFI_SUCCESS;\r
 }\r