From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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-Google-Smtp-Source: ADUXVKIOs8RftlFBfj8SHav2o/+VN3foTS4GMpTjcgyPDAIj4fEQG9v8nSOGXs6eN0ApGed38hdRSw== 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 Cc: Ard Biesheuvel , Michael D Kinney , Liming Gao , Ruiyu Ni , Hao Wu , Leif Lindholm , Jordan Justen , Andrew Fish , Star Zeng , Eric Dong , Laszlo Ersek , Zenith432 , "Shi, Steven" 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: [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: , X-List-Received-Date: Tue, 12 Jun 2018 15:23:35 -0000 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(+) 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 -- 2.17.1