From nobody Mon Sep 16 19:15:11 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1528817013584962.4387457239567; Tue, 12 Jun 2018 08:23:33 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id BFE2221295B2F; Tue, 12 Jun 2018 08:23:30 -0700 (PDT) Received: from mail-wm0-x231.google.com (mail-wm0-x231.google.com [IPv6:2a00:1450:400c:c09::231]) (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 77BFA21295B26 for ; Tue, 12 Jun 2018 08:23:29 -0700 (PDT) Received: by mail-wm0-x231.google.com with SMTP id p11-v6so24118355wmc.4 for ; Tue, 12 Jun 2018 08:23:29 -0700 (PDT) Received: from dogfood.home ([2a01:cb1d:112:6f00:3c84:18ae:27f2:d03]) by smtp.gmail.com with ESMTPSA id e2-v6sm500983wro.97.2018.06.12.08.23.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:26 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2a00:1450:400c:c09::231; helo=mail-wm0-x231.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org 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; bh=KdWjsCNZ6hTPDVkkQ2Gj8GMro7myUif8qNV4FkVKb+0=; b=bMOAvLL9AbGVksp4/SMVjlBSByhSwBtu48ZlMPhthBgcVSVH10ZOqFJnGqR0/l3US0 rmDLECKLYlPx6919kcGcruV0M8P4f00CK9M78wkG0IAxsWN9GltKezO/dscZ4pdRCtHh f4slZhWbh7m/fOXifnXkUhALNdXcYmfrvh+uk= 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; bh=KdWjsCNZ6hTPDVkkQ2Gj8GMro7myUif8qNV4FkVKb+0=; b=D/gKutXH03URvgB/9G7megOTlRd8VVbTJCvmB24Qz00PYSrd9LTLw1E/PhaE1v2z8n Tn1FMYF6tu7hJGHgrYHRayf9MIDfpk5j9777q49wojssOZ1k57JA4+Zx2B4I50MntUNj OFyhw1EHK8w1dEoTvTNCfj+ZAxNi9wGIaDDKJJc6xXzDlfX6u54KT/wsWN7hdHcPbwTs hPuYY+qhM/HoWMwe7e84NdBfDtMHet9BlgjI7M6AtypIPJy5fjFm41Amw3oWwIWpl6SU QZvOWyR52EjHMOvju0FXgqcPKIaSnxKN7T8p9UBIUXXa0fhuDpV3HVs+67cXBAt6/WNU xfoA== X-Gm-Message-State: APt69E2yHVGuxy5aiQS9W2HXp9wybNRl0Do1LG0Ocoo3+bW5WRSDDOaX MTd9QMlgcbE5wgUG5m2iv1eDDpajKzo= X-Google-Smtp-Source: ADUXVKJPS0cWMdp2q7W16z93wXLCGIaE00QioABP+sLotCTWF4jwPCN3korFes4w59sYMVj7PmV5Mw== X-Received: by 2002:a1c:852:: with SMTP id 79-v6mr536407wmi.115.1528817007670; Tue, 12 Jun 2018 08:23:27 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:22:57 +0200 Message-Id: <20180612152306.25998-3-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180612152306.25998-1-ard.biesheuvel@linaro.org> References: <20180612152306.25998-1-ard.biesheuvel@linaro.org> Subject: [edk2] [RFC PATCH 02/11] DuetPkg: annotate module entry points with EFI_ENTRYPOINT X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Ruiyu Ni , Eric Dong , Ard Biesheuvel , Hao Wu , Jordan Justen , Andrew Fish , Leif Lindholm , Liming Gao , Zenith432 , Michael D Kinney , Laszlo Ersek , Star Zeng MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" Annotate module entry points with EFI_ENTRYPOINT so we can classify the resulting symbol as global explicitly at link time. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- DuetPkg/DxeIpl/DxeInit.c | 1 + DuetPkg/EfiLdr/EfiLoader.c | 1 + 2 files changed, 2 insertions(+) diff --git a/DuetPkg/DxeIpl/DxeInit.c b/DuetPkg/DxeIpl/DxeInit.c index b9a40a8209c1..9c86279c17c1 100644 --- a/DuetPkg/DxeIpl/DxeInit.c +++ b/DuetPkg/DxeIpl/DxeInit.c @@ -269,6 +269,7 @@ Returns: =20 EFI_STATUS EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( IN EFILDRHANDOFF *Handoff ) diff --git a/DuetPkg/EfiLdr/EfiLoader.c b/DuetPkg/EfiLdr/EfiLoader.c index ac950b55fa6d..89c8ff3885ff 100644 --- a/DuetPkg/EfiLdr/EfiLoader.c +++ b/DuetPkg/EfiLdr/EfiLoader.c @@ -282,6 +282,7 @@ PrintHeader ('F'); =20 EFI_STATUS EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( UINT32 BiosMemoryMapBaseAddress ) --=20 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel