public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Leif Lindholm <leif.lindholm@linaro.org>
To: Sakar Arora <sakar.arora@arm.com>
Cc: edk2-devel@lists.01.org, prasanth.pulla@arm.com,
	Eric Jin <eric.jin@intel.com>,
	Supreeth Venkatesh <supreeth.venkatesh@arm.com>
Subject: Re: [edk2-test][RFC PATCH 08/12] uefi-sct/SctPkg: sbbr: UEFI Version Verification Test
Date: Tue, 6 Nov 2018 17:48:26 +0000	[thread overview]
Message-ID: <20181106174826.fiize3l6f2r2y7rp@bivouac.eciton.net> (raw)
In-Reply-To: <1541494066-16288-8-git-send-email-sakar.arora@arm.com>

On Tue, Nov 06, 2018 at 02:17:42PM +0530, Sakar Arora wrote:
> From: Randy Jones <randy.jones@arm.com>
> 
> Check if EFI Specification Version is 2.5 or greater.
> 
> Change-Id: I7a602e52ac833f18dc791ca992f55e1f1996bc60
> Signed-off-by: Randy Jones <randy.jones@arm.com>
> ---
>  uefi-sct/SctPkg/CommonGenFramework.sh              |   3 +
>  .../BlackBoxTest/EfiSpecVerLvlBBTest.inf           |  84 +++++
>  .../BlackBoxTest/EfiSpecVerLvlBBTestFunction.c     | 130 +++++++
>  .../BlackBoxTest/EfiSpecVerLvlBBTestFunction.h     |  71 ++++
>  .../BlackBoxTest/EfiSpecVerLvlBBTestMain.c         | 127 +++++++
>  .../BlackBoxTest/EfiSpecVerLvlBBTestMain.h         |  84 +++++
>  .../Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.c  |  61 ++++
>  .../Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.h  |  66 ++++
>  uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc                  | 402 +++++++++++----------
>  9 files changed, 829 insertions(+), 199 deletions(-)
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTest.inf
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.c
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.h
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.c
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.h
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.c
>  create mode 100644 uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.h
> 
> diff --git a/uefi-sct/SctPkg/CommonGenFramework.sh b/uefi-sct/SctPkg/CommonGenFramework.sh
> index ab35c5a..7058111 100755
> --- a/uefi-sct/SctPkg/CommonGenFramework.sh
> +++ b/uefi-sct/SctPkg/CommonGenFramework.sh
> @@ -367,6 +367,9 @@ then
>      # UEFI Boot Services - SBBR v1.0 3.4
>      cp $ProcessorType/SbbrBootServicesBBTest.efi               $Framework/Test/ > NUL
>  
> +    # Check if EFI Specification Version is 2.5 or greater
> +    cp $ProcessorType/EfiSpecVerLvlBBTest.efi                  $Framework/Test/ > NUL
> +
>      # Runtime Services Tests - SBBR v1.0 Appendix B
>      cp $ProcessorType/VariableServicesBBTest.efi               $Framework/Test/ > NUL
>      cp $ProcessorType/TimeServicesBBTest.efi                   $Framework/Test/ > NUL
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTest.inf b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTest.inf
> new file mode 100644
> index 0000000..daa4d44
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTest.inf
> @@ -0,0 +1,84 @@
> +#
> +# 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) 2016, ARM Ltd. All rights reserved.<BR>
> +#
> +#
> +#/*++
> +#
> +# Module Name:
> +#
> +#   EfiSpecVerLvlBBTest.inf
> +#
> +# Abstract:
> +#
> +#   Component description file for SBBR EFI Specification Version Level test.
> +#
> +#--*/
> +
> +[Defines]
> +  INF_VERSION          = 0x00010019
> +  BASE_NAME            = EfiSpecVerLvlBBTest
> +  FILE_GUID            = f865a18a-9b47-420d-97ae-676d8016a513
> +  MODULE_TYPE          = UEFI_DRIVER
> +  VERSION_STRING       = 1.0
> +  ENTRY_POINT          = InitializeBBTestEfiSpecVerLvl
> +
> +[Sources.common]
> +  EfiSpecVerLvlBBTestFunction.c
> +  EfiSpecVerLvlBBTestMain.c
> +  Guid.c
> +
> +[Packages]
> +  ArmPkg/ArmPkg.dec
> +  MdePkg/MdePkg.dec
> +  SctPkg/SctPkg.dec
> +  SctPkg/UEFI/UEFI.dec
> +
> +[LibraryClasses]
> +  ArmLib
> +  EfiTestLib
> +  SctLib
> +  UefiDriverEntryPoint
> +
> +[Protocols]
> +  gBlackBoxEfiBlockIoProtocolGuid
> \ No newline at end of file
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.c
> new file mode 100644
> index 0000000..3985b4a
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.c
> @@ -0,0 +1,130 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  EfiSpecVerLvlBBTestFunction.c
> +
> +Abstract:
> +
> +  Test case definitions for EfiSpecVerLvl test.
> +
> +--*/
> +
> +#include <Library/ArmLib.h>
> +
> +#include "EfiSpecVerLvlBBTestMain.h"
> +#include "Guid.h"
> +#include "SctLib.h"
> +#include "EfiSpecVerLvlBBTestFunction.h"
> +
> +/** Entrypoint for EFI Specification Version Level Test.
> + *
> + *  @param This a pointer of EFI_BB_TEST_PROTOCOL.
> + *  @param ClientInterface a pointer to the interface to be tested.
> + *  @param TestLevel test "thoroughness" control.
> + *  @param SupportHandle a handle containing protocols required.
> + *  @return EFI_SUCCESS Finish the test successfully.
> + */
> +
> +//
> +// SBBR 3.3.1
> +//
> +
> +EFI_STATUS
> +BBTestEfiSpecVerLvlTest (
> +  IN EFI_BB_TEST_PROTOCOL               *This,
> +  IN VOID                               *ClientInterface,
> +  IN EFI_TEST_LEVEL                     TestLevel,
> +  IN EFI_HANDLE                         SupportHandle
> +  )
> +{
> +
> +  EFI_STANDARD_TEST_LIBRARY_PROTOCOL    *StandardLib;
> +  EFI_STATUS                            Status;
> +  UINTN                                 CurHrRev;
> +
> +  // Get the Standard Library Interface
> +  Status = gtBS->HandleProtocol (
> +              SupportHandle,
> +              &gEfiStandardTestLibraryGuid,
> +              (VOID **) &StandardLib
> +              );
> +  if (EFI_ERROR (Status)) {
> +    return Status;
> +  }
> +
> +  CurHrRev = gtBS->Hdr.Revision; // Reading revision of the EFI Specification.
> +
> +  // Check if EFI Specification version is less than 2.5
> +  if (gtBS->Hdr.Revision < EFI_2_50_SYSTEM_TABLE_REVISION){
> +    StandardLib->RecordAssertion (
> +                StandardLib,
> +                EFI_TEST_ASSERTION_FAILED,
> +                gTestGenericFailureGuid,
> +                L"EFI Specification Version is below 2.5",
> +                L"%a:%d:Current EFI Header Rev=0x%X",
> +                __FILE__,
> +                __LINE__,
> +                CurHrRev
> +                );
> +    return EFI_INCOMPATIBLE_VERSION;
> +  } else {
> +    StandardLib->RecordAssertion (
> +                StandardLib,
> +                EFI_TEST_ASSERTION_PASSED,
> +                gEfiSpecVerLvlAssertion01Guid,
> +                L"TestEfiSpecVerLvl",
> +                L"%a:%d:Current EFI Header Rev=0x%X",
> +                __FILE__,
> +                __LINE__,
> +                CurHrRev
> +                );
> +
> +    return EFI_SUCCESS;
> +  }
> +}
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.h b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.h
> new file mode 100644
> index 0000000..0ea7aa7
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestFunction.h
> @@ -0,0 +1,71 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  EfiSpecVerLvlBBTestFunction.h
> +
> +Abstract:
> +
> +  Contains definitions and prototypes used in the test functions.
> +
> +--*/
> +
> +#ifndef _EFISPECVERLVL_BB_TEST_FUNCTION_H_
> +#define _EFISPECVERLVL_BB_TEST_FUNCTION_H_
> +
> +#include <Library/EfiTestLib.h>
> +
> +EFI_STATUS
> +BBTestEfiSpecVerLvlTest (
> +  IN EFI_BB_TEST_PROTOCOL       *This,
> +  IN VOID                       *ClientInterface,
> +  IN EFI_TEST_LEVEL             TestLevel,
> +  IN EFI_HANDLE                 SupportHandle
> +  );
> +
> +#endif /* _EFISPECVERLVL_BB_TEST_FUNCTION_H_ */
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.c
> new file mode 100644
> index 0000000..754644c
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.c
> @@ -0,0 +1,127 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  EfiSpecVerLvlBBTestMain.c
> +
> +Abstract:
> +
> +  Test driver for SBBR system environment configuration tests.
> +
> +--*/
> +
> +#include "SctLib.h"
> +#include "EfiSpecVerLvlBBTestFunction.h"
> +#include "EfiSpecVerLvlBBTestMain.h"
> +
> +EFI_BB_TEST_PROTOCOL_FIELD gBBTestProtocolField = {
> +  EFISPECVERLVL_TEST_REVISION,
> +  EFISPECVERLVL_TEST_GUID,
> +  L"SBBR UEFI Specification Version Level Test",
> +  L"Check the UEFI Specification Version Level to make sure it conforms to ARM SBBR."
> +};
> +
> +EFI_GUID gSupportProtocolGuid[2] = {
> +  EFI_STANDARD_TEST_LIBRARY_GUID,
> +  EFI_NULL_GUID
> +};
> +
> +EFI_BB_TEST_ENTRY_FIELD gBBTestEntryField[] = {
> +  {
> +    EFISPECVERLVL_GUID,
> +    L"TestEfiSpecVerLvl",
> +    L"Check the EFI Specification Version Level.",
> +    EFI_TEST_LEVEL_DEFAULT,
> +    gSupportProtocolGuid,
> +    EFI_TEST_CASE_AUTO,
> +    BBTestEfiSpecVerLvlTest
> +  },
> +  EFI_NULL_GUID
> +};
> +
> +EFI_BB_TEST_PROTOCOL *gBBTestProtocolInterface;
> +
> +/** The driver's Unload function.
> + *  @param  ImageHandle The test driver image handle
> + *  @return EFI_SUCCESS Indicates the interface was uninstalled
> +*/
> +EFI_STATUS
> +BBTestEfiSpecVerLvlUnload (
> +  IN EFI_HANDLE       ImageHandle
> +  )
> +{
> +  return EfiUninstallAndFreeBBTestInterface (
> +           ImageHandle,
> +           gBBTestProtocolInterface
> +           );
> +}
> +
> +/** Creates/installs the BlackBox Interface and emanating Entry Point node list.
> + *  @param  ImageHandle The test driver image handle
> + *  @param  SystemTable Pointer to System Table
> + *  @return EFI_SUCCESS Indicates the interface was installed
> + *  @return EFI_OUT_OF_RESOURCES Indicates space for the new handle could not be allocated
> + *  @return EFI_INVALID_PARAMETER One of the parameters has an invalid value.
> + */
> +EFI_STATUS
> +InitializeBBTestEfiSpecVerLvl (
> +  IN EFI_HANDLE           ImageHandle,
> +  IN EFI_SYSTEM_TABLE     *SystemTable
> +  )
> +{
> +
> +  EfiInitializeTestLib (ImageHandle, SystemTable);
> +
> +  return EfiInitAndInstallBBTestInterface (
> +           &ImageHandle,
> +           &gBBTestProtocolField,
> +           gBBTestEntryField,
> +           BBTestEfiSpecVerLvlUnload,
> +           &gBBTestProtocolInterface
> +           );
> +}
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.h b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.h
> new file mode 100644
> index 0000000..49fd7bb
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTestMain.h
> @@ -0,0 +1,84 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  EfiSpecVerLvlBBTestMain.h
> +
> +Abstract:
> +
> +  Contains definitions for test information and test GUIDs.
> +
> +--*/
> +
> +#ifndef _EFISPECVERLVL_TEST_MAIN_H_
> +#define _EFISPECVERLVL_TEST_MAIN_H_
> +
> +#include "Efi.h"
> +#include <Library/EfiTestLib.h>
> +
> +
> +#define EFISPECVERLVL_TEST_REVISION 0x00010000
> +
> +#define EFISPECVERLVL_TEST_GUID     \
> +  {0xd6e40d12, 0x7a51, 0x4454, {0xb4, 0xfd, 0x4c, 0x93, 0x88, 0x7e, 0xd6, 0xcf}}
> +
> +EFI_STATUS
> +InitializeBBTestEfiSpecVerLvl (
> +  IN EFI_HANDLE           ImageHandle,
> +  IN EFI_SYSTEM_TABLE     *SystemTable
> +  );
> +
> +//
> +// Entry GUIDs
> +//
> +
> +#define EFISPECVERLVL_GUID \
> +  {0x6e46b2e2, 0x2535, 0x4c8e, {0x82, 0x5a, 0x84, 0x5d, 0xc2, 0xbe, 0xed, 0xdf}}
> +
> +
> +#endif /* _EFISPECVERLVL_TEST_MAIN_H_ */
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.c
> new file mode 100644
> index 0000000..52c6d90
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.c
> @@ -0,0 +1,61 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  Guid.c
> +
> +Abstract:
> +
> +  GUID assignments for test progress assertions.
> +
> +--*/
> +
> +#include "Efi.h"
> +#include "Guid.h"
> +
> +EFI_GUID gEfiSpecVerLvlAssertion01Guid = EFISPECVERLVL_ASSERTION_001_GUID;
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.h b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.h
> new file mode 100644
> index 0000000..b554961
> --- /dev/null
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/Guid.h
> @@ -0,0 +1,66 @@
> +/*++
> +  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) 2016, ARM Ltd. All rights reserved.<BR>
> +
> +--*/
> +/*++
> +
> +Module Name:
> +
> +  Guid.h
> +
> +Abstract:
> +
> +  Definitions of GUIDs used for test progress assertions.
> +
> +--*/
> +
> +#ifndef _EFISPECVERSION_GUID_H_
> +#define _EFISPECVERSION_GUID_H_
> +
> +#define EFISPECVERLVL_ASSERTION_001_GUID \
> +{0x14932290, 0x563b, 0x4d20, {0x95, 0xa7, 0xee, 0xc0, 0x2d, 0xbb, 0x1b, 0x13}}
> +
> +extern EFI_GUID gEfiSpecVerLvlAssertion01Guid;
> +
> +#endif /* _EFISPECVERSION_GUID_H_ */
> diff --git a/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc b/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc
> index d3fafb6..931b8da 100644
> --- a/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc
> +++ b/uefi-sct/SctPkg/UEFI/SBBR_SCT.dsc

This patch causes tons of unrelated whitespace changes to a file
introduced by this set. Please rework, I can't tell if there are any
functional changes to this file.

/
    Leif

> @@ -1,190 +1,192 @@
> -#
> -# 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.<BR>
> -#
> -#
> -#/*++
> -#
> -# 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
> +#
> +# 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.<BR>
> +#
> +# Copyright (c) 2016, ARM Ltd. All rights reserved.<BR>
> +#
> +#
> +#/*++
> +#
> +# 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
>    ArmLib|ArmPkg/Library/ArmLib/AArch64/AArch64Lib.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
> -#
> -
> +
> +###############################################################################
> +#
> +# 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
> @@ -239,13 +241,15 @@ SctPkg/TestCase/UEFI/EFI/BootServices/MiscBootServices/BlackBoxTest/MiscBootServ
>  ## 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
> -
> -#
> +
> +#
>  # UEFI System Environment and Configuration Tests - SBBR v1.0 3.3
>  #
>  SctPkg/TestCase/UEFI/EFI/Generic/SbbrSysEnvConfig/BlackBoxTest/SysEnvConfigBBTest.inf
>  #End of UEFI System Environment and Configuration Tests - SBBR v1.0 3.3
> -
> +#
> +# Check if EFI Specification Version is 2.5 or greater
> +SctPkg/TestCase/UEFI/EFI/Generic/SbbrEfiSpecVerLvl/BlackBoxTest/EfiSpecVerLvlBBTest.inf
>  #
>  # UEFI Boot Services - SBBR v1.0 3.4
>  #
> @@ -286,13 +290,13 @@ SctPkg/TestCase/UEFI/EFI/Generic/EfiCompliant/BlackBoxTest/EfiCompliantBBTest_ue
>  # End of UEFI Required Protocols Tests - SBBR Appendix C
>  
>  #
> -# 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
> +# 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
> 
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel


  reply	other threads:[~2018-11-06 17:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-06  8:47 [edk2-test][RFC PATCH 01/12] uefi-sct/SctPkg: sbbr: Add support to build SBBR v1.0 test cases Sakar Arora
2018-11-06  8:47 ` [edk2-test][RFC PATCH 02/12] uefi-sct/SctPkg: sbbr: Add boot services test cases for SBBR v1.0 Sakar Arora
2018-11-06 17:30   ` Leif Lindholm
2018-11-06  8:47 ` [edk2-test][RFC PATCH 03/12] uefi-sct/SctPkg: sbbr: Add System Environment Configuration Test Cases Sakar Arora
2018-11-06 17:38   ` Leif Lindholm
2018-11-06  8:47 ` [edk2-test][RFC PATCH 04/12] uefi-sct/SctPkg: sbbr: Add Required UEFI Runtime Services tests Sakar Arora
2018-11-06 17:40   ` Leif Lindholm
2018-11-06  8:47 ` [edk2-test][RFC PATCH 05/12] uefi-sct/SctPkg: sbbr: Add test cases for SBBR v1.0 Appendix C Sakar Arora
2018-11-06  8:47 ` [edk2-test][RFC PATCH 06/12] uefi-sct/SctPkg: sbbr: Add test cases for SBBR v1.0 3.5.4 and 3.5.5 Sakar Arora
2018-11-06  8:47 ` [edk2-test][RFC PATCH 07/12] uefi-sct/SctPkg: sbbr: Add test cases for SBBR v1.0 boot services Sakar Arora
2018-11-06 17:46   ` Leif Lindholm
2018-11-07 20:55     ` Supreeth Venkatesh
2018-11-06  8:47 ` [edk2-test][RFC PATCH 08/12] uefi-sct/SctPkg: sbbr: UEFI Version Verification Test Sakar Arora
2018-11-06 17:48   ` Leif Lindholm [this message]
2018-11-06  8:47 ` [edk2-test][RFC PATCH 09/12] uefi-sct/SctPkg: sbbr: UEFI SMBIOS Base Requirements Sakar Arora
2018-11-06  8:47 ` [edk2-test][RFC PATCH 10/12] uefi-sct/SctPkg: sbbr: Corrected path to ArmBaseLib.inf in SBBR_SCT.dsc Sakar Arora
2018-11-06 17:51   ` Leif Lindholm
2018-11-06  8:47 ` [edk2-test][RFC PATCH 11/12] uefi-sct/SctPkg: sbbr: Bugfix for MemoryMap Check Test Sakar Arora
2018-11-06 17:53   ` Leif Lindholm
2018-11-20  7:55   ` Jin, Eric
2018-11-06  8:47 ` [edk2-test][RFC PATCH 12/12] uefi-sct/SctPkg: sbbr: Modify SBBR description file to add missing dependencies Sakar Arora
2018-11-06 17:56   ` Leif Lindholm
2018-11-06 12:45 ` [edk2-test][RFC PATCH 01/12] uefi-sct/SctPkg: sbbr: Add support to build SBBR v1.0 test cases Leif Lindholm
2018-11-06 17:39   ` Supreeth Venkatesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181106174826.fiize3l6f2r2y7rp@bivouac.eciton.net \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox