diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-26 07:00:31 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-02-26 07:00:31 +0000 |
commit | bc2693a8403c62cf0b2419740d64ab610b5fd23b (patch) | |
tree | adbfc8002f973db87c084903df1f87df09308ebd /EdkModulePkg/Core/Pei | |
parent | 3111542d671e8d52e8c1d0bbcb66ea0a37e79579 (diff) | |
download | edk2-platforms-bc2693a8403c62cf0b2419740d64ab610b5fd23b.tar.xz |
Clean up MSA file of the checked in modules which include:
1) remove unused library class
2) remove unreferenced GUIDs
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2401 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Core/Pei')
-rw-r--r-- | EdkModulePkg/Core/Pei/Dispatcher/Dispatcher.c | 6 | ||||
-rw-r--r-- | EdkModulePkg/Core/Pei/PeiMain.h | 8 | ||||
-rw-r--r-- | EdkModulePkg/Core/Pei/PeiMain.msa | 12 |
3 files changed, 12 insertions, 14 deletions
diff --git a/EdkModulePkg/Core/Pei/Dispatcher/Dispatcher.c b/EdkModulePkg/Core/Pei/Dispatcher/Dispatcher.c index c764b3907e..4cf44523ed 100644 --- a/EdkModulePkg/Core/Pei/Dispatcher/Dispatcher.c +++ b/EdkModulePkg/Core/Pei/Dispatcher/Dispatcher.c @@ -29,9 +29,6 @@ TransferOldDataToNewDataRange ( IN PEI_CORE_INSTANCE *PrivateData
);
-EFI_GUID gEfiPeiCorePrivateGuid = EFI_PEI_CORE_PRIVATE_GUID;
-
-
EFI_STATUS
PeiDispatcher (
IN EFI_PEI_STARTUP_DESCRIPTOR *PeiStartupDescriptor,
@@ -529,6 +526,9 @@ Returns: --*/
{
+ //
+ //Build private HOB to PEI core to transfer old NEM-range data to new NEM-range
+ //
return BuildGuidDataHob (&gEfiPeiCorePrivateGuid, PrivateData, sizeof (PEI_CORE_INSTANCE));
}
diff --git a/EdkModulePkg/Core/Pei/PeiMain.h b/EdkModulePkg/Core/Pei/PeiMain.h index 8aa97350bb..53c429f6e0 100644 --- a/EdkModulePkg/Core/Pei/PeiMain.h +++ b/EdkModulePkg/Core/Pei/PeiMain.h @@ -24,12 +24,8 @@ Revision History #ifndef _PEI_MAIN_H_
#define _PEI_MAIN_H_
-//
-//Build private HOB to PEI core to transfer old NEM-range data to new NEM-range
-//
-#define EFI_PEI_CORE_PRIVATE_GUID \
- {0xd641a0f5, 0xcb7c, 0x4846, { 0xa3, 0x80, 0x1d, 0x01, 0xb4, 0xd9, 0xe3, 0xb9 } }
-
+extern EFI_GUID gEfiPeiCorePrivateGuid;
+
//
// Pei Core private data structures
//
diff --git a/EdkModulePkg/Core/Pei/PeiMain.msa b/EdkModulePkg/Core/Pei/PeiMain.msa index 5daf40f64d..b8873a8ab6 100644 --- a/EdkModulePkg/Core/Pei/PeiMain.msa +++ b/EdkModulePkg/Core/Pei/PeiMain.msa @@ -7,7 +7,7 @@ <Version>1.0</Version>
<Abstract>Component description file for PeiMain module</Abstract>
<Description>This module provide an DXE CIS compliant implementation.</Description>
- <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
+ <Copyright>Copyright (c) 2006 - 2007, 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
@@ -52,9 +52,6 @@ <LibraryClass Usage="ALWAYS_CONSUMED">
<Keyword>TimerLib</Keyword>
</LibraryClass>
- <LibraryClass Usage="SOMETIMES_CONSUMED">
- <Keyword>PeCoffLib</Keyword>
- </LibraryClass>
</LibraryClassDefinitions>
<SourceFiles>
<Filename>PeiMain.h</Filename>
@@ -105,6 +102,11 @@ <PpiNotifyCName>gEfiPeiSecurityPpiGuid</PpiNotifyCName>
</PpiNotify>
</PPIs>
+ <Guids>
+ <GuidCNames Usage="PRIVATE">
+ <GuidCName>gEfiPeiCorePrivateGuid</GuidCName>
+ </GuidCNames>
+ </Guids>
<Externs>
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
@@ -112,4 +114,4 @@ <ModuleEntryPoint>PeiCore</ModuleEntryPoint>
</Extern>
</Externs>
-</ModuleSurfaceArea>
\ No newline at end of file +</ModuleSurfaceArea>
|