[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms

Sami Mujawar posted 2 patches 4 years, 10 months ago
Failed in applying to current master (apply log)
Platform/ARM/JunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.c | 12 +++++++-----
Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc         |  5 ++++-
2 files changed, 11 insertions(+), 6 deletions(-)
[edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms
Posted by Sami Mujawar 4 years, 10 months ago
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)'



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#42931): https://edk2.groups.io/g/devel/message/42931
Mute This Topic: https://groups.io/mt/32230896/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms
Posted by Alexei Fedorov 4 years, 10 months ago
Reviewed-by: Alexei Fedorov <Alexei.Fedorov@arm.com>

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#42936): https://edk2.groups.io/g/devel/message/42936
Mute This Topic: https://groups.io/mt/32230896/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-

Re: [edk2-devel] [PATCH edk2-platforms 0/2] Platform/ARM: Disable deprecated APIs for Arm Platforms
Posted by Leif Lindholm 4 years, 10 months ago
On Thu, Jun 27, 2019 at 02:12:11PM +0100, Sami Mujawar wrote:
> 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

For the series:
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>

Pushed as 0b64610961..182903bd2e.

Thanks!

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

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#43224): https://edk2.groups.io/g/devel/message/43224
Mute This Topic: https://groups.io/mt/32230896/1787277
Group Owner: devel+owner@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [importer@patchew.org]
-=-=-=-=-=-=-=-=-=-=-=-