1. Correct File header to ## @file

2. Remove unnecessary .common] postfix on section.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10052 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2010-02-24 00:21:16 +00:00
parent 7b202cb0f9
commit 6bfbb5f0e0
259 changed files with 1037 additions and 1034 deletions

View File

@@ -1,7 +1,7 @@
#/** @file
## @file
# Null Reset System Library instance that only generates ASSERT() conditions.
#
# Copyright (c) 2007 - 2009, Intel Corporation.
# Copyright (c) 2007 - 2010, 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
@@ -10,7 +10,7 @@
# 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
@@ -26,7 +26,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
BaseResetSystemLibNull.c
[Packages]

View File

@@ -1,8 +1,8 @@
#/** @file
## @file
# NULL Dxe Capsule library instance.
# It can make core modules pass package level build.
#
# Copyright (c) 2006 - 2008, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -28,7 +28,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeCapsuleLibNull.c
[Packages]

View File

@@ -1,11 +1,11 @@
#/** @file
## @file
#
# Memory Allocation Library instance dedicated to DXE Core.
# The implementation borrows the DxeCore Memory Allocation services as the primitive
# for memory allocation instead of using UEFI boot servces in an indirect way.
# It is assumed that this library instance must be linked with DxeCore in this package.
#
# Copyright (c) 2008, Intel Corporation
# Copyright (c) 2008 - 2010, 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
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -31,7 +31,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
MemoryAllocationLib.c
DxeCoreMemoryAllocationServices.h

View File

@@ -1,4 +1,4 @@
#/** @file
## @file
# Performance library instance mainly for DxeCore usage.
#
# This library provides the performance measurement interfaces and initializes performance
@@ -9,7 +9,7 @@
# This library is mainly used by DxeCore to start performance logging to ensure that
# Performance Protocol is installed at the very beginning of DXE phase.
#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# Copyright (c) 2006 - 2010, Intel Corporation. <BR>
# 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
@@ -18,7 +18,7 @@
# 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
@@ -36,7 +36,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeCorePerformanceLib.c
DxeCorePerformanceLibInternal.h
@@ -60,6 +60,6 @@
gPerformanceProtocolGuid ## CONSUMES ## HOB
gPerformanceProtocolGuid ## PRODUCES ## PROTOCOL
[Pcd.common]
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask

View File

@@ -1,11 +1,11 @@
#/** @file
## @file
# This library doesn't produce any library class. The constructor function uses
# ExtractGuidedSectionLib service to register CRC32 guided section handler
# that parses CRC32 encapsulation section and extracts raw data.
#
# It uses UEFI boot service CalculateCrc32 to authenticate 32 bit CRC value.
#
# Copyright (c) 2006 - 2008, Intel Corporation
# Copyright (c) 2006 - 2010, 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
@@ -14,7 +14,7 @@
# 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
@@ -32,7 +32,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeCrc32GuidedSectionExtractLib.c
[Packages]

View File

@@ -1,18 +1,18 @@
/** @file
Instance of DxeDpcLib.
This module provides DPC service by consuming EFI DPC Protocol.
Copyright (c) 2007, Intel Corporation.<BR>
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.
**/
## @file
# Instance of DxeDpcLib.
#
# This module provides DPC service by consuming EFI DPC Protocol.
#
# Copyright (c) 2007 - 2010, Intel Corporation.<BR>
# 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
@@ -29,7 +29,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DpcLib.c
[Packages]

View File

@@ -1,19 +1,19 @@
/** @file
Instance of DxeIpIoLib.
This module provides IP services by consuming EFI IP4 Service Binding Protocol and
EFI IP4 Protocol.
Copyright (c) 2006 - 2009, Intel Corporation.<BR>
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.
**/
## @file
# Instance of DxeIpIoLib.
#
# This module provides IP services by consuming EFI IP4 Service Binding Protocol and
# EFI IP4 Protocol.
#
# Copyright (c) 2006 - 2010, Intel Corporation.<BR>
# 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]
@@ -30,7 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeIpIoLib.c
[Packages]

View File

@@ -1,16 +1,16 @@
/** @file
Instance of DxeNetLib.
Copyright (c) 2006 - 2009, Intel Corporation.<BR>
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.
**/
## @file
# Instance of DxeNetLib.
#
# Copyright (c) 2006 - 2010, Intel Corporation.<BR>
# 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]
@@ -27,7 +27,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeNetLib.c
NetBuffer.c

View File

@@ -1,4 +1,4 @@
#/** @file
## @file
# Performance library instance used in DXE phase.
#
# This library instance provides infrastructure for DXE phase drivers to log performance
@@ -6,7 +6,7 @@
# to log performance data. If Performance Protocol is not available, it does not log any
# performance information.
#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# Copyright (c) 2006 - 2010, Intel Corporation. <BR>
# 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
@@ -15,7 +15,7 @@
# 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
@@ -31,7 +31,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxePerformanceLib.c
@@ -50,6 +50,6 @@
gPerformanceProtocolGuid ## CONSUMES ## PROTOCOL
[Pcd.common]
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask

View File

@@ -1,8 +1,8 @@
#/** @file
## @file
# Library instance that implements Print Library class based on protocol
# gEfiPrint2ProtocolGuid.
#
# Copyright (c) 2009, Intel Corporation.
# Copyright (c) 2009 - 2010, 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
@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -30,7 +30,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
PrintLib.c

View File

@@ -1,8 +1,8 @@
#/** @file
## @file
# DXE report status code library
#
# Retrieve status code and report status code in DXE phase
# Copyright (c) 2006 - 2009, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005

View File

@@ -1,9 +1,9 @@
#/** @file
## @file
# Instance of SecurityManagementLib Library for DXE phase.
#
# This library provides generic security measurement functions for DXE module.
#
# Copyright (c) 2009, Intel Corporation.
# Copyright (c) 2009 - 2010, 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
@@ -13,7 +13,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005

View File

@@ -1,19 +1,19 @@
/** @file
Instance of UdpIoLib.
This module provides UDP services by consuming EFI UDP4 Service Binding Protocol and
EFI UDP4 Protocol.
Copyright (c) 2008 - 2009, Intel Corporation.<BR>
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.
**/
## @file
# Instance of UdpIoLib.
#
# This module provides UDP services by consuming EFI UDP4 Service Binding Protocol and
# EFI UDP4 Protocol.
#
# Copyright (c) 2008 - 2010, Intel Corporation.<BR>
# 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]
@@ -30,7 +30,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
DxeUdpIoLib.c
[Packages]

View File

@@ -1,7 +1,7 @@
#/** @file
## @file
# Null instance of OEM Hook Status Code Library with empty functions.
#
# Copyright (c) 2006 - 2009, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -27,7 +27,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
OemHookStatusCodeLibNull.c
[Packages]

View File

@@ -1,4 +1,4 @@
#/** @file
## @file
#
# Performance library instance used in PEI phase.
#
@@ -6,7 +6,7 @@
# and consumes GUIDed HOB for performance logging. The GUIDed HOB is passed to DXE phase
# so that it can be taken over by DxeCorePerformanceLib.
#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# Copyright (c) 2006 - 2010, Intel Corporation. <BR>
# 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
@@ -15,7 +15,7 @@
# 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
@@ -31,7 +31,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
#
[Sources.common]
[Sources]
PeiPerformanceLib.c
@@ -52,6 +52,6 @@
[Guids]
gPerformanceProtocolGuid ## HOB
[Pcd.common]
[Pcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries
gEfiMdePkgTokenSpaceGuid.PcdPerformanceLibraryPropertyMask

View File

@@ -1,11 +1,11 @@
#/** @file
## @file
#
# Null Recovery library instance for PEIM module
# This library instance is no longer used and module using this library
# class should update to directly locate EFI_PEI_RECOVERY_MODULE_PPI defined
# in PI 1.2 specification.
#
# Copyright (c) 2006 - 2008, Intel Corporation. <BR>
# Copyright (c) 2006 - 2010, Intel Corporation. <BR>
# 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
@@ -14,7 +14,7 @@
# 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
@@ -30,7 +30,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
#
[Sources.common]
[Sources]
PeiRecoveryLibNull.c
[Packages]

View File

@@ -1,11 +1,11 @@
#/** @file
## @file
# Instance of Report Status Code Library for PEI Phase.
#
# Instance of Report Status Code Library for PEI Phase. It first tries to report status
# code via PEI Status Code Service. If the service is not available, it then tries calling
# OEM Hook Status Code Library.
#
# Copyright (c) 2006 - 2009, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -31,7 +31,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC (EBC is for build only)
#
[Sources.common]
[Sources]
ReportStatusCodeLib.c
@@ -53,6 +53,6 @@
gEfiStatusCodeDataTypeDebugGuid ## CONSUMES
[Pcd.common]
[Pcd]
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask

View File

@@ -1,11 +1,11 @@
#/** @file
## @file
#
# Null S3 library instance for PEIM module.
# This library instance is no longer used and module using this library
# class should update to directly locate EFI_PEI_S3_RESUME_PPI defined
# in PI 1.2 specification.
#
# Copyright (c) 2006 - 2008, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -15,7 +15,7 @@
# 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

View File

@@ -1,7 +1,7 @@
#/** @file
## @file
# Report status code library instance which supports logging message in DXE & runtime phase.
#
# Copyright (c) 2006 - 2009, Intel Corporation.
# Copyright (c) 2006 - 2010, 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
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005

View File

@@ -1,8 +1,8 @@
#/** @file
## @file
# SMM report status code library
#
# Retrieve status code and report status code in SMM phase
# Copyright (c) 2009 -2010, Intel Corporation.
# Copyright (c) 2009 - 2010, 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
@@ -12,7 +12,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005

View File

@@ -1,10 +1,10 @@
#/** @file
## @file
#
# Instance of HII Library using DXE protocols and services.
#
# HII Library implementation that uses EFI Hii Database Protocol and EFI Hii String Protocol.
#
# Copyright (c) 2006 - 2008, Intel Corporation
# Copyright (c) 2006 - 2010, 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
@@ -15,7 +15,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -30,7 +30,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
HiiLib.c
HiiString.c
HiiLanguage.c

View File

@@ -1,7 +1,7 @@
#/** @file
## @file
# UEFI HII Services Library implementation.
#
# Copyright (c) 2007 - 2009, Intel Corporation.
# Copyright (c) 2007 - 2010, 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
@@ -11,7 +11,7 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#
#
#**/
##
[Defines]
INF_VERSION = 0x00010005
@@ -27,7 +27,7 @@
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources.common]
[Sources]
UefiHiiServicesLib.c
[Packages]