From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: Sami Mujawar <sami.mujawar@arm.com>,
"devel@edk2.groups.io" <devel@edk2.groups.io>
Cc: "achin.gupta@arm.com" <achin.gupta@arm.com>,
"supreeth.venkatesh@arm.com" <supreeth.venkatesh@arm.com>,
"Matteo.Carlini@arm.com" <Matteo.Carlini@arm.com>,
"Laura.Moretta@arm.com" <Laura.Moretta@arm.com>,
"nd@arm.com" <nd@arm.com>
Subject: Re: [PATCH v1 1/1] StandaloneMmPkg: Disable deprecated APIs
Date: Fri, 22 Nov 2019 02:29:09 +0000 [thread overview]
Message-ID: <74D8A39837DF1E4DA445A8C0B3885C503F868B1D@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <20191121152146.20636-1-sami.mujawar@arm.com>
Reviewed-by: jiewen.yao@intel.com
> -----Original Message-----
> From: Sami Mujawar <sami.mujawar@arm.com>
> Sent: Thursday, November 21, 2019 11:22 PM
> To: devel@edk2.groups.io
> Cc: Sami Mujawar <sami.mujawar@arm.com>; achin.gupta@arm.com; Yao,
> Jiewen <jiewen.yao@intel.com>; supreeth.venkatesh@arm.com;
> Matteo.Carlini@arm.com; Laura.Moretta@arm.com; nd@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@arm.com>
> CC: Jiewen Yao <jiewen.yao@intel.com>
> CC: Supreeth Venkatesh <supreeth.venkatesh@arm.com>
> Signed-off-by: Sami Mujawar <sami.mujawar@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)'
>
prev parent reply other threads:[~2019-11-22 2:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-21 15:21 [PATCH v1 1/1] StandaloneMmPkg: Disable deprecated APIs Sami Mujawar
2019-11-22 2:29 ` Yao, Jiewen [this message]
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=74D8A39837DF1E4DA445A8C0B3885C503F868B1D@shsmsx102.ccr.corp.intel.com \
--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