Change BDS to get the default logo picture by default bmp logo guid.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 Apr 2007 06:24:26 +0000 (06:24 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 4 Apr 2007 06:24:26 +0000 (06:24 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Library/EdkGraphicsLib/EdkGraphicsLib.msa
EdkModulePkg/Library/EdkGraphicsLib/Graphics.c
EdkModulePkg/Logo/Logo.msa
EdkNt32Pkg/Dxe/PlatformBds/BdsPlatform.c
EdkNt32Pkg/Dxe/PlatformBds/PlatformBds.msa
EdkUnixPkg/Dxe/PlatformBds/BdsPlatform.c
EdkUnixPkg/Dxe/PlatformBds/PlatformBds.msa
MdePkg/Include/IndustryStandard/SmBus.h

index aafed23..7bab912 100644 (file)
       <ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>\r
     </Protocol>\r
   </Protocols>\r
-  <Guids>\r
-    <GuidCNames Usage="ALWAYS_CONSUMED">\r
-      <GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>\r
-    </GuidCNames>\r
-  </Guids>\r
   <Externs>\r
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
     <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
index 00e556e..e718ad3 100644 (file)
@@ -86,7 +86,7 @@ Returns:
     //\r
     Status = Fv->ReadSection (\r
                   Fv,\r
-                  &gEfiDefaultBmpLogoGuid,\r
+                  FileNameGuid,\r
                   EFI_SECTION_RAW,\r
                   0,\r
                   Image,\r
index d64bb07..35923df 100644 (file)
@@ -1,13 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>\r
-<ModuleSurfaceArea  xmlns="http://www.TianoCore.org/2006/Edk2.0">\r
+<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">\r
   <MsaHeader>\r
     <ModuleName>Logo</ModuleName>\r
     <ModuleType>BASE</ModuleType>\r
     <GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>\r
     <Version>1.0</Version>\r
     <Abstract>Component description file for creating a Logo file.</Abstract>\r
-    <Description>This module provides the logo bitmap picture shown on setup screen.</Description>\r
-    <Copyright>Copyright (c) 2006, Intel Corporation</Copyright>\r
+    <Description>\r
+      This module provides the default logo bitmap picture \r
+      shown on setup screen, which is correspondig to gEfiDefaultBmpLogoGuid.\r
+    </Description>\r
+    <Copyright>Copyright (c) 2006 - 2007, Intel Corporation</Copyright>\r
     <License>All rights reserved. This program and the accompanying materials\r
       are licensed and made available under the terms and conditions of the BSD License\r
       which accompanies this distribution.  The full text of the license may be found at\r
@@ -24,9 +27,6 @@
   <SourceFiles>\r
     <Filename>Logo.bmp</Filename>\r
   </SourceFiles>\r
-  <PackageDependencies>\r
-    <Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>\r
-  </PackageDependencies>\r
   <Externs>\r
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
     <Specification>EDK_RELEASE_VERSION 0x00020000</Specification>\r
index 1d6f913..89dbef0 100644 (file)
@@ -254,7 +254,7 @@ Returns:
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    EnableQuietBoot (&gEfiUgaSplashProtocolGuid);\r
+    EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
     //\r
     // Perform system diagnostic\r
     //\r
index d9943bb..d1ee0ff 100644 (file)
     <Protocol Usage="ALWAYS_CONSUMED">\r
       <ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>\r
     </Protocol>\r
-    <Protocol Usage="ALWAYS_CONSUMED">\r
-      <ProtocolCName>gEfiUgaSplashProtocolGuid</ProtocolCName>\r
-    </Protocol>\r
     <Protocol Usage="ALWAYS_CONSUMED">\r
       <ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>\r
     </Protocol>\r
     <GuidCNames Usage="ALWAYS_CONSUMED">\r
       <GuidCName>gEfiFileInfoGuid</GuidCName>\r
     </GuidCNames>\r
+    <GuidCNames Usage="ALWAYS_CONSUMED">\r
+      <GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>\r
+    </GuidCNames>\r
   </Guids>\r
   <Externs>\r
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>\r
index f6e29c7..39a24d2 100644 (file)
@@ -243,7 +243,7 @@ Returns:
   // from the graphic lib\r
   //\r
   if (QuietBoot) {\r
-    EnableQuietBoot (&gEfiUgaSplashProtocolGuid);\r
+    EnableQuietBoot (&gEfiDefaultBmpLogoGuid);\r
     //\r
     // Perform system diagnostic\r
     //\r
index 1dec598..9891175 100644 (file)
@@ -98,9 +98,6 @@
     <Protocol Usage="ALWAYS_CONSUMED">
       <ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>
     </Protocol>
-    <Protocol Usage="ALWAYS_CONSUMED">
-      <ProtocolCName>gEfiUgaSplashProtocolGuid</ProtocolCName>
-    </Protocol>
     <Protocol Usage="ALWAYS_CONSUMED">
       <ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
     </Protocol>
     <GuidCNames Usage="ALWAYS_CONSUMED">
       <GuidCName>gEfiFileInfoGuid</GuidCName>
     </GuidCNames>
+    <GuidCNames Usage="ALWAYS_CONSUMED">\r
+      <GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>\r
+    </GuidCNames>
   </Guids>
   <Externs>
     <Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
index d2755dd..41a8224 100644 (file)
@@ -45,50 +45,4 @@ typedef enum _EFI_SMBUS_OPERATION
 } EFI_SMBUS_OPERATION;\r
 \r
 #endif\r
-/** @file\r
-  This file declares the SMBus definitions defined in SmBus Specifciation\r
-  V2.0.\r
-\r
-  Copyright (c) 2007, Intel Corporation                                                         \r
-  All rights reserved. This program and the accompanying materials                          \r
-  are licensed and made available under the terms and conditions of the BSD License         \r
-  which accompanies this distribution.  The full text of the license may be found at        \r
-  http://opensource.org/licenses/bsd-license.php                                            \r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-\r
-  @par Revision Reference:\r
-  These definitions are defined in System Management Bus (SmBus) Specification V2.0.\r
-\r
-**/\r
-\r
-#ifndef _SMBUS_H_\r
-#define _SMBUS_H_\r
-\r
-//\r
-// Smbus Device Address, Smbus Device Command, Smbus Operations\r
-//\r
-typedef struct {\r
-  UINTN SmbusDeviceAddress : 7;\r
-} EFI_SMBUS_DEVICE_ADDRESS;\r
-\r
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;\r
 \r
-typedef enum _EFI_SMBUS_OPERATION\r
-{\r
-  EfiSmbusQuickRead,\r
-  EfiSmbusQuickWrite,\r
-  EfiSmbusReceiveByte,\r
-  EfiSmbusSendByte,\r
-  EfiSmbusReadByte,\r
-  EfiSmbusWriteByte,\r
-  EfiSmbusReadWord,\r
-  EfiSmbusWriteWord,\r
-  EfiSmbusReadBlock,\r
-  EfiSmbusWriteBlock,\r
-  EfiSmbusProcessCall,\r
-  EfiSmbusBWBRProcessCall\r
-} EFI_SMBUS_OPERATION;\r
-\r
-#endif\r