public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Sami Mujawar" <sami.mujawar@arm.com>
To: <devel@edk2.groups.io>
Cc: Sami Mujawar <sami.mujawar@arm.com>, <ard.biesheuvel@linaro.org>,
	<leif.lindholm@linaro.org>, <michael.d.kinney@intel.com>,
	<Matteo.Carlini@arm.com>, <nd@arm.com>
Subject: [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms
Date: Thu, 27 Jun 2019 14:12:11 +0100	[thread overview]
Message-ID: <20190627131213.10972-1-sami.mujawar@arm.com> (raw)

edk2 implements the DISABLE_NEW_DEPRECATED_INTERFACES macro that prevents the
usage of unsafe/deprecated APIs/macros by reporting errors at build time.

This patch series:
 - defines DISABLE_NEW_DEPRECATED_INTERFACES macro as part of the build
   options for Arm platforms so that the unsafe/deprecated APIs/macros
   are not used.
 - fixes the usage of unsafe/deprecated APIs/macros in the Juno platform
   code.

The changes can be seen at
https://github.com/samimujawar/edk2-platforms/tree/580_disable_deprecated_interfaces_v1

Sami Mujawar (2):
  Platform/ARM: Juno: Fix usage of deprecated macros
  Platform/ARM: Disable deprecated APIs

 Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c | 12 +++++++-----
 Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc         |  5 ++++-
 2 files changed, 11 insertions(+), 6 deletions(-)

-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'



             reply	other threads:[~2019-06-27 13:12 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-27 13:12 Sami Mujawar [this message]
2019-06-27 13:12 ` [PATCH edk2-platforms 1/2] Platform/ARM: Juno: Fix usage of deprecated macros Sami Mujawar
2019-06-27 13:31   ` [edk2-devel] " Alexei Fedorov
2019-06-27 13:12 ` [PATCH edk2-platforms 2/2] Platform/ARM: Disable deprecated APIs Sami Mujawar
2019-06-27 13:31   ` [edk2-devel] " Alexei Fedorov
2019-06-27 13:32 ` [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms Alexei Fedorov
2019-07-03 15:42 ` Leif Lindholm

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=20190627131213.10972-1-sami.mujawar@arm.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