From 4354ec05faa3aa88a8064c0ff4d03fc03b15e70d Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 2 Mar 2009 06:05:31 +0000 Subject: Remove bmp.h and shellFile.h from MdeModulePkg to IntelFrameworkpkg git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7754 6f19259b-4bc3-4df7-8a09-765794883524 --- .../Library/GenericBdsLib/BdsConsole.c | 1 + .../Library/GenericBdsLib/InternalBdsLib.h | 1 - .../Library/GenericBdsLib/bmp.h | 48 ++++++++++++++++++++++ 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 IntelFrameworkModulePkg/Library/GenericBdsLib/bmp.h (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c index cb89a8d501..f9860a2477 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsConsole.c @@ -13,6 +13,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. **/ #include "InternalBdsLib.h" +#include "Bmp.h" /** Check if we need to save the EFI variable with "ConVarName" as name diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h index e88f169b4f..f1a977ae1c 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h @@ -45,7 +45,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include #include #include diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/bmp.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/bmp.h new file mode 100644 index 0000000000..f1aff9bdab --- /dev/null +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/bmp.h @@ -0,0 +1,48 @@ +/** @file + This file defines BMP file header data structures. + +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. + +**/ + +#ifndef _GENERIC_BDS_BMP_H__ +#define _GENERIC_BDS_BMP_H__ + +#pragma pack(1) + +typedef struct { + UINT8 Blue; + UINT8 Green; + UINT8 Red; + UINT8 Reserved; +} BMP_COLOR_MAP; + +typedef struct { + CHAR8 CharB; + CHAR8 CharM; + UINT32 Size; + UINT16 Reserved[2]; + UINT32 ImageOffset; + UINT32 HeaderSize; + UINT32 PixelWidth; + UINT32 PixelHeight; + UINT16 Planes; ///> Must be 1 + UINT16 BitPerPixel; ///> 1, 4, 8, or 24 + UINT32 CompressionType; + UINT32 ImageSize; ///> Compressed image size in bytes + UINT32 XPixelsPerMeter; + UINT32 YPixelsPerMeter; + UINT32 NumberOfColors; + UINT32 ImportantColors; +} BMP_IMAGE_HEADER; + +#pragma pack() + +#endif -- cgit v1.2.3