From 6cc9ca322cdfe8417274e3659437750ee833fb54 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Wed, 9 Apr 2008 07:00:57 +0000 Subject: [PATCH] Add comments and DoxyGen format for these files. Remove the unused module Crc32SectionExtractDxe, which is replaced by Crc32SectionExtract library instance. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5027 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Crc32SectionExtract.c | 265 ------------------ .../Crc32SectionExtract.h | 105 ------- .../Crc32SectionExtract.msa | 66 ----- .../Crc32SectionExtractDxe.inf | 54 ---- .../FaultTolerantWriteDxe/FtwLite.c | 33 +-- .../FaultTolerantWriteDxe/FtwLite.h | 24 +- .../FaultTolerantWriteDxe/FtwMisc.c | 18 +- .../FaultTolerantWriteDxe/FtwWorkSpace.c | 16 +- .../FaultTolerantWriteDxe/Ia32/Ia32FtwMisc.c | 20 +- .../FaultTolerantWriteDxe/Ipf/IpfFtwMisc.c | 18 +- .../FaultTolerantWriteDxe/x64/x64FtwMisc.c | 21 +- 11 files changed, 45 insertions(+), 595 deletions(-) delete mode 100644 MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.c delete mode 100644 MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.h delete mode 100644 MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.msa delete mode 100644 MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtractDxe.inf diff --git a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.c b/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.c deleted file mode 100644 index ca5ee21fe7..0000000000 --- a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.c +++ /dev/null @@ -1,265 +0,0 @@ -/*++ - -Copyright (c) 2006 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - Crc32SectionExtract.c - -Abstract: - - Implements GUIDed section extraction protocol interface with - a specific GUID: CRC32. - - Please refer to the Framewokr Firmware Volume Specification 0.9. - ---*/ - - -#include - -EFI_STATUS -GuidedSectionExtractionProtocolConstructor ( - OUT EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL **GuidedSep, - IN EFI_EXTRACT_GUIDED_SECTION ExtractSection - ) -/*++ - -Routine Description: - - Constructor for the GUIDed section extraction protocol. Initializes - instance data. - -Arguments: - - This Instance to construct - -Returns: - - EFI_SUCCESS: Instance initialized. - ---*/ -// TODO: GuidedSep - add argument and description to function comment -// TODO: ExtractSection - add argument and description to function comment -// TODO: EFI_OUT_OF_RESOURCES - add return value to function comment -{ - *GuidedSep = AllocatePool (sizeof (EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL)); - if (*GuidedSep == NULL) { - return EFI_OUT_OF_RESOURCES; - } - - (*GuidedSep)->ExtractSection = ExtractSection; - - return EFI_SUCCESS; -} - - -EFI_STATUS -EFIAPI -InitializeCrc32GuidedSectionExtractionProtocol ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -/*++ - -Routine Description: - - Entry point of the CRC32 GUIDed section extraction protocol. - Creates and initializes an instance of the GUIDed section - extraction protocol with CRC32 GUID. - -Arguments: - - ImageHandle EFI_HANDLE: A handle for the image that is initializing - this driver - SystemTable EFI_SYSTEM_TABLE: A pointer to the EFI system table - -Returns: - - EFI_SUCCESS: Driver initialized successfully - EFI_LOAD_ERROR: Failed to Initialize or has been loaded - EFI_OUT_OF_RESOURCES: Could not allocate needed resources - ---*/ -{ - EFI_STATUS Status; - EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *Crc32GuidedSep; - EFI_HANDLE Handle; - - // - // Call all constructors per produced protocols - // - Status = GuidedSectionExtractionProtocolConstructor ( - &Crc32GuidedSep, - (EFI_EXTRACT_GUIDED_SECTION) Crc32ExtractSection - ); - if (EFI_ERROR (Status)) { - if (Crc32GuidedSep != NULL) { - FreePool (Crc32GuidedSep); - } - - return Status; - } - // - // Pass in a NULL to install to a new handle - // - Handle = NULL; - Status = gBS->InstallProtocolInterface ( - &Handle, - &gEfiCrc32GuidedSectionExtractionProtocolGuid, - EFI_NATIVE_INTERFACE, - Crc32GuidedSep - ); - if (EFI_ERROR (Status)) { - FreePool (Crc32GuidedSep); - return EFI_LOAD_ERROR; - } - - return EFI_SUCCESS; -} - -STATIC -UINT32 -EFIAPI -GetSectionLength ( - IN EFI_COMMON_SECTION_HEADER *CommonHeader - ) -/*++ - - Routine Description: - Get a length of section. - - Parameters: - CommonHeader - Pointer to the common section header. - - Return Value: - The length of the section, including the section header. - ---*/ -// TODO: function comment is missing 'Arguments:' -// TODO: function comment is missing 'Returns:' -// TODO: CommonHeader - add argument and description to function comment -{ - UINT32 Size; - - Size = *(UINT32 *) CommonHeader->Size & 0x00FFFFFF; - - return Size; -} - -STATIC -EFI_STATUS -EFIAPI -Crc32ExtractSection ( - IN EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This, - IN VOID *InputSection, - OUT VOID **OutputBuffer, - OUT UINTN *OutputSize, - OUT UINT32 *AuthenticationStatus - ) -/*++ - - Routine Description: - This function reads and extracts contents of a section from an - encapsulating section. - - Parameters: - This - Indicates the calling context. - InputSection - Buffer containing the input GUIDed section - to be processed. - OutputBuffer - *OutputBuffer is allocated from boot services - pool memory and containing the new section - stream. The caller is responsible for freeing - this buffer. - AuthenticationStatus - Pointer to a caller allocated UINT32 that - indicates the authentication status of the - output buffer - - Return Value: - EFI_SUCCESS - EFI_OUT_OF_RESOURCES - EFI_INVALID_PARAMETER - EFI_NOT_AVAILABLE_YET - ---*/ -// TODO: function comment is missing 'Arguments:' -// TODO: function comment is missing 'Returns:' -// TODO: This - add argument and description to function comment -// TODO: InputSection - add argument and description to function comment -// TODO: OutputBuffer - add argument and description to function comment -// TODO: OutputSize - add argument and description to function comment -// TODO: AuthenticationStatus - add argument and description to function comment -// TODO: EFI_INVALID_PARAMETER - add return value to function comment -// TODO: EFI_INVALID_PARAMETER - add return value to function comment -// TODO: EFI_OUT_OF_RESOURCES - add return value to function comment -// TODO: EFI_SUCCESS - add return value to function comment -{ - EFI_STATUS Status; - CRC32_SECTION_HEADER *Crc32SectionHeader; - EFI_GUID_DEFINED_SECTION *GuidedSectionHeader; - UINT8 *Image; - UINT32 Crc32Checksum; - VOID *DummyInterface; - - if (OutputBuffer == NULL) { - return EFI_INVALID_PARAMETER; - } - - *OutputBuffer = NULL; - - // - // Points to the section header - // - Crc32SectionHeader = (CRC32_SECTION_HEADER *) InputSection; - GuidedSectionHeader = (EFI_GUID_DEFINED_SECTION *) InputSection; - - // - // Check if the GUID is a CRC32 section GUID - // - if (!CompareGuid ( - &(GuidedSectionHeader->SectionDefinitionGuid), - &gEfiCrc32GuidedSectionExtractionProtocolGuid - )) { - return EFI_INVALID_PARAMETER; - } - - Image = (UINT8 *) InputSection + (UINT32) (GuidedSectionHeader->DataOffset); - *OutputSize = GetSectionLength ((EFI_COMMON_SECTION_HEADER *) InputSection) - (UINT32) GuidedSectionHeader->DataOffset; - - *OutputBuffer = AllocatePool (*OutputSize); - if (*OutputBuffer == NULL) { - return EFI_OUT_OF_RESOURCES; - } - // - // Implictly CRC32 GUIDed section should have STATUS_VALID bit set - // - ASSERT (GuidedSectionHeader->Attributes & EFI_GUIDED_SECTION_AUTH_STATUS_VALID); - *AuthenticationStatus = EFI_AUTH_STATUS_IMAGE_SIGNED; - - // - // Check whether there exists EFI_SECURITY_POLICY_PROTOCOL_GUID. - // - Status = gBS->LocateProtocol (&gEfiSecurityPolicyProtocolGuid, NULL, &DummyInterface); - if (!EFI_ERROR (Status)) { - *AuthenticationStatus |= EFI_AUTH_STATUS_PLATFORM_OVERRIDE; - } else { - // - // Calculate CRC32 Checksum of Image - // - gBS->CalculateCrc32 (Image, *OutputSize, &Crc32Checksum); - if (Crc32Checksum != Crc32SectionHeader->CRC32Checksum) { - *AuthenticationStatus |= EFI_AUTH_STATUS_TEST_FAILED; - } - } - - CopyMem (*OutputBuffer, Image, *OutputSize); - - return EFI_SUCCESS; -} diff --git a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.h b/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.h deleted file mode 100644 index e7bf276a35..0000000000 --- a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.h +++ /dev/null @@ -1,105 +0,0 @@ -/*++ - -Copyright (c) 2006 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - Crc32SectionExtract.h - -Abstract: - - Header file for Crc32SectionExtract.c - Please refer to the Framewokr Firmware Volume Specification 0.9. - ---*/ - -#ifndef _CRC32_GUIDED_SECTION_EXTRACTION_H -#define _CRC32_GUIDED_SECTION_EXTRACTION_H - -#include -#include -#include -#include -#include -#include -#include -#include - - - -typedef struct { - EFI_GUID_DEFINED_SECTION GuidedSectionHeader; - UINT32 CRC32Checksum; -} CRC32_SECTION_HEADER; - -// -// Function prototype declarations -// -STATIC -EFI_STATUS -EFIAPI -Crc32ExtractSection ( - IN EFI_GUIDED_SECTION_EXTRACTION_PROTOCOL *This, - IN VOID *InputSection, - OUT VOID **OutputBuffer, - OUT UINTN *OutputSize, - OUT UINT32 *AuthenticationStatus - ) -/*++ - -Routine Description: - - TODO: Add function description - -Arguments: - - This - TODO: add argument description - InputSection - TODO: add argument description - OutputBuffer - TODO: add argument description - OutputSize - TODO: add argument description - AuthenticationStatus - TODO: add argument description - -Returns: - - TODO: add return values - ---*/ -; - -EFI_STATUS -EFIAPI -InitializeCrc32GuidedSectionExtractionProtocol ( - IN EFI_HANDLE ImageHandle, - IN EFI_SYSTEM_TABLE *SystemTable - ) -/*++ - -Routine Description: - - Entry point of the CRC32 GUIDed section extraction protocol. - Creates and initializes an instance of the GUIDed section - extraction protocol with CRC32 GUID. - -Arguments: - - ImageHandle EFI_HANDLE: A handle for the image that is initializing - this driver - SystemTable EFI_SYSTEM_TABLE: A pointer to the EFI system table - -Returns: - - EFI_SUCCESS: Driver initialized successfully - EFI_LOAD_ERROR: Failed to Initialize or has been loaded - EFI_OUT_OF_RESOURCES: Could not allocate needed resources - ---*/ -; - -#endif diff --git a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.msa b/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.msa deleted file mode 100644 index a4ab18235b..0000000000 --- a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtract.msa +++ /dev/null @@ -1,66 +0,0 @@ - - - - Crc32SectionExtract - DXE_DRIVER - 51C9F40C-5243-4473-B265-B3C8FFAFF9FA - 1.0 - Component description file for Crc32SectionExtract module. - This driver implements CRC32 GUIDed section extraction protocol interface. - Copyright (c) 2006 - 2007, Intel Corporation - All rights reserved. This program and the accompanying materials - are licensed and made available under the terms and conditions of the BSD License - which accompanies this distribution. The full text of the license may be found at - http://opensource.org/licenses/bsd-license.php - THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, - WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 - - - IA32 X64 IPF EBC - false - Crc32SectionExtract - - - - DebugLib - - - UefiDriverEntryPoint - - - BaseMemoryLib - - - UefiBootServicesTableLib - - - MemoryAllocationLib - - - - Crc32SectionExtract.c - Crc32SectionExtract.h - GuidedSection.c - GuidedSection.h - Crc32SectionExtract.dxs - - - - - - - gEfiSecurityPolicyProtocolGuid - - - gEfiCrc32GuidedSectionExtractionProtocolGuid - - - - EFI_SPECIFICATION_VERSION 0x00020000 - EDK_RELEASE_VERSION 0x00020000 - - InitializeCrc32GuidedSectionExtractionProtocol - - - diff --git a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtractDxe.inf b/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtractDxe.inf deleted file mode 100644 index 6b60d97e4d..0000000000 --- a/MdeModulePkg/Universal/FirmwareVolume/Crc32SectionExtractDxe/Crc32SectionExtractDxe.inf +++ /dev/null @@ -1,54 +0,0 @@ -#/** @file -# Component description file for Crc32SectionExtract module. -# -# This driver implements CRC32 GUIDed section extraction protocol interface. -# Copyright (c) 2006 - 2007, Intel Corporation -# -# All rights reserved. This program and the accompanying materials -# are licensed and made available under the terms and conditions of the BSD License -# which accompanies this distribution. The full text of the license may be found at -# http://opensource.org/licenses/bsd-license.php -# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -# -# -#**/ - -[Defines] - INF_VERSION = 0x00010005 - BASE_NAME = Crc32SectionExtractDxe - FILE_GUID = 51C9F40C-5243-4473-B265-B3C8FFAFF9FA - MODULE_TYPE = DXE_DRIVER - VERSION_STRING = 1.0 - EDK_RELEASE_VERSION = 0x00020000 - EFI_SPECIFICATION_VERSION = 0x00020000 - - ENTRY_POINT = InitializeCrc32GuidedSectionExtractionProtocol - -# -# The following information is for reference only and not required by the build tools. -# -# VALID_ARCHITECTURES = IA32 X64 IPF EBC -# - -[Sources.common] - Crc32SectionExtract.h - Crc32SectionExtract.c - -[Packages] - MdePkg/MdePkg.dec - MdeModulePkg/MdeModulePkg.dec - -[LibraryClasses] - MemoryAllocationLib - UefiBootServicesTableLib - BaseMemoryLib - UefiDriverEntryPoint - DebugLib - -[Protocols] - gEfiSecurityPolicyProtocolGuid # PROTOCOL SOMETIMES_CONSUMED - gEfiCrc32GuidedSectionExtractionProtocolGuid # PROTOCOL ALWAYS_PRODUCED - -[Depex] - gEfiRuntimeArchProtocolGuid diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c index 81d6f6bd70..25836c470a 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.c @@ -1,22 +1,6 @@ -/*++ - -Copyright (c) 2006 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials -are licensed and made available under the terms and conditions of the BSD License -which accompanies this distribution. The full text of the license may be found at -http://opensource.org/licenses/bsd-license.php - -THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, -WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - - -Module Name: - - FtwLite.c +/** @file -Abstract: - - This is a simple fault tolerant write driver, based on PlatformFd library. + This is a simple fault tolerant write driver. And it only supports write BufferSize <= SpareAreaLength. This boot service only protocol provides fault tolerant write capability for @@ -24,13 +8,20 @@ Abstract: of the data and private information. It should be able to recover automatically from a critical fault, such as power failure. -Notes: - The implementation uses an FTW Lite (Fault Tolerant Write) Work Space. This work space is a memory copy of the work space on the Woring Block, the size of the work space is the FTW_WORK_SPACE_SIZE bytes. ---*/ +Copyright (c) 2006 - 2008, Intel Corporation +All rights reserved. This program and the accompanying materials +are licensed and made available under the terms and conditions of the BSD License +which accompanies this distribution. The full text of the license may be found at +http://opensource.org/licenses/bsd-license.php + +THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, +WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ #include diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h index 4ce98eb357..ab775c1967 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwLite.h @@ -1,6 +1,9 @@ -/*++ +/** @file + + The internal header file includes the common header files, defines + internal structure and functions used by FtwLite module. -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -9,22 +12,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - -Module Name: - - FtwLite.h - -Abstract: - - This is a simple fault tolerant write driver, based on PlatformFd library. - And it only supports write BufferSize <= SpareAreaLength. - - This boot service only protocol provides fault tolerant write capability for - block devices. The protocol has internal non-volatile intermediate storage - of the data and private information. It should be able to recover - automatically from a critical fault, such as power failure. - ---*/ +**/ #ifndef _EFI_FAULT_TOLERANT_WRITE_LITE_H_ #define _EFI_FAULT_TOLERANT_WRITE_LITE_H_ diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwMisc.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwMisc.c index eb334eaedd..fccf889a3d 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwMisc.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwMisc.c @@ -1,6 +1,8 @@ -/*++ +/** @file + + Internal generic functions to support fault tolerant write. -Copyright (c) 2006 - 2007, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -9,17 +11,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - FtwMisc.c - -Abstract: - - Internal functions to support fault tolerant write. - -Revision History - ---*/ +**/ #include diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwWorkSpace.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwWorkSpace.c index 00d7d8e912..d4dbf1ce8e 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwWorkSpace.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/FtwWorkSpace.c @@ -1,6 +1,8 @@ -/*++ +/** @file + + Internal functions to operate Working Block Space. -Copyright (c) 2006 - 2007, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -9,15 +11,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - FtwWorkSpace.c - -Abstract: - -Revision History - ---*/ +**/ #include diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ia32/Ia32FtwMisc.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ia32/Ia32FtwMisc.c index 6425f29b2c..2ca858c4dd 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ia32/Ia32FtwMisc.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ia32/Ia32FtwMisc.c @@ -1,6 +1,8 @@ -/*++ - -Copyright (c) 2006 - 2007, Intel Corporation +/** @file + + Ia32 platform related code to support FtwLite. + +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -9,17 +11,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - Ia32FtwMisc.c - -Abstract: - - Ia32 platform related code to support FtwLite.. - -Revision History - ---*/ +**/ #include diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ipf/IpfFtwMisc.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ipf/IpfFtwMisc.c index d31883b2ee..20b7f566b9 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ipf/IpfFtwMisc.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/Ipf/IpfFtwMisc.c @@ -1,6 +1,8 @@ -/*++ +/** @file + + Ipf platform related code to support FtwLite.. -Copyright (c) 2006, Intel Corporation +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -9,17 +11,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - IpfFtwMisc.c - -Abstract: - - Ipf platform related code to support FtwLite.. - -Revision History - ---*/ +**/ #include diff --git a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/x64/x64FtwMisc.c b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/x64/x64FtwMisc.c index d8e3a03fde..b782b2042d 100644 --- a/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/x64/x64FtwMisc.c +++ b/MdeModulePkg/Universal/FirmwareVolume/FaultTolerantWriteDxe/x64/x64FtwMisc.c @@ -1,7 +1,8 @@ - -/*++ - -Copyright (c) 2006, Intel Corporation +/** + + X64 platform related code to support FtwLite. + +Copyright (c) 2006 - 2008, Intel Corporation All rights reserved. This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -10,17 +11,7 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. -Module Name: - - x64FtwMisc.c - -Abstract: - - X64 platform related code to support FtwLite.. - -Revision History - ---*/ +**/ #include -- 2.39.2