Remove the dead files.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@612 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
qwang12 2006-06-23 09:26:50 +00:00
parent db38605523
commit a2875f8c3d
5 changed files with 0 additions and 297 deletions

View File

@ -1,90 +0,0 @@
/** @file
PCD TEST PEIM
Copyright (c) 2006, 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: PcdTest.c
**/
#define GUID1 \
{0xF9349C58, 0xB767, 0x42c8, 0xB3, 0x6B, 0x41, 0x25, 0xDE, 0x3A, 0xEF, 0xEB}
CONST GUID Guid1 = GUID1;
EFI_STATUS
EFIAPI
OnsetCallback1 (
IN CONST EFI_GUID *Guid,
IN UINT32 CallBackToken,
IN VOID *TokenData,
IN UINTN TokenDataSize
)
{
DebugPrint (0x80000000, "In CallbackOnSet %x %d\n", * ((UINT32 *)TokenData), TokenDataSize);
return EFI_SUCCESS;
}
VOID
DoTest(
VOID
)
{
UINT8 u8;
UINT16 u16;
UINT32 u32;
UINT64 u64;
PCD_TOKEN_NUMBER Token;
LibPcdCallbackOnSet (NULL, PcdToken(PcdTestDynamicUint32), OnsetCallback1);
u32 = 0xafafafaf;
PcdSet32(PcdTestDynamicUint32, u32);
u64 = 0xafafafaf00000000;
PcdSet64(PcdTestDynamicUint64, u64);
u8 = PcdGet8(PcdTestDynamicUint8);
u16 = PcdGet16(PcdTestDynamicUint16);
ASSERT (u8 == 0x01);
ASSERT (u16 == 0x1234);
ASSERT (u64 == PcdGet64(PcdTestDynamicUint64));
ASSERT (u32 == PcdGet32(PcdTestDynamicUint32));
Token = PCD_INVALID_TOKEN_NUMBER;
do {
Token = LibPcdGetNextToken (NULL, Token);
DebugPrint (EFI_D_ERROR, "Next Token Number is %d\n", Token);
} while (Token != PCD_INVALID_TOKEN_NUMBER);
return;
}
EFI_STATUS
EFIAPI
PcdTestPeimInit (
IN EFI_FFS_FILE_HEADER *FfsHeader,
IN EFI_PEI_SERVICES **PeiServices
)
{
DoTest();
return EFI_SUCCESS;
}

View File

@ -1,28 +0,0 @@
/*++
Copyright (c) 2006, 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:
Variable.dxs
Abstract:
Dependency expression file for PcdTest PEIM.
--*/
#include <AutoGen.h>
#include <PeimDepex.h>
DEPENDENCY_START
PCD_PPI_GUID
DEPENDENCY_END

View File

@ -1,41 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006, 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.
-->
<ModuleBuildDescription xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0 http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd">
<MbdHeader>
<BaseName>PeimPcdTesty</BaseName>
<Guid>7AB59E15-BA5A-4617-B562-BA428D002082</Guid>
<Version>EDK_RELEASE_VERSION 0x00020000</Version>
<Description>FIX ME!</Description>
<Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>
<License>
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.
</License>
<Created>2006-03-14 17:04</Created>
<Modified>2006-03-24 18:54</Modified>
</MbdHeader>
<Libraries>
<Library>PeimEntryPoint</Library>
<Library>BaseLib</Library>
<Library>PeiServicesLib</Library>
<Library>PeiServicesTablePointerLib</Library>
<Library>BaseDebugLibReportStatusCode</Library>
<Library>PeiMemoryLib</Library>
<Library>PeiReportStatusCodeLib</Library>
<Library>PeiMemoryAllocationLib</Library>
<Library>PeiPcdLib</Library>
</Libraries>
</ModuleBuildDescription>

View File

@ -1,91 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2006, 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.
-->
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TianoCore.org/2006/Edk2.0 http://www.TianoCore.org/2006/Edk2.0/SurfaceArea.xsd">
<MsaHeader>
<BaseName>PeimPcdTest</BaseName>
<ModuleType>PEIM</ModuleType>
<ComponentType>PE32_PEIM</ComponentType>
<Guid>B5B62DC2-4420-403a-A068-6E126053A166</Guid>
<Version>EDK_RELEASE_VERSION 0x00020000</Version>
<Abstract>Component description file for Pcd Database PEIM module</Abstract>
<Description>FIX ME!</Description>
<Copyright>Copyright (c) 2004-2006, Intel Corporation</Copyright>
<License>
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.
</License>
<Created>2006-03-14 17:04</Created>
<Updated>2006-03-24 18:54</Updated>
<Specification>EFI_SPECIFICATION_VERSION 0x00000000</Specification>
</MsaHeader>
<LibraryClassDefinitions>
<LibraryClass Usage="ALWAYS_CONSUMED">DebugLib</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">PeimEntryPoint</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">BaseLib</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">PcdLib</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">PeiServicesTablePointerLib</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">MemoryAllocationLib</LibraryClass>
<LibraryClass Usage="ALWAYS_CONSUMED">BaseMemoryLib</LibraryClass>
</LibraryClassDefinitions>
<SourceFiles>
<Filename>PcdTest.c</Filename>
</SourceFiles>
<Includes>
<PackageName>MdePkg</PackageName>
<PackageName>EdkModulePkg</PackageName>
</Includes>
<Hobs>
<Hob Usage="ALWAYS_PRODUCED" HobType="GUID_EXTENSION">
<Name>PcdDataBaseHob</Name>
<C_Name>gPcdDataBaseHobGuid</C_Name>
<Guid>0xea296d92, 0xb69, 0x423c, 0x8c, 0x28, 0x33, 0xb4, 0xe0, 0xa9, 0x12, 0x68</Guid>
</Hob>
<Hob Usage="ALWAYS_PRODUCED" HobType="GUID_EXTENSION">
<Name>PcdPeiCallbackFnTable</Name>
<C_Name>gPcdPeiCallbackFnTableHobGuid</C_Name>
<Guid>0xc625f4b2, 0xea09, 0x4675, 0x82, 0xd7, 0xba, 0x36, 0x82, 0x15, 0x7a, 0x14</Guid>
</Hob>
</Hobs>
<PPIs>
<Ppi Usage="ALWAYS_PRODUCED">Pcd</Ppi>
<Ppi Usage="ALWAYS_CONSUMED">ReadOnlyVariable</Ppi>
</PPIs>
<Externs>
<Extern>
<ModuleEntryPoint>PcdTestPeimInit</ModuleEntryPoint>
</Extern>
</Externs>
<PcdCoded>
<PcdEntry PcdItemType="FIXED_AT_BUILD">
<C_Name>PcdMaxPeiPcdCallBackNumberPerPcdEntry</C_Name>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint8</C_Name>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint16</C_Name>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint32</C_Name>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicUint64</C_Name>
</PcdEntry>
<PcdEntry PcdItemType="DYNAMIC">
<C_Name>PcdTestDynamicBoolean</C_Name>
</PcdEntry>
</PcdCoded>
</ModuleSurfaceArea>

View File

@ -1,47 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?><!-- Copyright (c) 2006, 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.-->
<project basedir="." default="PeimPcdTest"><!--Apply external ANT tasks-->
<taskdef resource="GenBuild.tasks"/>
<taskdef resource="net/sf/antcontrib/antlib.xml"/>
<property environment="env"/>
<property name="WORKSPACE_DIR" value="${env.WORKSPACE}"/>
<import file="${WORKSPACE_DIR}/Tools/Conf/BuildMacro.xml"/><!--MODULE_RELATIVE PATH is relative to PACKAGE_DIR-->
<property name="MODULE_RELATIVE_PATH" value="Universal/PCD/Test"/>
<property name="MODULE_DIR" value="${PACKAGE_DIR}/${MODULE_RELATIVE_PATH}"/>
<property name="COMMON_FILE" value="${WORKSPACE_DIR}/Tools/Conf/Common.xml"/>
<target name="PeimPcdTest">
<GenBuild baseName="PeimPcdTest" mbdFilename="${MODULE_DIR}/PeiPcdTest.mbd" msaFilename="${MODULE_DIR}/PeiPcdTest.msa"/>
</target>
<target depends="PeimPcdTest_clean" name="clean"/>
<target depends="PeimPcdTest_cleanall" name="cleanall"/>
<target name="PeimPcdTest_clean">
<OutputDirSetup baseName="PeimPcdTest" mbdFilename="${MODULE_DIR}/PeiPcdTest.mbd" msaFilename="${MODULE_DIR}/PeiPcdTest.msa"/>
<if>
<available file="${DEST_DIR_OUTPUT}/PeimPcdTest_build.xml"/>
<then>
<ant antfile="${DEST_DIR_OUTPUT}/PeimPcdTest_build.xml" target="clean"/>
</then>
</if>
<delete dir="${DEST_DIR_OUTPUT}" excludes="*.xml"/>
</target>
<target name="PeimPcdTest_cleanall">
<OutputDirSetup baseName="PeimPcdTest" mbdFilename="${MODULE_DIR}/PeiPcdTest.mbd" msaFilename="${MODULE_DIR}/PeiPcdTest.msa"/>
<if>
<available file="${DEST_DIR_OUTPUT}/PeimPcdTest_build.xml"/>
<then>
<ant antfile="${DEST_DIR_OUTPUT}/PeimPcdTest_build.xml" target="cleanall"/>
</then>
</if>
<delete dir="${DEST_DIR_OUTPUT}"/>
<delete dir="${DEST_DIR_DEBUG}"/>
<delete>
<fileset dir="${BIN_DIR}" includes="**PeimPcdTest*"/>
</delete>
</target>
</project>