Change BDS to get the default logo picture by default bmp logo guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -68,11 +68,6 @@
|
|||||||
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
</Protocols>
|
</Protocols>
|
||||||
<Guids>
|
|
||||||
<GuidCNames Usage="ALWAYS_CONSUMED">
|
|
||||||
<GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>
|
|
||||||
</GuidCNames>
|
|
||||||
</Guids>
|
|
||||||
<Externs>
|
<Externs>
|
||||||
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
||||||
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
|
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
|
||||||
|
@ -86,7 +86,7 @@ Returns:
|
|||||||
//
|
//
|
||||||
Status = Fv->ReadSection (
|
Status = Fv->ReadSection (
|
||||||
Fv,
|
Fv,
|
||||||
&gEfiDefaultBmpLogoGuid,
|
FileNameGuid,
|
||||||
EFI_SECTION_RAW,
|
EFI_SECTION_RAW,
|
||||||
0,
|
0,
|
||||||
Image,
|
Image,
|
||||||
|
@ -1,13 +1,16 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0">
|
<ModuleSurfaceArea xmlns="http://www.TianoCore.org/2006/Edk2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||||
<MsaHeader>
|
<MsaHeader>
|
||||||
<ModuleName>Logo</ModuleName>
|
<ModuleName>Logo</ModuleName>
|
||||||
<ModuleType>BASE</ModuleType>
|
<ModuleType>BASE</ModuleType>
|
||||||
<GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>
|
<GuidValue>7BB28B99-61BB-11D5-9A5D-0090273FC14D</GuidValue>
|
||||||
<Version>1.0</Version>
|
<Version>1.0</Version>
|
||||||
<Abstract>Component description file for creating a Logo file.</Abstract>
|
<Abstract>Component description file for creating a Logo file.</Abstract>
|
||||||
<Description>This module provides the logo bitmap picture shown on setup screen.</Description>
|
<Description>
|
||||||
<Copyright>Copyright (c) 2006, Intel Corporation</Copyright>
|
This module provides the default logo bitmap picture
|
||||||
|
shown on setup screen, which is correspondig to gEfiDefaultBmpLogoGuid.
|
||||||
|
</Description>
|
||||||
|
<Copyright>Copyright (c) 2006 - 2007, Intel Corporation</Copyright>
|
||||||
<License>All rights reserved. This program and the accompanying materials
|
<License>All rights reserved. This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
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
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -24,9 +27,6 @@
|
|||||||
<SourceFiles>
|
<SourceFiles>
|
||||||
<Filename>Logo.bmp</Filename>
|
<Filename>Logo.bmp</Filename>
|
||||||
</SourceFiles>
|
</SourceFiles>
|
||||||
<PackageDependencies>
|
|
||||||
<Package PackageGuid="5e0e9358-46b6-4ae2-8218-4ab8b9bbdcec"/>
|
|
||||||
</PackageDependencies>
|
|
||||||
<Externs>
|
<Externs>
|
||||||
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
||||||
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
|
<Specification>EDK_RELEASE_VERSION 0x00020000</Specification>
|
||||||
|
@ -254,7 +254,7 @@ Returns:
|
|||||||
// from the graphic lib
|
// from the graphic lib
|
||||||
//
|
//
|
||||||
if (QuietBoot) {
|
if (QuietBoot) {
|
||||||
EnableQuietBoot (&gEfiUgaSplashProtocolGuid);
|
EnableQuietBoot (&gEfiDefaultBmpLogoGuid);
|
||||||
//
|
//
|
||||||
// Perform system diagnostic
|
// Perform system diagnostic
|
||||||
//
|
//
|
||||||
|
@ -136,9 +136,6 @@
|
|||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
<Protocol Usage="ALWAYS_CONSUMED">
|
||||||
<ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>
|
<ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
|
||||||
<ProtocolCName>gEfiUgaSplashProtocolGuid</ProtocolCName>
|
|
||||||
</Protocol>
|
|
||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
<Protocol Usage="ALWAYS_CONSUMED">
|
||||||
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
@ -227,6 +224,9 @@
|
|||||||
<GuidCNames Usage="ALWAYS_CONSUMED">
|
<GuidCNames Usage="ALWAYS_CONSUMED">
|
||||||
<GuidCName>gEfiFileInfoGuid</GuidCName>
|
<GuidCName>gEfiFileInfoGuid</GuidCName>
|
||||||
</GuidCNames>
|
</GuidCNames>
|
||||||
|
<GuidCNames Usage="ALWAYS_CONSUMED">
|
||||||
|
<GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>
|
||||||
|
</GuidCNames>
|
||||||
</Guids>
|
</Guids>
|
||||||
<Externs>
|
<Externs>
|
||||||
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
||||||
|
@ -243,7 +243,7 @@ Returns:
|
|||||||
// from the graphic lib
|
// from the graphic lib
|
||||||
//
|
//
|
||||||
if (QuietBoot) {
|
if (QuietBoot) {
|
||||||
EnableQuietBoot (&gEfiUgaSplashProtocolGuid);
|
EnableQuietBoot (&gEfiDefaultBmpLogoGuid);
|
||||||
//
|
//
|
||||||
// Perform system diagnostic
|
// Perform system diagnostic
|
||||||
//
|
//
|
||||||
|
@ -98,9 +98,6 @@
|
|||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
<Protocol Usage="ALWAYS_CONSUMED">
|
||||||
<ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>
|
<ProtocolCName>gEfiLegacyBiosProtocolGuid</ProtocolCName>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
|
||||||
<ProtocolCName>gEfiUgaSplashProtocolGuid</ProtocolCName>
|
|
||||||
</Protocol>
|
|
||||||
<Protocol Usage="ALWAYS_CONSUMED">
|
<Protocol Usage="ALWAYS_CONSUMED">
|
||||||
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
<ProtocolCName>gEfiHiiProtocolGuid</ProtocolCName>
|
||||||
</Protocol>
|
</Protocol>
|
||||||
@ -195,6 +192,9 @@
|
|||||||
<GuidCNames Usage="ALWAYS_CONSUMED">
|
<GuidCNames Usage="ALWAYS_CONSUMED">
|
||||||
<GuidCName>gEfiFileInfoGuid</GuidCName>
|
<GuidCName>gEfiFileInfoGuid</GuidCName>
|
||||||
</GuidCNames>
|
</GuidCNames>
|
||||||
|
<GuidCNames Usage="ALWAYS_CONSUMED">
|
||||||
|
<GuidCName>gEfiDefaultBmpLogoGuid</GuidCName>
|
||||||
|
</GuidCNames>
|
||||||
</Guids>
|
</Guids>
|
||||||
<Externs>
|
<Externs>
|
||||||
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
<Specification>EFI_SPECIFICATION_VERSION 0x00020000</Specification>
|
||||||
|
@ -45,50 +45,4 @@ typedef enum _EFI_SMBUS_OPERATION
|
|||||||
} EFI_SMBUS_OPERATION;
|
} EFI_SMBUS_OPERATION;
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
/** @file
|
|
||||||
This file declares the SMBus definitions defined in SmBus Specifciation
|
|
||||||
V2.0.
|
|
||||||
|
|
||||||
Copyright (c) 2007, 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.
|
|
||||||
|
|
||||||
@par Revision Reference:
|
|
||||||
These definitions are defined in System Management Bus (SmBus) Specification V2.0.
|
|
||||||
|
|
||||||
**/
|
|
||||||
|
|
||||||
#ifndef _SMBUS_H_
|
|
||||||
#define _SMBUS_H_
|
|
||||||
|
|
||||||
//
|
|
||||||
// Smbus Device Address, Smbus Device Command, Smbus Operations
|
|
||||||
//
|
|
||||||
typedef struct {
|
|
||||||
UINTN SmbusDeviceAddress : 7;
|
|
||||||
} EFI_SMBUS_DEVICE_ADDRESS;
|
|
||||||
|
|
||||||
typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
|
|
||||||
|
|
||||||
typedef enum _EFI_SMBUS_OPERATION
|
|
||||||
{
|
|
||||||
EfiSmbusQuickRead,
|
|
||||||
EfiSmbusQuickWrite,
|
|
||||||
EfiSmbusReceiveByte,
|
|
||||||
EfiSmbusSendByte,
|
|
||||||
EfiSmbusReadByte,
|
|
||||||
EfiSmbusWriteByte,
|
|
||||||
EfiSmbusReadWord,
|
|
||||||
EfiSmbusWriteWord,
|
|
||||||
EfiSmbusReadBlock,
|
|
||||||
EfiSmbusWriteBlock,
|
|
||||||
EfiSmbusProcessCall,
|
|
||||||
EfiSmbusBWBRProcessCall
|
|
||||||
} EFI_SMBUS_OPERATION;
|
|
||||||
|
|
||||||
#endif
|
|
||||||
|
Reference in New Issue
Block a user