From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=217.140.101.70; helo=foss.arm.com; envelope-from=sakar.arora@arm.com; receiver=edk2-devel@lists.01.org Received: from foss.arm.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by ml01.01.org (Postfix) with ESMTP id 7E51221188C38 for ; Tue, 6 Nov 2018 00:48:16 -0800 (PST) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 25F6A15AB; Tue, 6 Nov 2018 00:48:16 -0800 (PST) Received: from u201365.usa.Arm.com (a75592.asiapac.arm.com [10.162.22.94]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C80E13F5BD; Tue, 6 Nov 2018 00:48:14 -0800 (PST) From: Sakar Arora To: edk2-devel@lists.01.org Cc: Supreeth.Venkatesh@arm.com, prasanth.pulla@arm.com Date: Tue, 6 Nov 2018 14:17:36 +0530 Message-Id: <1541494066-16288-2-git-send-email-sakar.arora@arm.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1541494066-16288-1-git-send-email-sakar.arora@arm.com> References: <1541494066-16288-1-git-send-email-sakar.arora@arm.com> Subject: [edk2-test][RFC PATCH 02/12] uefi-sct/SctPkg: sbbr: Add boot services test cases for SBBR v1.0 X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 X-List-Received-Date: Tue, 06 Nov 2018 08:48:16 -0000 1. Implements boot services tests defined in Appendix A of http://infocenter.arm.com/help/topic/com.arm.doc.den0044b/DEN0044B_Server_Base_Boot_Requirements.pdf 2. Fixes whitespace issues in SctPkg/CommonGenFramework.sh file. Change-Id: Idc7b6e471a4c4966d4ad55f39ea045775854c206 Signed-off-by: Sakar Arora --- uefi-sct/SctPkg/CommonGenFramework.sh | 12 +- uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc | 457 +++++++++++++++++++--------------- 2 files changed, 261 insertions(+), 208 deletions(-) diff --git a/uefi-sct/SctPkg/CommonGenFramework.sh b/uefi-sct/SctPkg/CommonGenFramework.sh index 4bb68ce..e0f9658 100755 --- a/uefi-sct/SctPkg/CommonGenFramework.sh +++ b/uefi-sct/SctPkg/CommonGenFramework.sh @@ -89,7 +89,7 @@ CopyDependencyFile() CopyDependency() { - mkdir -p $Framework/Dependency/$1BBTest + mkdir -p $Framework/Dependency/$1BBTest ls -h $ProcessorType/$1_Invalid* > temp.txt 2>NUL ls -h $ProcessorType/$1_*.efi >> temp.txt 2>NUL ls -h $ProcessorType/$1_*.ini >> temp.txt 2>NUL @@ -107,8 +107,8 @@ CopyDependency() # For UEFI SCT # ********************************************* -if [ $1 = "uefi_sct" ] -then +if [ $1 = "uefi_sct" ] +then # ********************************************* # Copy the UEFI 2.1 Test Cases # ********************************************* @@ -354,6 +354,12 @@ then # Copy your test cases here # ********************************************* + # Boot Services Tests - SBBR v1.0 Appendix A + cp $ProcessorType/EventTimerTaskPriorityServicesBBTest.efi $Framework/Test/ > NUL + cp $ProcessorType/ImageServicesBBTest.efi $Framework/Test/ > NUL + cp $ProcessorType/MemoryAllocationServicesBBTest.efi $Framework/Test/ > NUL + cp $ProcessorType/MiscBootServicesBBTest.efi $Framework/Test/ > NUL + cp $ProcessorType/ProtocolHandlerServicesBBTest.efi $Framework/Test/ > NUL # ********************************************* # Copy ENTS binary diff --git a/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc b/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc index ff6abd9..7b5b4b0 100644 --- a/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc +++ b/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc @@ -1,205 +1,252 @@ -# -# The material contained herein is not a license, either -# expressly or impliedly, to any intellectual property owned -# or controlled by any of the authors or developers of this -# material or to any contribution thereto. The material -# contained herein is provided on an "AS IS" basis and, to the -# maximum extent permitted by applicable law, this information -# is provided AS IS AND WITH ALL FAULTS, and the authors and -# developers of this material hereby disclaim all other -# warranties and conditions, either express, implied or -# statutory, including, but not limited to, any (if any) -# implied warranties, duties or conditions of merchantability, -# of fitness for a particular purpose, of accuracy or -# completeness of responses, of results, of workmanlike -# effort, of lack of viruses and of lack of negligence, all -# with regard to this material and any contribution thereto. -# Designers must not rely on the absence or characteristics of -# any features or instructions marked "reserved" or -# "undefined." The Unified EFI Forum, Inc. reserves any -# features or instructions so marked for future definition and -# shall have no responsibility whatsoever for conflicts or -# incompatibilities arising from future changes to them. ALSO, -# THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, -# QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR -# NON-INFRINGEMENT WITH REGARD TO THE TEST SUITE AND ANY -# CONTRIBUTION THERETO. -# -# IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR -# ANY CONTRIBUTION THERETO BE LIABLE TO ANY OTHER PARTY FOR -# THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST -# PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, -# CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER -# UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY -# WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS -# DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF -# THE POSSIBILITY OF SUCH DAMAGES. -# -# Copyright 2006 - 2016 Unified EFI, Inc. All -# Rights Reserved, subject to all existing rights in all -# matters included within this Test Suite, to which United -# EFI, Inc. makes no claim of right. -# -# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
-# -# -#/*++ -# -# Module Name: -# -# SBBR_SCT.dsc -# -# Abstract: -# -# This is a build description file used to build the test modules of SBBR SCT. -# -# 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. -# -#--*/ - -################################################################################ -# -# Defines Section - statements that will be processed to create a Makefile. -# -################################################################################ -[Defines] - PLATFORM_NAME = SbbrSct - PLATFORM_GUID = d513138b-9d4a-479c-8058-4a5160018663 - PLATFORM_VERSION = 0.1 - DSC_SPECIFICATION = 0x00010005 - OUTPUT_DIRECTORY = Build/SbbrSct - SUPPORTED_ARCHITECTURES = AARCH64 - BUILD_TARGETS = DEBUG|RELEASE - SKUID_IDENTIFIER = DEFAULT - - DEFINE GCC_VER_MACRO = -D EFI_SPECIFICATION_VERSION=0x00020028 -D TIANO_RELEASE_VERSION=0x00080006 - DEFINE MSFT_VER_MACRO = /D EFI_SPECIFICATION_VERSION=0x00020028 /D TIANO_RELEASE_VERSION=0x00080006 - - -################################################################################ -# -# SKU Identification section - list of all SKU IDs supported by this -# Platform. -# -################################################################################ -[SkuIds] - 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required. - -[BuildOptions] - *_*_AARCH64_CC_FLAGS = -D EFIAARCH64 -I$(WORKSPACE)/MdePkg/Include/AArch64 $(GCC_VER_MACRO) - GCC:*_*_AARCH64_CC_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) -ffreestanding -nostdinc -nostdlib -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error - *_*_AARCH64_VFRPP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) - *_*_AARCH64_APP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) - *_*_AARCH64_PP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) - RVCT:*_*_AARCH64_DLINK_FLAGS = --muldefweak - - DEBUG_*_*_CC_FLAGS = -DEFI_DEBUG - RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG - -[Libraries] - SctPkg/Library/SctLib/SctLib.inf - SctPkg/Library/SctGuidLib/SctGuidLib.inf - SctPkg/Library/EfiTestLib/EfiTestLib.inf - - SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/EntsLib.inf - - MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf - -[Libraries.ARM] - ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf - -[Libraries.AARCH64] - ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf - -[LibraryClasses.common] - UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf - UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf - UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf - BaseLib|MdePkg/Library/BaseLib/BaseLib.inf - BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf - DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf - PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf - MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf - UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf - UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf - HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf - PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf - UefiLib|MdePkg/Library/UefiLib/UefiLib.inf - DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf - - SctLib|SctPkg/Library/SctLib/SctLib.inf - NetLib|SctPkg/Library/NetLib/NetLib.inf - EntsLib|SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/EntsLib.inf - EasLib|SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasDispatcher/Eas.inf - EfiTestLib|SctPkg/Library/EfiTestLib/EfiTestLib.inf - -[LibraryClasses.ARM] - NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf - -[LibraryClasses.AARCH64] - NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf - -############################################################################### -# -# These are the components that will be built by the master makefile -# -############################################################################### - -[Components] - -# -# The default package -# -DEFINE PACKAGE=Default - -# -# Components -# - -# -# Following are the SCT suite & related drivers -# - -SctPkg/TestInfrastructure/SCT/Framework/Sct.inf -SctPkg/TestInfrastructure/SCT/Drivers/StandardTest/StandardTest.inf -SctPkg/TestInfrastructure/SCT/Drivers/TestProfile/TestProfile.inf -SctPkg/TestInfrastructure/SCT/Drivers/TestRecovery/TestRecovery.inf -SctPkg/TestInfrastructure/SCT/Drivers/TestLogging/TestLogging.inf - -# -# Related SCT applications -# - -SctPkg/Application/InstallSct/InstallSct.inf -SctPkg/Application/StallForKey/StallForKey.inf - -SctPkg/SCRT/SCRTApp/SCRTApp.inf -SctPkg/SCRT/SCRTDriver/SCRTDriver.inf - -# -# Test cases for SBBR SCT -# - -# Add Your test cases here: - -# Runtime Services Tests -#SctPkg/TestCase/UEFI/EFI/RuntimeServices/MiscRuntimeServices/BlackBoxTest/MiscRuntimeServicesBBTest.inf -#SctPkg/TestCase/UEFI/EFI/RuntimeServices/TimeServices/BlackBoxTest/TimeServicesBBTest.inf -#SctPkg/TestCase/UEFI/EFI/RuntimeServices/VariableServices/BlackBoxTest/VariableServicesBBTest.inf - -# -# Dependency files -# - -# -# Support Files -# -SctPkg/TestInfrastructure/SCT/Framework/ENTS/Eftp/Eftp.inf -SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/SerialMonitor/SerialMonitor.inf -SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/ManagedNetworkMonitor/ManagedNetworkMonitor.inf -SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/IP4NetworkMonitor/IP4NetworkMonitor.inf - +# +# The material contained herein is not a license, either +# expressly or impliedly, to any intellectual property owned +# or controlled by any of the authors or developers of this +# material or to any contribution thereto. The material +# contained herein is provided on an "AS IS" basis and, to the +# maximum extent permitted by applicable law, this information +# is provided AS IS AND WITH ALL FAULTS, and the authors and +# developers of this material hereby disclaim all other +# warranties and conditions, either express, implied or +# statutory, including, but not limited to, any (if any) +# implied warranties, duties or conditions of merchantability, +# of fitness for a particular purpose, of accuracy or +# completeness of responses, of results, of workmanlike +# effort, of lack of viruses and of lack of negligence, all +# with regard to this material and any contribution thereto. +# Designers must not rely on the absence or characteristics of +# any features or instructions marked "reserved" or +# "undefined." The Unified EFI Forum, Inc. reserves any +# features or instructions so marked for future definition and +# shall have no responsibility whatsoever for conflicts or +# incompatibilities arising from future changes to them. ALSO, +# THERE IS NO WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, +# QUIET POSSESSION, CORRESPONDENCE TO DESCRIPTION OR +# NON-INFRINGEMENT WITH REGARD TO THE TEST SUITE AND ANY +# CONTRIBUTION THERETO. +# +# IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR +# ANY CONTRIBUTION THERETO BE LIABLE TO ANY OTHER PARTY FOR +# THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST +# PROFITS, LOSS OF USE, LOSS OF DATA, OR ANY INCIDENTAL, +# CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES WHETHER +# UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY +# WAY OUT OF THIS OR ANY OTHER AGREEMENT RELATING TO THIS +# DOCUMENT, WHETHER OR NOT SUCH PARTY HAD ADVANCE NOTICE OF +# THE POSSIBILITY OF SUCH DAMAGES. +# +# Copyright 2006 - 2016 Unified EFI, Inc. All +# Rights Reserved, subject to all existing rights in all +# matters included within this Test Suite, to which United +# EFI, Inc. makes no claim of right. +# +# Copyright (c) 2010 - 2016, Intel Corporation. All rights reserved.
+# +# +#/*++ +# +# Module Name: +# +# SBBR_SCT.dsc +# +# Abstract: +# +# This is a build description file used to build the test modules of SBBR SCT. +# +# 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. +# +#--*/ + +################################################################################ +# +# Defines Section - statements that will be processed to create a Makefile. +# +################################################################################ +[Defines] + PLATFORM_NAME = SbbrSct + PLATFORM_GUID = d513138b-9d4a-479c-8058-4a5160018663 + PLATFORM_VERSION = 0.1 + DSC_SPECIFICATION = 0x00010005 + OUTPUT_DIRECTORY = Build/SbbrSct + SUPPORTED_ARCHITECTURES = AARCH64 + BUILD_TARGETS = DEBUG|RELEASE + SKUID_IDENTIFIER = DEFAULT + + DEFINE GCC_VER_MACRO = -D EFI_SPECIFICATION_VERSION=0x00020028 -D TIANO_RELEASE_VERSION=0x00080006 + DEFINE MSFT_VER_MACRO = /D EFI_SPECIFICATION_VERSION=0x00020028 /D TIANO_RELEASE_VERSION=0x00080006 + + +################################################################################ +# +# SKU Identification section - list of all SKU IDs supported by this +# Platform. +# +################################################################################ +[SkuIds] + 0|DEFAULT # The entry: 0|DEFAULT is reserved and always required. + +[BuildOptions] + *_*_AARCH64_CC_FLAGS = -D EFIAARCH64 -I$(WORKSPACE)/MdePkg/Include/AArch64 $(GCC_VER_MACRO) + GCC:*_*_AARCH64_CC_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) -ffreestanding -nostdinc -nostdlib -Wno-error=unused-function -Wno-error=unused-but-set-variable -Wno-error + *_*_AARCH64_VFRPP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) + *_*_AARCH64_APP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) + *_*_AARCH64_PP_FLAGS = -D EFIAARCH64 $(GCC_VER_MACRO) + RVCT:*_*_AARCH64_DLINK_FLAGS = --muldefweak + + DEBUG_*_*_CC_FLAGS = -DEFI_DEBUG + RELEASE_*_*_CC_FLAGS = -DMDEPKG_NDEBUG + +[Libraries] + SctPkg/Library/SctLib/SctLib.inf + SctPkg/Library/SctGuidLib/SctGuidLib.inf + SctPkg/Library/EfiTestLib/EfiTestLib.inf + + SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/EntsLib.inf + + MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + +[Libraries.ARM] + ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + +[Libraries.AARCH64] + ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + +[LibraryClasses.common] + UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf + UefiDriverEntryPoint|MdePkg/Library/UefiDriverEntryPoint/UefiDriverEntryPoint.inf + UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf + BaseLib|MdePkg/Library/BaseLib/BaseLib.inf + BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf + DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf + PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf + MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf + UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf + UefiHiiServicesLib|MdeModulePkg/Library/UefiHiiServicesLib/UefiHiiServicesLib.inf + HiiLib|MdeModulePkg/Library/UefiHiiLib/UefiHiiLib.inf + PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf + UefiLib|MdePkg/Library/UefiLib/UefiLib.inf + DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLib.inf + + SctLib|SctPkg/Library/SctLib/SctLib.inf + NetLib|SctPkg/Library/NetLib/NetLib.inf + EntsLib|SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasLib/EntsLib.inf + EasLib|SctPkg/TestInfrastructure/SCT/Framework/ENTS/EasDispatcher/Eas.inf + EfiTestLib|SctPkg/Library/EfiTestLib/EfiTestLib.inf + +[LibraryClasses.ARM] + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + +[LibraryClasses.AARCH64] + NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf + +############################################################################### +# +# These are the components that will be built by the master makefile +# +############################################################################### + +[Components] + +# +# The default package +# +DEFINE PACKAGE=Default + +# +# Components +# + +# +# Following are the SCT suite & related drivers +# + +SctPkg/TestInfrastructure/SCT/Framework/Sct.inf +SctPkg/TestInfrastructure/SCT/Drivers/StandardTest/StandardTest.inf +SctPkg/TestInfrastructure/SCT/Drivers/TestProfile/TestProfile.inf +SctPkg/TestInfrastructure/SCT/Drivers/TestRecovery/TestRecovery.inf +SctPkg/TestInfrastructure/SCT/Drivers/TestLogging/TestLogging.inf + +# +# Related SCT applications +# + +SctPkg/Application/InstallSct/InstallSct.inf +SctPkg/Application/StallForKey/StallForKey.inf + +SctPkg/SCRT/SCRTApp/SCRTApp.inf +SctPkg/SCRT/SCRTDriver/SCRTDriver.inf + +# +# Test cases for SBBR SCT +# + +# Boot Services Tests - SBBR v1.0 Appendix A +# +## 1. EFI_RAISE_TPL +## 2. EFI_RESTORE_TPL +## 3. EFI_CREATE_EVENT +## 4. EFI_SET_TIMER +## 5. EFI_WAIT_FOR_EVENT +## 6. EFI_SIGNAL_EVENT +## 7. EFI_CLOSE_EVENT +## 8. EFI_CREATE_EVENT_EX +SctPkg/TestCase/UEFI/EFI/BootServices/EventTimerTaskPriorityServices/BlackBoxTest/EventTimerTaskPriorityServicesBBTest_uefi.inf +# +## 9. EFI_IMAGE_LOAD +## 10. EFI_IMAGE_START +## 11. EFI_EXIT +## 12. EFI_IMAGE_UNLOAD +## 13. EFI_EXIT_BOOT_SERVICES +SctPkg/TestCase/UEFI/EFI/BootServices/ImageServices/BlackBoxTest/ImageBBTest.inf +# +## 14. EFI_ALLOCATE_PAGES +## 15. EFI_FREE_PAGES +## 16. EFI_GET_MEMORY_MAP +## 17. EFI_ALLOCATE_POOL +## 18. EFI_FREE_POOL +SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackBoxTest/MemoryAllocationServicesBBTest.inf +# +## 19. EFI_INSTALL_CONFIGURATION_TABLE +## 20. EFI_GET_NEXT_MONOTONIC_COUNT +## 21. EFI_STALL +## 22. EFI_SET_WATCHDOG_TIMER +## 23. EFI_CALCULATE_CRC32 +## 24. EFI_COPY_MEM +## 25. EFI_SET_MEM +SctPkg/TestCase/UEFI/EFI/BootServices/MiscBootServices/BlackBoxTest/MiscBootServicesBBTest.inf +# +## 26. EFI_INSTALL_PROTOCOL_INTERFACE +## 27. EFI_REINSTALL_PROTOCOL_INTERFACE +## 28. EFI_UNINSTALL_PROTOCOL_INTERFACE +## 29. EFI_HANDLE_PROTOCOL +## 30. EFI_REGISTER_PROTOCOL_NOTIFY +## 31. EFI_LOCATE_HANDLE +## 32. EFI_LOCATE_PROTOCOL +## 33. EFI_LOCATE_DEVICE_PATH +## 34. EFI_CONNECT_CONTROLLER +## 35. EFI_DISCONNECT_CONTROLLER +## 36. EFI_OPEN_PROTOCOL +## 37. EFI_CLOSE_PROTOCOL +## 38. EFI_OPEN_PROTOCOL_INFORMATION +## 39. EFI_PROTOCOLS_PER_HANDLE +## 40. EFI_LOCATE_HANDLE_BUFFER +## 41. EFI_INSTALL_MULTIPLE_PROTOCOL_INTERFACES +## 42. EFI_UNINSTALL_MULTIPLE_PROTOCOL_INTERFACES +SctPkg/TestCase/UEFI/EFI/BootServices/ProtocolHandlerServices/BlackBoxTest/ProtocolHandlerBBTest.inf +# End of Boot Services Tests - SBBR v1.0 Appendix A + +# +# Dependency files +# + +# +# Support Files +# +SctPkg/TestInfrastructure/SCT/Framework/ENTS/Eftp/Eftp.inf +SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/SerialMonitor/SerialMonitor.inf +SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/ManagedNetworkMonitor/ManagedNetworkMonitor.inf +SctPkg/TestInfrastructure/SCT/Framework/ENTS/MonitorServices/IP4NetworkMonitor/IP4NetworkMonitor.inf -- 2.7.4