From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=209.85.128.68; helo=mail-wm1-f68.google.com; envelope-from=philmd@redhat.com; receiver=edk2-devel@lists.01.org Received: from mail-wm1-f68.google.com (mail-wm1-f68.google.com [209.85.128.68]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id CC4982007D1F0 for ; Mon, 3 Dec 2018 02:28:07 -0800 (PST) Received: by mail-wm1-f68.google.com with SMTP id z18so5163955wmc.4 for ; Mon, 03 Dec 2018 02:28:07 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=8etamkYiClxBU6uxHvlqKvfcafm9wDTXif0tZJc7mok=; b=aQ99XtMC+uEaF3Na34awD9iguf6ibkLM+QcpNT5eaKmQ7cBvswPF7vk6sDq07LgZc4 KxrEkxyOXQFgHGbdcPBZgnIdeDqeBGyjUVBn0EisTdAcc7L9sDOnOReF6vmwpffTy4ne 6VzfMbAiIiZ1STVcmntLXmC7181mNVNRTjd+siFy2S9ytHgJUpoAZwJequMYU+T+1rZl ARI66gL6Ll/YsBUZKMobgI6L+c+f1uTHps5aqK5Zt0VOnE+hUKvYe+jg5mrbAt1FAzyc S/pJpl8VWqV9qPTcE7xxaaGCiq88VgKh7vS/5OwKNJUQBUmkeFSW6Z4siiq9bxk4AINf eP4A== X-Gm-Message-State: AA+aEWZVl4pryoeUyzV4brrgCY6xLlBH4dpVVmSEq3512Cg9ZnV5JZhH xdOmMF+ihPl1D5GpNlMslfMoUR36ISjQsQ== X-Google-Smtp-Source: AFSGD/VYBV9C4SLJeV/wcYL6heX96qTRB++zmaE+ThNDV3oTmo9EkAGHySWjCit+w7u1IvLsdo47OA== X-Received: by 2002:a1c:aecb:: with SMTP id x194mr7128453wme.96.1543832886460; Mon, 03 Dec 2018 02:28:06 -0800 (PST) Received: from ?IPv6:2a01:cb1d:8a0a:f500:48c1:8eab:256a:caf9? ([2a01:cb1d:8a0a:f500:48c1:8eab:256a:caf9]) by smtp.gmail.com with ESMTPSA id w8sm16518440wrv.7.2018.12.03.02.28.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Dec 2018 02:28:05 -0800 (PST) To: Ard Biesheuvel , edk2-devel@lists.01.org Cc: Liming Gao , Jaben Carsey , Laszlo Ersek References: <20181130224537.18936-1-ard.biesheuvel@linaro.org> <20181130224537.18936-7-ard.biesheuvel@linaro.org> From: =?UTF-8?Q?Philippe_Mathieu-Daud=c3=a9?= Openpgp: id=89C1E78F601EE86C867495CBA2A3FD6EDEADC0DE; url=http://pgp.mit.edu/pks/lookup?op=get&search=0xA2A3FD6EDEADC0DE Message-ID: Date: Mon, 3 Dec 2018 11:28:04 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: <20181130224537.18936-7-ard.biesheuvel@linaro.org> Subject: Re: [PATCH v2 6/6] BaseTools/CommonLib: drop definition of MAX_UINTN X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Dec 2018 10:28:08 -0000 Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 30/11/18 23:45, Ard Biesheuvel wrote: > The maximum value that can be represented by the native word size > of the *target* should be irrelevant when compiling tools that > run on the build *host*. So drop the definition of MAX_UINTN, now > that we no longer use it. > > Contributed-under: TianoCore Contribution Agreement 1.1 > Signed-off-by: Ard Biesheuvel > Reviewed-by: Jaben Carsey Reviewed-by: Philippe Mathieu-Daudé > --- > BaseTools/Source/C/Common/CommonLib.h | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/BaseTools/Source/C/Common/CommonLib.h b/BaseTools/Source/C/Common/CommonLib.h > index 6930d9227b87..b1c6c00a3478 100644 > --- a/BaseTools/Source/C/Common/CommonLib.h > +++ b/BaseTools/Source/C/Common/CommonLib.h > @@ -22,7 +22,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. > > #define MAX_LONG_FILE_PATH 500 > > -#define MAX_UINTN MAX_ADDRESS > #define MAX_UINT64 ((UINT64)0xFFFFFFFFFFFFFFFFULL) > #define MAX_UINT16 ((UINT16)0xFFFF) > #define MAX_UINT8 ((UINT8)0xFF) >