public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms
@ 2019-06-27 13:12 Sami Mujawar
  2019-06-27 13:12 ` [PATCH edk2-platforms 1/2] Platform/ARM: Juno: Fix usage of deprecated macros Sami Mujawar
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Sami Mujawar @ 2019-06-27 13:12 UTC (permalink / raw)
  To: devel
  Cc: Sami Mujawar, ard.biesheuvel, leif.lindholm, michael.d.kinney,
	Matteo.Carlini, nd

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)'



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2019-07-03 15:43 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-27 13:12 [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms Sami Mujawar
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox