summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Core
diff options
context:
space:
mode:
authoryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-24 10:52:02 +0000
committeryshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524>2007-07-24 10:52:02 +0000
commit3cfb790c9499ef62eb8908255f5d7648f2de8d28 (patch)
treef641f0b05df39da45b34e6f051b90ace239e0db3 /MdeModulePkg/Core
parent20a1e92436e6e94cf2e0e23d2d6c635d742a7630 (diff)
downloadedk2-3cfb790c9499ef62eb8908255f5d7648f2de8d28.zip
edk2-3cfb790c9499ef62eb8908255f5d7648f2de8d28.tar.gz
edk2-3cfb790c9499ef62eb8908255f5d7648f2de8d28.tar.bz2
Retire the "Include/Common" of MdeModulePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3425 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Core')
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DecompressLibrary.h47
-rw-r--r--MdeModulePkg/Core/DxeIplPeim/DxeLoad.c2
2 files changed, 48 insertions, 1 deletions
diff --git a/MdeModulePkg/Core/DxeIplPeim/DecompressLibrary.h b/MdeModulePkg/Core/DxeIplPeim/DecompressLibrary.h
new file mode 100644
index 0000000..31cb3e8
--- /dev/null
+++ b/MdeModulePkg/Core/DxeIplPeim/DecompressLibrary.h
@@ -0,0 +1,47 @@
+/*++
+
+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:
+
+ DecompressLibraryHob.h
+
+Abstract:
+
+ Declaration of HOB that is used to pass decompressor library functions from PEI to DXE
+
+--*/
+
+#ifndef __DECOMPRESS_LIBRARY_H__
+#define __DECOMPRESS_LIBRARY_H__
+
+typedef
+RETURN_STATUS
+(EFIAPI *DECOMPRESS_LIBRARY_GET_INFO) (
+ IN CONST VOID *Source,
+ IN UINT32 SourceSize,
+ OUT UINT32 *DestinationSize,
+ OUT UINT32 *ScratchSize
+ );
+
+typedef
+RETURN_STATUS
+(EFIAPI *DECOMPRESS_LIBRARY_DECOMPRESS) (
+ IN CONST VOID *Source,
+ IN OUT VOID *Destination,
+ IN OUT VOID *Scratch
+ );
+
+typedef struct {
+ DECOMPRESS_LIBRARY_GET_INFO GetInfo;
+ DECOMPRESS_LIBRARY_DECOMPRESS Decompress;
+} DECOMPRESS_LIBRARY;
+
+#endif
diff --git a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
index ebae17c..b749fb1 100644
--- a/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
+++ b/MdeModulePkg/Core/DxeIplPeim/DxeLoad.c
@@ -23,7 +23,7 @@ Abstract:
#include "DxeIpl.h"
// porting note remove later
-#include "Common/DecompressLibraryHob.h"
+#include "DecompressLibrary.h"
#include "FrameworkPei.h"
// end of remove later