Add in the 1st version of ECP.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
1522
EdkCompatibilityPkg/Sample/Platform/Common.dsc
Normal file
1522
EdkCompatibilityPkg/Sample/Platform/Common.dsc
Normal file
File diff suppressed because it is too large
Load Diff
558
EdkCompatibilityPkg/Sample/Platform/CommonIa32.dsc
Normal file
558
EdkCompatibilityPkg/Sample/Platform/CommonIa32.dsc
Normal file
@@ -0,0 +1,558 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2004 - 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.
|
||||
#
|
||||
# Module Name:
|
||||
#
|
||||
# CommonIa32.dsc
|
||||
#
|
||||
# Abstract:
|
||||
#
|
||||
# This is the build description file containing the processor architecture
|
||||
# dependent build instructions.
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# The info in this file is broken down into sections. The start of a section
|
||||
# is designated by a "[" in the first column. So the [=====] separater ends
|
||||
# a section.
|
||||
#
|
||||
#--*/
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# These are the package descriptions. They are tagged as
|
||||
# [Package.$(COMPONENT_TYPE).$(PACKAGE)], where COMPONENT_TYPE is typically
|
||||
# defined in the component INF file, and PACKAGE is typically specified
|
||||
# in the components section in the main DSC file. Main DSC file can also define
|
||||
# platform specific package descriptions.
|
||||
#
|
||||
|
||||
[=============================================================================]
|
||||
[Package.APPLICATION.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_APPLICATION
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.Apriori.Default|DefaultStripped,Package.FILE.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).sec
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.RAWFILE.Default|DefaultStripped,Package.Config.Default|DefaultStripped|Config,Package.Microcode.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_RAW
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).Bin
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BINARY.Default,Package.Legacy16.Default,Package.Logo.Default|Logo]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool ( $(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS = -i $(DEST_DIR)\$(BASE_NAME).sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition for TE files
|
||||
#
|
||||
[Package.PE32_PEIM.TE_PEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
$(BASE_NAME).tes
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition to put the IFR data in a separate section in the
|
||||
# FFS file.
|
||||
#
|
||||
[Package.BS_DRIVER.Ifr_Bin]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
$(DEST_DIR)\$(BASE_NAME)IfrBin.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.TE_PEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).tes \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.Relocatable]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.CompressPEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.COMBINED_PEIM_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).dpxd \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DxeMain]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DXE_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.Default,Package.RT_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Define a package that "signs" our capsule cargo FV
|
||||
#
|
||||
[Package.FvImageFile.SignedFVPackage]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.FvMainCompact]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Blank.pad
|
||||
$(SOURCE_FV)Fv.sec
|
||||
}
|
||||
}
|
||||
[=============================================================================]
|
||||
#
|
||||
# Stripped package descriptions for size reduction.
|
||||
#
|
||||
[=============================================================================]
|
||||
[Package.APPLICATION.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_APPLICATION
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BINARY.DefaultStripped,Package.Legacy16.DefaultStripped,Package.Logo.DefaultStripped|LogoStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).sec
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.TE_PEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).tes
|
||||
}
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.CompressPEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition for TE files
|
||||
#
|
||||
[Package.PE32_PEIM.TE_PEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
$(BASE_NAME).tes
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.COMBINED_PEIM_DRIVER.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).dpxd \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DxeMainStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DXE_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DefaultStripped,Package.RT_DRIVER.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.SECURITY_CORE.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_SECURITY_CORE
|
||||
FFS_ATTRIB_CHECKSUM = FALSE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank1.pad \
|
||||
$(BASE_NAME).tes \
|
||||
ResetVec.raw \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
391
EdkCompatibilityPkg/Sample/Platform/CommonIpf.dsc
Normal file
391
EdkCompatibilityPkg/Sample/Platform/CommonIpf.dsc
Normal file
@@ -0,0 +1,391 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2004 - 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.
|
||||
#
|
||||
# Module Name:
|
||||
#
|
||||
# CommonIpf.dsc
|
||||
#
|
||||
# Abstract:
|
||||
#
|
||||
# This is the build description file containing the processor architecture
|
||||
# dependent build instructions.
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# The info in this file is broken down into sections. The start of a section
|
||||
# is designated by a "[" in the first column. So the [=====] separater ends
|
||||
# a section.
|
||||
#
|
||||
#--*/
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# These are the package descriptions. They are tagged as
|
||||
# [Package.$(COMPONENT_TYPE).$(PACKAGE)], where COMPONENT_TYPE is typically
|
||||
# defined in the component INF file, and PACKAGE is typically specified
|
||||
# in the components section in the main DSC file. Main DSC file can also define
|
||||
# platform specific package descriptions.
|
||||
#
|
||||
|
||||
[=============================================================================]
|
||||
[Package.APPLICATION.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_APPLICATION
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.Apriori.Default,Package.FILE.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).sec
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.RAWFILE.Default,Package.Config.Default|Config]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_RAW
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).Bin
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BINARY.Default,Package.Legacy16.Default,Package.Logo.Default|Logo]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool ( $(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS = -i $(DEST_DIR)\$(BASE_NAME).sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition for TE files
|
||||
#
|
||||
[Package.PE32_PEIM.TE_PEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
$(BASE_NAME).tes
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition to put the IFR data in a separate section in the
|
||||
# FFS file.
|
||||
#
|
||||
[Package.BS_DRIVER.Ifr_Bin]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
$(DEST_DIR)\$(BASE_NAME)IfrBin.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.SECURITY_CORE.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_SECURITY_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x1
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank.pad \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x1
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank.pad \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x1
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank.pad \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.CompressPEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.COMBINED_PEIM_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x1
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank.pad \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).dpxd \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PIC_PEIM.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x1
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank.pad \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pic \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.DxeIplPad.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_RAW
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
FFS_ALIGNMENT = 0x7
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).pad \
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DxeMain]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DXE_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.Default,Package.RT_DRIVER.Default,Package.SAL_RT_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Define a package that "signs" our capsule cargo FV
|
||||
#
|
||||
[Package.FvImageFile.SignedFVPackage]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.FvMainCompact]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Blank.pad
|
||||
$(SOURCE_FV)Fv.sec
|
||||
}
|
||||
}
|
||||
[=============================================================================]
|
558
EdkCompatibilityPkg/Sample/Platform/CommonX64.dsc
Normal file
558
EdkCompatibilityPkg/Sample/Platform/CommonX64.dsc
Normal file
@@ -0,0 +1,558 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2005 - 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.
|
||||
#
|
||||
# Module Name:
|
||||
#
|
||||
# CommonX64.dsc
|
||||
#
|
||||
# Abstract:
|
||||
#
|
||||
# This is the build description file containing the processor architecture
|
||||
# dependent build instructions.
|
||||
#
|
||||
# Notes:
|
||||
#
|
||||
# The info in this file is broken down into sections. The start of a section
|
||||
# is designated by a "[" in the first column. So the [=====] separater ends
|
||||
# a section.
|
||||
#
|
||||
#--*/
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# These are the package descriptions. They are tagged as
|
||||
# [Package.$(COMPONENT_TYPE).$(PACKAGE)], where COMPONENT_TYPE is typically
|
||||
# defined in the component INF file, and PACKAGE is typically specified
|
||||
# in the components section in the main DSC file. Main DSC file can also define
|
||||
# platform specific package descriptions.
|
||||
#
|
||||
|
||||
[=============================================================================]
|
||||
[Package.APPLICATION.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_APPLICATION
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.Apriori.Default|DefaultStripped,Package.FILE.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).sec
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.RAWFILE.Default|DefaultStripped,Package.Config.Default|DefaultStripped|Config,Package.Microcode.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_RAW
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).Bin
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BINARY.Default,Package.Legacy16.Default,Package.Logo.Default|Logo]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool ( $(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS = -i $(DEST_DIR)\$(BASE_NAME).sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition for TE files
|
||||
#
|
||||
[Package.PE32_PEIM.TE_PEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
$(BASE_NAME).tes
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition to put the IFR data in a separate section in the
|
||||
# FFS file.
|
||||
#
|
||||
[Package.BS_DRIVER.Ifr_Bin]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
$(DEST_DIR)\$(BASE_NAME)IfrBin.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.TE_PEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).tes \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.Relocatable]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.CompressPEIM]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.COMBINED_PEIM_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).dpxd \
|
||||
$(BASE_NAME).pe32 \
|
||||
$(BASE_NAME).ui \
|
||||
$(BASE_NAME).ver \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DxeMain]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DXE_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
$(BASE_NAME).ui
|
||||
$(BASE_NAME).ver
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.Default,Package.RT_DRIVER.Default,Package.SAL_RT_DRIVER.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
$(DEST_DIR)\$(BASE_NAME).ui
|
||||
$(DEST_DIR)\$(BASE_NAME).ver
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.Default]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME)fv.crc32
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Define a package that "signs" our capsule cargo FV
|
||||
#
|
||||
[Package.FvImageFile.SignedFVPackage]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Tool (
|
||||
$(OEMTOOLPATH)\GenCRC32Section
|
||||
ARGS= -i $(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
-o $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
OUTPUT = $(DEST_DIR)\$(BASE_NAME).crc32
|
||||
)
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Stripped package descriptions for size reduction.
|
||||
#
|
||||
[=============================================================================]
|
||||
[Package.APPLICATION.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_APPLICATION
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BINARY.DefaultStripped,Package.Legacy16.DefaultStripped,Package.Logo.DefaultStripped|LogoStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FREEFORM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).sec
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PEI_CORE.TE_PEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEI_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).tes
|
||||
}
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.PE32_PEIM.CompressPEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
#
|
||||
# Package definition for TE files
|
||||
#
|
||||
[Package.PE32_PEIM.TE_PEIMStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_PEIM
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
$(BASE_NAME).dpx
|
||||
$(BASE_NAME).tes
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.COMBINED_PEIM_DRIVER.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_COMBINED_PEIM_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
$(BASE_NAME).dpx \
|
||||
$(BASE_NAME).dpxd \
|
||||
$(BASE_NAME).pe32 \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DxeMainStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DXE_CORE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.BS_DRIVER.DefaultStripped,Package.RT_DRIVER.DefaultStripped,Package.SAL_RT_DRIVER.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_DRIVER
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(BASE_NAME).dpx
|
||||
$(DEST_DIR)\$(BASE_NAME).pe32
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
$(DEST_DIR)\$(SOURCE_FV)Fv.sec
|
||||
}
|
||||
}
|
||||
|
||||
[=============================================================================]
|
||||
[Package.FvImageFile.FvMainCompact]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_FIRMWARE_VOLUME_IMAGE
|
||||
FFS_ATTRIB_CHECKSUM = TRUE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{
|
||||
Compress ($(COMPRESS_METHOD)) {
|
||||
Blank.pad
|
||||
$(SOURCE_FV)Fv.sec
|
||||
}
|
||||
}
|
||||
[=============================================================================]
|
||||
[Package.SECURITY_CORE.Default|DefaultStripped]
|
||||
PACKAGE.INF
|
||||
\[.]
|
||||
BASE_NAME = $(BASE_NAME)
|
||||
FFS_FILEGUID = $(FILE_GUID)
|
||||
FFS_FILETYPE = EFI_FV_FILETYPE_SECURITY_CORE
|
||||
FFS_ATTRIB_CHECKSUM = FALSE
|
||||
|
||||
IMAGE_SCRIPT =
|
||||
{ \
|
||||
Blank1.pad \
|
||||
$(BASE_NAME).tes \
|
||||
ResetVec.raw \
|
||||
}
|
||||
|
||||
[=============================================================================]
|
39
EdkCompatibilityPkg/Sample/Platform/EdkIIGlueLib32.dsc
Normal file
39
EdkCompatibilityPkg/Sample/Platform/EdkIIGlueLib32.dsc
Normal file
@@ -0,0 +1,39 @@
|
||||
#/*++
|
||||
# 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.
|
||||
#--*/
|
||||
#
|
||||
# EdkII Glue Library for PEI usage (32bit)
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseLib\BaseLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseMemoryLib\BaseMemoryLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePrintLib\BasePrintLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseDebugLibNull\BaseDebugLibNull.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsic.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePostCodeLibPort80\BasePostCodeLibPort80.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePostCodeLibDebug\BasePostCodeLibDebug.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseCacheMaintenanceLib\BaseCacheMaintenanceLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciCf8Lib\BasePciCf8Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciExpressLib\BasePciExpressLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciLibCf8\BasePciLibCf8.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciLibPciExpress\BasePciLibPciExpress.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePeCoffGetEntryPointLib\BasePeCoffGetEntryPointLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePeCoffLib\BasePeCoffLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseTimerLibLocalApic\BaseTimerLibLocalApic.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseUefiDecompressLib\BaseUefiDecompressLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiDxeDebugLibReportStatusCode\PeiDxeDebugLibReportStatusCode.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiDxePostCodeLibReportStatusCode\PeiDxePostCodeLibReportStatusCode.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesTablePointerLibMm7\PeiServicesTablePointerLibMm7.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesTablePointerLib\PeiServicesTablePointerLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiMemoryAllocationLib\PeiMemoryAllocationLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesLib\PeiServicesLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiHobLib\PeiHobLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiReportStatusCodeLib\PeiReportStatusCodeLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiResourcePublicationLib\PeiResourcePublicationLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiSmbusLib\PeiSmbusLib.inf
|
54
EdkCompatibilityPkg/Sample/Platform/EdkIIGlueLibAll.dsc
Normal file
54
EdkCompatibilityPkg/Sample/Platform/EdkIIGlueLibAll.dsc
Normal file
@@ -0,0 +1,54 @@
|
||||
#/*++
|
||||
# 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.
|
||||
#--*/
|
||||
#
|
||||
# EdkII Glue Library
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseLib\BaseLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseMemoryLib\BaseMemoryLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePrintLib\BasePrintLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseDebugLibNull\BaseDebugLibNull.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseIoLibIntrinsic\BaseIoLibIntrinsic.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\UefiBootServicesTableLib\UefiBootServicesTableLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeIoLibCpuIo\DxeIoLibCpuIo.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePostCodeLibPort80\BasePostCodeLibPort80.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePostCodeLibDebug\BasePostCodeLibDebug.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseCacheMaintenanceLib\BaseCacheMaintenanceLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciCf8Lib\BasePciCf8Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciExpressLib\BasePciExpressLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciLibCf8\BasePciLibCf8.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePciLibPciExpress\BasePciLibPciExpress.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePeCoffGetEntryPointLib\BasePeCoffGetEntryPointLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BasePeCoffLib\BasePeCoffLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseTimerLibLocalApic\BaseTimerLibLocalApic.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\BaseUefiDecompressLib\BaseUefiDecompressLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiDxeDebugLibReportStatusCode\PeiDxeDebugLibReportStatusCode.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiDxePostCodeLibReportStatusCode\PeiDxePostCodeLibReportStatusCode.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeMemoryAllocationLib\DxeMemoryAllocationLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\UefiLib\UefiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeHobLib\DxeHobLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\UefiRuntimeServicesTableLib\UefiRuntimeServicesTableLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeReportStatusCodeLib\DxeReportStatusCodeLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\HiiLib\HiiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesTablePointerLibMm7\PeiServicesTablePointerLibMm7.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesTablePointerLibKr1\PeiServicesTablePointerLibKr1.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesTablePointerLib\PeiServicesTablePointerLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiMemoryAllocationLib\PeiMemoryAllocationLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiServicesLib\PeiServicesLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiHobLib\PeiHobLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiReportStatusCodeLib\PeiReportStatusCodeLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiResourcePublicationLib\PeiResourcePublicationLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\UefiDevicePathLib\UefiDevicePathLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\UefiDriverModelLib\UefiDriverModelLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeServicesTableLib\DxeServicesTableLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\EdkDxeSalLib\EdkDxeSalLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\EdkDxeRuntimeDriverLib\EdkDxeRuntimeDriverLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\DxeSmbusLib\DxeSmbusLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EdkIIGlueLib\Library\PeiSmbusLib\PeiSmbusLib.inf
|
36
EdkCompatibilityPkg/Sample/Platform/EdkLib32.dsc
Normal file
36
EdkCompatibilityPkg/Sample/Platform/EdkLib32.dsc
Normal file
@@ -0,0 +1,36 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2004 - 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.
|
||||
#
|
||||
#--*/
|
||||
#
|
||||
# EDK Common Library for PEI usage (32bit)
|
||||
#
|
||||
|
||||
#
|
||||
# Libraries common to PEI and DXE
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Efi\Guid\EfiGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Framework\Guid\EdkFrameworkGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Guid\EdkGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EfiCommonLib\EfiCommonLib.inf
|
||||
$(EDK_PREFIX)Foundation\Cpu\Pentium\CpuIA32Lib\CpuIA32Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Cpu\Itanium\CpuIA64Lib\CpuIA64Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\CustomizedDecompress\CustomizedDecompress.inf
|
||||
$(EDK_PREFIX)Foundation\Library\CompilerStub\CompilerStubLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\Hob\HobLib.inf
|
||||
|
||||
#
|
||||
# PEI libraries
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Framework\Ppi\EdkFrameworkPpiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Ppi\EdkPpiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Pei\PeiLib\PeiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Pei\Hob\PeiHobLib.inf
|
63
EdkCompatibilityPkg/Sample/Platform/EdkLibAll.dsc
Normal file
63
EdkCompatibilityPkg/Sample/Platform/EdkLibAll.dsc
Normal file
@@ -0,0 +1,63 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2004 - 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.
|
||||
#
|
||||
#--*/
|
||||
#
|
||||
# EDK Common Library
|
||||
#
|
||||
|
||||
#
|
||||
# Libraries common to PEI and DXE
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Efi\Guid\EfiGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Framework\Guid\EdkFrameworkGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Guid\EdkGuidLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\EfiCommonLib\EfiCommonLib.inf
|
||||
$(EDK_PREFIX)Foundation\Cpu\Pentium\CpuIA32Lib\CpuIA32Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Cpu\Itanium\CpuIA64Lib\CpuIA64Lib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\CustomizedDecompress\CustomizedDecompress.inf
|
||||
$(EDK_PREFIX)Foundation\Library\CompilerStub\CompilerStubLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\Hob\HobLib.inf
|
||||
|
||||
#
|
||||
# PEI libraries
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Framework\Ppi\EdkFrameworkPpiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Ppi\EdkPpiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Pei\PeiLib\PeiLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Pei\Hob\PeiHobLib.inf
|
||||
|
||||
#
|
||||
# DXE libraries
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Core\Dxe\ArchProtocol\ArchProtocolLib.inf
|
||||
$(EDK_PREFIX)Foundation\Efi\Protocol\EfiProtocolLib.inf
|
||||
$(EDK_PREFIX)Foundation\Framework\Protocol\EdkFrameworkProtocolLib.inf
|
||||
$(EDK_PREFIX)Foundation\Protocol\EdkProtocolLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\EfiDriverLib\EfiDriverLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\RuntimeDxe\EfiRuntimeLib\EfiRuntimeLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\Graphics\Graphics.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\EfiIfrSupportLib\EfiIfrSupportLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\Print\PrintLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\EfiScriptLib\EfiScriptLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\EfiUiLib\EfiUiLib.inf
|
||||
|
||||
#
|
||||
# Print/Graphics Library consume SetupBrowser Print Protocol
|
||||
#
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\PrintLite\PrintLib.inf
|
||||
$(EDK_PREFIX)Foundation\Library\Dxe\GraphicsLite\Graphics.inf
|
||||
|
||||
#
|
||||
# Module Libraries
|
||||
#
|
||||
$(EDK_PREFIX)Sample\Platform\Generic\Dxe\GenericBds\GenericBds.inf
|
||||
$(EDK_PREFIX)Sample\Bus\Usb\UsbLib\Dxe\UsbDxeLib.inf
|
@@ -0,0 +1,46 @@
|
||||
#/*++
|
||||
#
|
||||
# Copyright (c) 2004, 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:
|
||||
#
|
||||
# EdkNt32ProtocolLib.inf
|
||||
#
|
||||
# Abstract:
|
||||
#
|
||||
# Component description file.
|
||||
#
|
||||
#--*/
|
||||
|
||||
[defines]
|
||||
BASE_NAME= EdkNt32ProtocolLib
|
||||
COMPONENT_TYPE= LIBRARY
|
||||
|
||||
[includes.common]
|
||||
$(EDK_SOURCE)\Sample\Platform\Nt32
|
||||
$(EDK_SOURCE)\Foundation\Efi
|
||||
$(EDK_SOURCE)\Foundation\Include
|
||||
$(EDK_SOURCE)\Foundation\Efi\Include
|
||||
$(EDK_SOURCE)\Foundation\Framework\Include
|
||||
$(EDK_SOURCE)\Foundation\Include\IndustryStandard
|
||||
$(EDK_SOURCE)\Foundation\Include\Pei
|
||||
$(EDK_SOURCE)\Foundation\Library\Pei\Include
|
||||
$(EDK_SOURCE)\Foundation\Core\Dxe
|
||||
$(EDK_SOURCE)\Foundation\Library\Dxe\Include
|
||||
$(EDK_SOURCE)\Sample\Include
|
||||
|
||||
[nmake.common]
|
||||
C_STD_INCLUDE=
|
||||
|
||||
[sources.common]
|
||||
WinNtIo\WinNtIo.h
|
||||
WinNtIo\WinNtIo.c
|
||||
WinNtThunk\WinNtThunk.h
|
||||
WinNtThunk\WinNtThunk.c
|
@@ -0,0 +1,40 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004 - 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:
|
||||
|
||||
WinNtIo.c
|
||||
|
||||
Abstract:
|
||||
|
||||
This protocol allows an EFI driver (DLL) in the NT emulation envirnment
|
||||
to make Win32 API calls.
|
||||
|
||||
--*/
|
||||
|
||||
#include "EfiWinNt.h"
|
||||
#include EFI_PROTOCOL_DEFINITION (WinNtIo)
|
||||
|
||||
EFI_GUID gEfiWinNtIoProtocolGuid = EFI_WIN_NT_IO_PROTOCOL_GUID;
|
||||
|
||||
EFI_GUID_STRING(&gEfiWinNtIoProtocolGuid, "EFI Win NT I/O Protocol", "Win32 API I/O protocol");
|
||||
|
||||
EFI_GUID gEfiWinNtVirtualDisksGuid = EFI_WIN_NT_VIRTUAL_DISKS_GUID;
|
||||
EFI_GUID gEfiWinNtPhysicalDisksGuid = EFI_WIN_NT_PHYSICAL_DISKS_GUID;
|
||||
EFI_GUID gEfiWinNtFileSystemGuid = EFI_WIN_NT_FILE_SYSTEM_GUID;
|
||||
EFI_GUID gEfiWinNtSerialPortGuid = EFI_WIN_NT_SERIAL_PORT_GUID;
|
||||
EFI_GUID gEfiWinNtUgaGuid = EFI_WIN_NT_UGA_GUID;
|
||||
EFI_GUID gEfiWinNtGopGuid = EFI_WIN_NT_GOP_GUID;
|
||||
EFI_GUID gEfiWinNtConsoleGuid = EFI_WIN_NT_CONSOLE_GUID;
|
||||
EFI_GUID gEfiWinNtMemoryGuid = EFI_WIN_NT_MEMORY_GUID;
|
||||
EFI_GUID gEfiWinNtCPUModelGuid = EFI_WIN_NT_CPU_MODEL_GUID;
|
||||
EFI_GUID gEfiWinNtCPUSpeedGuid = EFI_WIN_NT_CPU_SPEED_GUID;
|
||||
EFI_GUID gEfiWinNtPassThroughGuid = EFI_WIN_NT_PASS_THROUGH_GUID;
|
@@ -0,0 +1,163 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004 - 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:
|
||||
|
||||
WinNtIo.h
|
||||
|
||||
Abstract:
|
||||
|
||||
--*/
|
||||
|
||||
#ifndef _WIN_NT_IO_H_
|
||||
#define _WIN_NT_IO_H_
|
||||
|
||||
#define EFI_WIN_NT_IO_PROTOCOL_GUID \
|
||||
{ \
|
||||
0x96eb4ad6, 0xa32a, 0x11d4, 0xbc, 0xfd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
//
|
||||
// The following APIs require EfiWinNT.h. In some environmnets the GUID
|
||||
// definitions are needed but the EfiWinNT.h is not included.
|
||||
// EfiWinNT.h is needed to support WINDOWS API requirements.
|
||||
//
|
||||
#ifdef _EFI_WIN_NT_H_
|
||||
|
||||
#include EFI_PROTOCOL_DEFINITION (WinNtThunk)
|
||||
|
||||
typedef struct {
|
||||
EFI_WIN_NT_THUNK_PROTOCOL *WinNtThunk;
|
||||
EFI_GUID *TypeGuid;
|
||||
CHAR16 *EnvString;
|
||||
UINT16 InstanceNumber;
|
||||
} EFI_WIN_NT_IO_PROTOCOL;
|
||||
|
||||
#endif
|
||||
|
||||
extern EFI_GUID gEfiWinNtIoProtocolGuid;
|
||||
|
||||
//
|
||||
// The following GUIDs are used in EFI_WIN_NT_IO_PROTOCOL_GUID
|
||||
// Device paths. They map 1:1 with NT envirnment variables. The variables
|
||||
// define what virtual hardware the emulator/WinNtBusDriver will produce.
|
||||
//
|
||||
//
|
||||
// EFI_WIN_NT_VIRTUAL_DISKS
|
||||
//
|
||||
#define EFI_WIN_NT_VIRTUAL_DISKS_GUID \
|
||||
{ \
|
||||
0xc95a928, 0xa006, 0x11d4, 0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtVirtualDisksGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_PHYSICAL_DISKS
|
||||
//
|
||||
#define EFI_WIN_NT_PHYSICAL_DISKS_GUID \
|
||||
{ \
|
||||
0xc95a92f, 0xa006, 0x11d4, 0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtPhysicalDisksGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_FILE_SYSTEM
|
||||
//
|
||||
#define EFI_WIN_NT_FILE_SYSTEM_GUID \
|
||||
{ \
|
||||
0xc95a935, 0xa006, 0x11d4, 0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtFileSystemGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_SERIAL_PORT
|
||||
//
|
||||
#define EFI_WIN_NT_SERIAL_PORT_GUID \
|
||||
{ \
|
||||
0xc95a93d, 0xa006, 0x11d4, 0xbc, 0xfa, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtSerialPortGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_UGA
|
||||
//
|
||||
#define EFI_WIN_NT_UGA_GUID \
|
||||
{ \
|
||||
0xab248e99, 0xabe1, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtUgaGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_GOP
|
||||
//
|
||||
#define EFI_WIN_NT_GOP_GUID \
|
||||
{ \
|
||||
0x4e11e955, 0xccca, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtGopGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_CONSOLE
|
||||
//
|
||||
#define EFI_WIN_NT_CONSOLE_GUID \
|
||||
{ \
|
||||
0xba73672c, 0xa5d3, 0x11d4, 0xbd, 0x0, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtConsoleGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_MEMORY
|
||||
//
|
||||
#define EFI_WIN_NT_MEMORY_GUID \
|
||||
{ \
|
||||
0x99042912, 0x122a, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtMemoryGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_CPU_MODEL
|
||||
//
|
||||
#define EFI_WIN_NT_CPU_MODEL_GUID \
|
||||
{ \
|
||||
0xbee9b6ce, 0x2f8a, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtCPUModelGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_CPU_SPEED
|
||||
//
|
||||
#define EFI_WIN_NT_CPU_SPEED_GUID \
|
||||
{ \
|
||||
0xd4f29055, 0xe1fb, 0x11d4, 0xbd, 0xd, 0x0, 0x80, 0xc7, 0x3c, 0x88, 0x81 \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtCPUSpeedGuid;
|
||||
|
||||
//
|
||||
// EFI_WIN_NT_PASS_THROUGH
|
||||
//
|
||||
#define EFI_WIN_NT_PASS_THROUGH_GUID \
|
||||
{ \
|
||||
0xcc664eb8, 0x3c24, 0x4086, 0xb6, 0xf6, 0x34, 0xe8, 0x56, 0xbc, 0xe3, 0x6e \
|
||||
}
|
||||
|
||||
extern EFI_GUID gEfiWinNtPassThroughGuid;
|
||||
|
||||
#endif
|
@@ -0,0 +1,28 @@
|
||||
/*++
|
||||
|
||||
Copyright (c) 2004, 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:
|
||||
|
||||
WinNtThunk.c
|
||||
|
||||
Abstract:
|
||||
|
||||
This protocol allows an EFI driver (DLL) in the NT emulation envirnment
|
||||
to make Win32 API calls.
|
||||
|
||||
--*/
|
||||
|
||||
#include "Tiano.h"
|
||||
#include EFI_PROTOCOL_DEFINITION (WinNtThunk)
|
||||
|
||||
EFI_GUID gEfiWinNtThunkProtocolGuid = EFI_WIN_NT_THUNK_PROTOCOL_GUID;
|
||||
|
||||
EFI_GUID_STRING(&gEfiWinNtThunkProtocolGuid, "EFI Win NT Thunk", "Win32 API thunk protocol");
|
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user