From patchwork Tue Jun 12 15:23:01 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 138366 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5491092lji; Tue, 12 Jun 2018 08:23:59 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLHcDfzi8sgpwXZRbbJZ8JKDkNXjxYGTbd+W/htiEc8TOiHpwKa4OX9VueactUJcEn4CLvn X-Received: by 2002:a63:7a07:: with SMTP id v7-v6mr702661pgc.444.1528817039542; Tue, 12 Jun 2018 08:23:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817039; cv=none; d=google.com; s=arc-20160816; b=xibi8NpPKYtYW4wqHvfnqsJJ4whX0NLSWcqamRz7fjmiDV+4qNIxazge5wcdSjqLHz /7zyw0euhLkV0XSYJ/FdB+Lrthp+RFj5UcUbuYfhJ0rk0LYoSTOAdneK24apv3rxdlq3 XpFmbiS9v5sDc97z8NWFoG9WVux/Zf4D8YHQqSJlFqs5V0ABq9um2G/YdQdngWvcjhK3 PmQ5/ZhjWCz6iKbU6Ms/rRThssIvksWaaXymVAUllSyaI5djBoB+EtjOrLXoI06VcgsR fRXwE3Tsn4QoZk+0pAM5b/ZDjgMeLFLnXfNJIxvrJXXU9jdtcHbsOHw2LvznAR1bvMN3 4yFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:cc :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=lR+AUzhd2ajdadkQxTvhU8O2I49MyQT027rIJlXhil4=; b=xhgDABDMWQjNPDYcuEwXFWNMo59oHKZdW7y7TEnnVspoPNLcOjwae94yBTQ4Un5VFg xYyJOEFA05nWe8ERjKs91dwgbn56KdRclihhTErwQqkPBn8t0c9PLqIvrmWibCmhHJBh YhJ31Irk+INCNH7sIy5qjJWFXhikK2DQFnQrPYCj3cbOAzrVo3IXfj+RgH4OG5rrZG7Z OxjRLCiCKz3NWzqPL2oW7ZzXmsm9WMg9OPcfb/EjkP7VwafLoihYnXjmXle4nSj9RQwq E1wa73SiJi8qf4lpIwv2mHACpd5PCOil17Fyl7hOWBMtx2y4RInDxwmEhAM5D5lEyVyC A6bg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="HbOJ4Dp/"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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. [198.145.21.10]) by mx.google.com with ESMTPS id z9-v6si375608pln.250.2018.06.12.08.23.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:59 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 as permitted sender) client-ip=198.145.21.10; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="HbOJ4Dp/"; spf=pass (google.com: best guess record for domain of edk2-devel-bounces@lists.01.org designates 198.145.21.10 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 857B421295B3B; Tue, 12 Jun 2018 08:23:36 -0700 (PDT) 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:400c:c0c::242; helo=mail-wr0-x242.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x242.google.com (mail-wr0-x242.google.com [IPv6:2a00:1450:400c:c0c::242]) (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 04D2621295B36 for ; Tue, 12 Jun 2018 08:23:34 -0700 (PDT) Received: by mail-wr0-x242.google.com with SMTP id h10-v6so24520123wrq.8 for ; Tue, 12 Jun 2018 08:23:34 -0700 (PDT) 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=ylz0h67abCuDnzfZBN/HVI6xV/TmjnmQE3qOMhJ73eo=; b=HbOJ4Dp/KB/j/EMGoks9Pmv3kypATvrtOC7WQa3pyHwVRDO5Fm23GFw59RD04q5uYF l7SjlU8Dmp0FIkHCosa2aNpNcZK3DiLTXqRuy9Ri/4+QOxK8IhDWiYtGHxrVzX27K6GH vmtC6vkEsQYvbVY3IeGavtFDm6PGtKyTMeZCk= 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=ylz0h67abCuDnzfZBN/HVI6xV/TmjnmQE3qOMhJ73eo=; b=nugoBSVL+rGsCahdGXlRQEKOaxBoYplOAuDlLL3Mt1g3KReEt/+BIS0PXFFyRpXn7G I4/BhyELmakxjKEBEFeXCWyQ45LlslYpK23kFYuhwPnkHw+zzE6VHdcDjT7fnDMuSG/0 nvGQ7ssVDk3pEqtcJLndkD3RBxNN1uas7jaOYb0da5oGxcaVe7+8Z0Lg38L5GrMoTXQY 854Jo55+pOhSZaecMhacX44+39zK1lXeGns1h84cFm0cImTiWK9WBknuWTUtbi+l7uKX sCT6vf35R4DZGEQh67DB5Ik51EyWzTIEWDO6Blmbe0fulsJ2OfXa7zjplJtOL/Q6IDDa 6xVw== X-Gm-Message-State: APt69E27Eohla4xqQRmFt9CbOslRvrOoLrPqbdxL9gRZpkIM0RiAImfg nLH6B1LfUWOAo3hWxzvp7SmCESHcHtk= X-Received: by 2002:adf:a032:: with SMTP id k47-v6mr665844wrk.202.1528817012941; Tue, 12 Jun 2018 08:23:32 -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.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:32 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:23:01 +0200 Message-Id: <20180612152306.25998-7-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 06/11] IntelFrameWorkPkg: 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 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" 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 --- IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c | 1 + 1 file changed, 1 insertion(+) -- 2.17.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel diff --git a/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c b/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c index e6892cbafefd..e1b6f065e455 100644 --- a/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c +++ b/IntelFrameworkPkg/Library/DxeSmmDriverEntryPoint/DriverEntryPoint.c @@ -156,6 +156,7 @@ _DriverUnloadHandler ( **/ EFI_STATUS EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable