diff options
author | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
---|---|---|
committer | raywu <raywu0301@gmail.com> | 2018-06-15 00:00:50 +0800 |
commit | b7c51c9cf4864df6aabb99a1ae843becd577237c (patch) | |
tree | eebe9b0d0ca03062955223097e57da84dd618b9a /ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei | |
download | zprj-b7c51c9cf4864df6aabb99a1ae843becd577237c.tar.xz |
Diffstat (limited to 'ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei')
6 files changed, 247 insertions, 0 deletions
diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.cif b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.cif new file mode 100644 index 0000000..5237f31 --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.cif @@ -0,0 +1,12 @@ +<component> + name = "PeiGfxDriver" + category = ModulePart + LocalRoot = "ReferenceCode\RapidStart\GfxDisplay\FfsGfxDriver\Pei\" + RefName = "PeiGfxDriver" +[files] +"PeiGfxDriver.efi" +"PeiGfxDriver.dxs" +"PeiGfxDriver.mak" +"PeiGfxDriver.sdl" +"PeiGfxDriver.inf" +<endComponent> diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.dxs b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.dxs new file mode 100644 index 0000000..ec5b4d5 --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.dxs @@ -0,0 +1,32 @@ +/** @file + Dependency expression source file. + +@copyright + Copyright (c) 1999 - 2012 Intel Corporation. All rights reserved + This software and associated documentation (if any) is furnished + under a license and may only be used or copied in accordance + with the terms of the license. Except as permitted by such + license, no part of this software or documentation may be + reproduced, stored in a retrieval system, or transmitted in any + form or by any means without the express written consent of + Intel Corporation. + + This file contains a 'Sample Driver' and is licensed as such + under the terms of your license agreement with Intel or your + vendor. This file may be modified by the user, subject to + the additional terms of the license agreement + +**/ + + +#include "EfiDepex.h" +//AMI_OVERRIDE_FOR_RAPID_START +//#include EFI_PPI_CONSUMER (MemoryDiscovered) +//AMI_OVERRIDE_FOR_RAPID_START + +DEPENDENCY_START +//AMI_OVERRIDE_FOR_RAPID_START +// PEI_PERMANENT_MEMORY_INSTALLED_PPI_GUID +//AMI_OVERRIDE_FOR_RAPID_START + TRUE +DEPENDENCY_END diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.efi b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.efi Binary files differnew file mode 100644 index 0000000..e7f6ff1 --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.efi diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.inf b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.inf new file mode 100644 index 0000000..5ba2eba --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.inf @@ -0,0 +1,40 @@ +## @file +# Component description file for PeiGfxDriver. +# +#@copyright +# Copyright (c) 2012 Intel Corporation. All rights reserved +# This software and associated documentation (if any) is furnished +# under a license and may only be used or copied in accordance +# with the terms of the license. Except as permitted by such +# license, no part of this software or documentation may be +# reproduced, stored in a retrieval system, or transmitted in any +# form or by any means without the express written consent of +# Intel Corporation. +# +# This file contains an 'Intel Peripheral Driver' and uniquely +# identified as "Intel Reference Module" and is +# licensed for Intel CPUs and chipsets under the terms of your +# license agreement with Intel or your vendor. This file may +# be modified by the user, subject to additional terms of the +# license agreement +# + +[defines] +BASE_NAME = PeiGfxDriver +FILE_GUID = B9846521-FF99-4953-8FA2-85C9ADCCE5AF +COMPONENT_TYPE = PE32_PEIM +BUILD_TYPE = BS_DRIVER_EFI + +[sources.common] + +[includes.common] + $(EDK_SOURCE)\Foundation\Efi + $(EDK_SOURCE)\Foundation\Include + $(EDK_SOURCE)\Foundation\Efi\Include + $(EDK_SOURCE)\Foundation\Framework + $(EDK_SOURCE)\Foundation\Framework\Include + +[nmake.common] + IMAGE_ENTRY_POINT = PeiGfxDriverEntry + DPX_SOURCE=PeiGfxDriver.dxs + diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.mak b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.mak new file mode 100644 index 0000000..d811ffc --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.mak @@ -0,0 +1,79 @@ +#********************************************************************** +#********************************************************************** +#** ** +#** (C)Copyright 1985-2012, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#********************************************************************** +#********************************************************************** + +#********************************************************************** +# $Header: /Alaska/SOURCE/Modules/Intel Fast Flash Standby/iRST_SharkBay/PeiGfxDriver/PeiGfxDriver.mak 1 10/15/12 4:46a Bensonlai $ +# +# $Revision: 1 $ +# +# $Date: 10/15/12 4:46a $ +#********************************************************************** +# Revision History +# ---------------- +# $Log: /Alaska/SOURCE/Modules/Intel Fast Flash Standby/iRST_SharkBay/PeiGfxDriver/PeiGfxDriver.mak $ +# +# 1 10/15/12 4:46a Bensonlai +# [TAG] None +# [Category] Improvement +# [Description] [Category] Improvement +# [Severity] Important +# [Description] Update Intel Rapid Start Graphics Driver for Shark Bay +# Platform 5.0.1.1001, please increase your FV_BB_BLOCKS size if you +# compile fail that caused by FV_BB size too small. +# [Files] ReferenceCode\RapidStart\GfxDisplay\FfsGfxDriver\Pei\*.*, +# ReferenceCode\RapidStart\GfxDisplay\FfsGfxDriver\Dxe\*.* +# +#********************************************************************** +#<AMI_FHDR_START> +# +# Name: PeiGfxDriver.mak +# +# Description: Component description file for PeiGfxDriver. +# +#<AMI_FHDR_END> +#********************************************************************** + +all : PeiGfxDriver + +PeiGfxDriver : $(BUILD_DIR)\PeiGfxDriver.ffs + +PeiGfxDriver_INCLUDES=\ + $(EdkIIGlueLib_INCLUDES)\ + $(EDK_INCLUDES) + +$(BUILD_DIR)\PeiGfxDriver.ffs : $(PeiGfxDriver_PATH)\PeiGfxDriver.efi + $(MAKE) $(EDKIIGLUE_DEFAULTS) /f Core\FFS.mak \ + CPFLAGS="$(GLOBAL_DEFINES) /D TIANO_RELEASE_VERSION=0x00080006 $(EXTRA_DEFINES) $(PeiGfxDriver_INCLUDES)" \ + NAME=PeiGfxDriver \ + BUILD_DIR=$(BUILD_DIR) \ + SOURCE_DIR=$(PeiGfxDriver_PATH) \ + GUID=B9846521-FF99-4953-8FA2-85C9ADCCE5AF \ + TYPE=EFI_FV_FILETYPE_PEIM \ + EDKIIModule=EFI_FV_FILETYPE_PEIM\ + DEPEX1=$(PeiGfxDriver_PATH)\PeiGfxDriver.dxs DEPEX1_TYPE=EFI_SECTION_PEI_DEPEX \ + PEFILE=$** FFSFILE=$@ COMPRESS=0 NAME=$(**B) + +#********************************************************************** +#********************************************************************** +#** ** +#** (C)Copyright 1985-2012, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#********************************************************************** +#********************************************************************** diff --git a/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.sdl b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.sdl new file mode 100644 index 0000000..a40e3d2 --- /dev/null +++ b/ReferenceCode/RapidStart/GfxDisplay/FfsGfxDriver/Pei/PeiGfxDriver.sdl @@ -0,0 +1,84 @@ +#********************************************************************** +#********************************************************************** +#** ** +#** (C)Copyright 1985-2012, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#********************************************************************** +#********************************************************************** + +#********************************************************************** +# $Header: /Alaska/SOURCE/Modules/Intel Fast Flash Standby/iRST_SharkBay/PeiGfxDriver/PeiGfxDriver.sdl 1 10/15/12 4:56a Bensonlai $ +# +# $Revision: 1 $ +# +# $Date: 10/15/12 4:56a $ +#********************************************************************** +# Revision History +# ---------------- +# $Log: /Alaska/SOURCE/Modules/Intel Fast Flash Standby/iRST_SharkBay/PeiGfxDriver/PeiGfxDriver.sdl $ +# +# 1 10/15/12 4:56a Bensonlai +# [TAG] None +# [Category] Improvement +# [Description] [Category] Improvement +# [Severity] Important +# [Description] Update Intel Rapid Start Graphics Driver for Shark Bay +# Platform 5.0.1.1001, please increase your FV_BB_BLOCKS size if you +# compile fail that caused by FV_BB size too small. +# [Files] ReferenceCode\RapidStart\GfxDisplay\FfsGfxDriver\Pei\*.*, +# ReferenceCode\RapidStart\GfxDisplay\FfsGfxDriver\Dxe\*.* +# +#********************************************************************** +#<AMI_FHDR_START> +# +# Name: PeiGfxDriver.sdl +# +# Description: SDL file for PeiGfxDriver. +# +#<AMI_FHDR_END> +#********************************************************************** + +TOKEN + Name = "PeiGfxDriver_SUPPORT" + Value = "1" + Help = "Main switch to enable PeiGfxDriver support in Project" + TokenType = Boolean + TargetMAK = Yes + TargetH = Yes + Master = Yes +End + +MODULE + Help = "Includes PeiGfxDriver.mak to Project" + File = "PeiGfxDriver.mak" +End + +PATH + Name = "PeiGfxDriver_PATH" +End + +ELINK + Name = "$(BUILD_DIR)\PeiGfxDriver.ffs" + Parent = "FV_BB" + InvokeOrder = AfterParent +End + +#********************************************************************** +#********************************************************************** +#** ** +#** (C)Copyright 1985-2012, American Megatrends, Inc. ** +#** ** +#** All Rights Reserved. ** +#** ** +#** 5555 Oakbrook Parkway, Suite 200, Norcross, GA 30093 ** +#** ** +#** Phone: (770)-246-8600 ** +#** ** +#********************************************************************** +#********************************************************************** |