From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mx.groups.io with SMTP id smtpd.web10.9094.1581612986681791214 for ; Thu, 13 Feb 2020 08:56:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=sg4UJeFW; spf=pass (domain: nuviainc.com, ip: 209.85.221.68, mailfrom: leif@nuviainc.com) Received: by mail-wr1-f68.google.com with SMTP id z3so7602142wru.3 for ; Thu, 13 Feb 2020 08:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WoSGYQJamqaUa8s2bN4/1nCHIEvRRKAlZ1dK+OD7Y5Q=; b=sg4UJeFW5btkNni19BgNfFiRYwz0N0pbFqn2NUmUkAwWOx3iOMWjQZNu2O8xBkJcjB a31qpPPYt6FWEqcFe3ohOW5L3OVlXT9iNnI1mlje+wg+4NB9tJ+fhb0f4ZSOd1ZAOE5/ MpNc2DpTm/eRjr8OjSs3mpqNpjYx4qqbL+ADeff3L88QsFyrAcOBr+BmJo++rKVwNIcL Vc9oYCdtleJ8AtmUXuSs6LEP37HQ1to+bY0hDhyfgEu53Lw2U4VTAYPsnFx5WivWVAuy pKkzzBvtombX+GVsXsaDfYOAcjqxvQFW2+LfpUhRLHBw7Tls6CAZVOWncfYMFe2HWYtV fYOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=WoSGYQJamqaUa8s2bN4/1nCHIEvRRKAlZ1dK+OD7Y5Q=; b=gDKJmbaCGWkE9oR7zA2qw4SOaoAO/ZwLRfH6hrrpOVwjW2T7r+P5SYajw+40Ei5Pp6 esqgZ56M9ZmC3jeRtJhCiOz8h8COlZzDfZaPMdXhcJRJWgz/8M/vdj5yHeJblVRiPNoZ jIaLjX88GLqvhIWu/XXqwgRA3BqBPF0QoJvOoCJIAXlbaxW4PFwWDOksU3Ka0LIqmbR/ a442NPn8kSEvYy2glF2KUqErxYfds390UOsAQ9pKK+p9TZ9ZpcISmngzC5bmVvaUpXfR K87/bf//hBIQ0m5G0f1c2hJk/LiUrKMvd2v5ojLQVvSTX9wAIjOf68CBPo71nszAhFEg m2Nw== X-Gm-Message-State: APjAAAXXxBi8f5AcbQXWJVYrqyRtuyK9fkvNUoRFg9+umuEuoUNiI+NN 8ngYZdvvAIHL3KW6bZeHJ+ma9g== X-Google-Smtp-Source: APXvYqzT4RmXJC5rnZpm/nTfp506dGub6yV2Jg9qXaeQRN0Ct+ILNG2wsR+fmc8u70Y66fx/5go14A== X-Received: by 2002:a5d:4e91:: with SMTP id e17mr21504319wru.233.1581612985333; Thu, 13 Feb 2020 08:56:25 -0800 (PST) Return-Path: Received: from bivouac.eciton.net (bivouac.eciton.net. [2a00:1098:0:86:1000:23:0:2]) by smtp.gmail.com with ESMTPSA id w19sm3605351wmc.22.2020.02.13.08.56.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Feb 2020 08:56:24 -0800 (PST) Date: Thu, 13 Feb 2020 16:56:23 +0000 From: "Leif Lindholm" To: Vijayenthiran Subramaniam Cc: devel@edk2.groups.io, michael.d.kinney@intel.com, Ard.Biesheuvel@arm.com, thomas.abraham@arm.com Subject: Re: [edk2-platforms] [PATCH v2 1/5] Platform/ARM/SgiPkg: Disable use of deprecated APIs Message-ID: <20200213165623.GL23627@bivouac.eciton.net> References: <1581514167-1340-1-git-send-email-vijayenthiran.subramaniam@arm.com> <1581514167-1340-2-git-send-email-vijayenthiran.subramaniam@arm.com> MIME-Version: 1.0 In-Reply-To: <1581514167-1340-2-git-send-email-vijayenthiran.subramaniam@arm.com> User-Agent: Mutt/1.10.1 (2018-07-13) Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 12, 2020 at 18:59:23 +0530, Vijayenthiran Subramaniam wrote: > Add the `DISABLE_NEW_DEPRECATED_INTERFACES` build option in DSC file to > make sure that the deprecated APIs are not used SgiPkg. > > Signed-off-by: Vijayenthiran Subramaniam Reviewed-by: Leif Lindholm > --- > Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc | 3 +++ > Platform/ARM/SgiPkg/SgiPlatform.dsc | 3 +++ > 2 files changed, 6 insertions(+) > > diff --git a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc > index 7ae19560eaca..38bf6020ba4c 100644 > --- a/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc > +++ b/Platform/ARM/SgiPkg/PlatformStandaloneMm.dsc > @@ -132,3 +132,6 @@ [Components.AARCH64] > ################################################################################################### > [BuildOptions.AARCH64] > GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp > + > +[BuildOptions] > + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES > diff --git a/Platform/ARM/SgiPkg/SgiPlatform.dsc b/Platform/ARM/SgiPkg/SgiPlatform.dsc > index a5b7eea1d3a8..e38cc7da52a5 100644 > --- a/Platform/ARM/SgiPkg/SgiPlatform.dsc > +++ b/Platform/ARM/SgiPkg/SgiPlatform.dsc > @@ -23,6 +23,9 @@ [Defines] > > !include Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc > > +[BuildOptions] > + *_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES > + > [LibraryClasses.common] > ArmLib|ArmPkg/Library/ArmLib/ArmBaseLib.inf > ArmMmuLib|ArmPkg/Library/ArmMmuLib/ArmMmuBaseLib.inf > -- > 2.7.4 >