[edk2-devel] [PATCH v1 1/1] StandaloneMmPkg: Disable deprecated APIs
Yao, Jiewen
jiewen.yao at intel.com
Fri Nov 22 02:29:09 UTC 2019
Reviewed-by: jiewen.yao at intel.com
> -----Original Message-----
> From: Sami Mujawar <sami.mujawar at arm.com>
> Sent: Thursday, November 21, 2019 11:22 PM
> To: devel at edk2.groups.io
> Cc: Sami Mujawar <sami.mujawar at arm.com>; achin.gupta at arm.com; Yao,
> Jiewen <jiewen.yao at intel.com>; supreeth.venkatesh at arm.com;
> Matteo.Carlini at arm.com; Laura.Moretta at arm.com; nd at arm.com
> Subject: [PATCH v1 1/1] StandaloneMmPkg: Disable deprecated APIs
>
> Add the DISABLE_NEW_DEPRECATED_INTERFACES macro to
> the StandaloneMmPkg package build flags to disable
> deprecated APIs.
>
> CC: Achin Gupta <achin.gupta at arm.com>
> CC: Jiewen Yao <jiewen.yao at intel.com>
> CC: Supreeth Venkatesh <supreeth.venkatesh at arm.com>
> Signed-off-by: Sami Mujawar <sami.mujawar at arm.com>
> ---
> The changes can be seen at:
> https://github.com/samimujawar/edk2/tree/698_stmm_disable_deprecated_ap
> is_v1
>
> Notes:
> v1:
> - Disable/prevent the use of deprecated APIs [SAMI]
>
> StandaloneMmPkg/StandaloneMmPkg.dsc | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
>
> diff --git a/StandaloneMmPkg/StandaloneMmPkg.dsc
> b/StandaloneMmPkg/StandaloneMmPkg.dsc
> index
> 8a68d397469bdb83586bfeaebedcd52fd528b20f..cdd2ffc44f8178f2c6c29399ce4
> d82634e8b5db9 100644
> --- a/StandaloneMmPkg/StandaloneMmPkg.dsc
> +++ b/StandaloneMmPkg/StandaloneMmPkg.dsc
> @@ -2,7 +2,7 @@
> # Standalone MM Platform.
> #
> # Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
> -# Copyright (c) 2016 - 2018, ARM Limited. All rights reserved.<BR>
> +# Copyright (c) 2016 - 2019, ARM Limited. All rights reserved.<BR>
> #
> # SPDX-License-Identifier: BSD-2-Clause-Patent
> #
> @@ -112,6 +112,9 @@ [Components.AARCH64]
> # module style (EDK or EDKII) specified in [Components] section.
> #
>
> #################################################################
> ##################################
> +[BuildOptions.common]
> +*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
> +
> [BuildOptions.AARCH64]
> GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-
> a+nofp -mstrict-align
> GCC:*_*_*_CC_FLAGS = -mstrict-align
> --
> 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'
>
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#51125): https://edk2.groups.io/g/devel/message/51125
Mute This Topic: https://groups.io/mt/61079930/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list