From patchwork Thu Nov 29 12:31:29 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 152402 Delivered-To: patch@linaro.org Received: by 2002:a2e:299d:0:0:0:0:0 with SMTP id p29-v6csp2320977ljp; Thu, 29 Nov 2018 04:31:57 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xr4ZXav0fENS85hd6FYpBpOmumh4ax9QLpc+44ut7bD0IBrHDWrAp9mJYf6yh8p8ME0BlL X-Received: by 2002:a65:5286:: with SMTP id y6mr1064381pgp.439.1543494717843; Thu, 29 Nov 2018 04:31:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543494717; cv=none; d=google.com; s=arc-20160816; b=Qvrh9uUuBDi38zDkYmYA+7pNEftr1coCLx1jPJZYtA5RBdVk60TF43F7IaYQ09/R9W ME6NngUc47Uo3ctmaytC2wKP5u+zuI/WWpvaJpNoVKrzTgo6i3znFmj0V4NylF0VQfP8 N/ciq7pWRxBQ4sB859GwaKxbQrdDu0x7wZi7OgDKkdjHIevIpo0h+9mKhobPNJAbOxdB Zy0ghnchGMn9fkJrq+wg/RVngDy39VUuP/zl3btMto/jmdbVpt1SAUASujwVYvAajYsZ k2WVQzfRaJiZ8iP7bzggwHRYRlInM3v4BILxjyuIXv5LCg7uhdwqu3RFzhkBtYDP/emH TerA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:references:in-reply-to:message-id :date:to:from:dkim-signature:delivered-to; bh=PCDcHNSGa+RffS+bMp29Wzm8ei3I1zOsa1w+Qj7yCLY=; b=cirt2vrORXh4Wf5+mFoY3JcqRXBIW83cd3ff/LoYhSbn0UwsRHSokMWSC3OzEqaAXc Y45ztdsSM5YBb8LjQ74t8cqFvCWJxegLBbDcEjVWT9TJssYf6o19s4eyr9jtYAinXpwA ii02Ah9pW3yKmfAcFKHZqL59rAEe41p/NisZ/1P1cbp6lIiwscjvdcxhwSwmAPZ0+RI4 xS1lAE24URtvEWZYf84xdV0I1IKCNc3IgxEaZMD1LyK0D6mGd2610tJ5tKTI1QDoqwAY 1EwfamgB1FSRCJQ5vv0q2Ci26LNDDkTWmUjzthmeoiaGp82xPh02lJ4J8F3eLJRZPQft x4ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LK2YI2HH; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org. [2001:19d0:306:5::1]) by mx.google.com with ESMTPS id i1si1893061pgr.569.2018.11.29.04.31.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 04:31:57 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) client-ip=2001:19d0:306:5::1; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=LK2YI2HH; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 2001:19d0:306:5::1 as permitted sender) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 661D721CB74A4; Thu, 29 Nov 2018 04:31:44 -0800 (PST) X-Original-To: edk2-devel@lists.01.org Delivered-To: edk2-devel@lists.01.org Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 130E021CAD998 for ; Thu, 29 Nov 2018 04:31:43 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id y185so6279833wmd.1 for ; Thu, 29 Nov 2018 04:31:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ClfePa18eW3Fx9/J8Ef9Pe0k/dIDucAlfJouSV/8AB4=; b=LK2YI2HH6wxiP5Verdlums+/AyMiVh5FTGyhJOEj9SuEFWXRYZaifTDT9JnGWQY3Jd PRdzsi3Ufm66TFqeD591qz713VhJhNWmA8fk+LLPgu0FlJ61gwzSTvcsXCny0x15zdda ZVMjUZpm+nu+W74QTmr9n2SLvlBUbAjSG5+eA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ClfePa18eW3Fx9/J8Ef9Pe0k/dIDucAlfJouSV/8AB4=; b=r4K0RnMNnjPGWagBj9J6XQr5ytjW4QHAMV6xDclPpH28Tll+WE+Fm6vaBFrM3yiRfr l9jAh9OldzPYX3etkW2dWOU4M5HTpQGQ1/TxfI8lcgazy11KqH8QXbLgFuTQLQFE/z0Q WciSwNDfFFvtUWatxYkvsPVnZm1wBuBlqIIKfp+1ZTNfcL2teuskun4A01/KSDLFDRkL Qu8570nFJEEdtOUpmJG8wg2l2CYuI0dYfxfZzVdTxSv+4GY/M6W503rQZzZ91Vq2jVfm UupbW6YFnHpWP3x5YqJ3xSR1YW2oVY/lxIU3lm40E+23HymSTkMIJvGyYbv/ydl137l8 xCgg== X-Gm-Message-State: AA+aEWYCONeQCQweoe81mD9GuUxYeeV8c1v0upYMjipt6Bp+cWifSL9D 1Zbzxdm6qHkOnLv2UZD03KPdkgPGpPs= X-Received: by 2002:a7b:c5d1:: with SMTP id n17mr1566167wmk.152.1543494701462; Thu, 29 Nov 2018 04:31:41 -0800 (PST) Received: from harold.home ([2a01:cb1d:112:6f00:3580:6f80:40a7:5bdd]) by smtp.gmail.com with ESMTPSA id c7sm3089525wre.64.2018.11.29.04.31.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 29 Nov 2018 04:31:40 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Thu, 29 Nov 2018 13:31:29 +0100 Message-Id: <20181129123129.25095-7-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181129123129.25095-1-ard.biesheuvel@linaro.org> References: <20181129123129.25095-1-ard.biesheuvel@linaro.org> MIME-Version: 1.0 Subject: [edk2] [PATCH 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: , Cc: Laszlo Ersek , Liming Gao Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- BaseTools/Source/C/Common/CommonLib.h | 1 - 1 file changed, 1 deletion(-) -- 2.19.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel Reviewed-by: Jaben Carsey 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)