From patchwork Tue Jun 12 15:23:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 138370 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp5491437lji; Tue, 12 Jun 2018 08:24:18 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJAlOsnES/RrN2f/jIwIKjpgYaslbocNqb3VS7rahI4dYtq0PtivCjnSMAsOWI7kZ9PRrAu X-Received: by 2002:a17:902:8a8c:: with SMTP id p12-v6mr930191plo.94.1528817058194; Tue, 12 Jun 2018 08:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528817058; cv=none; d=google.com; s=arc-20160816; b=XTrY1Gz02zjxCbF0uGgD76XV/3/cPrvBCdhUOW+K7D1xLa3uBFYY0V6L7QtmijqSJN ZFrc+UAIaRRxazVFGljQ7SB9GWs7xOjEK48WOHj05wdFo6uCgbCu07CH4T6/yoAiQgLk w32Fd0uzPIbUU2iE8nBicjHMjufqmS/tbCis0F2rbI3NFRvX2IK+5516E9GxQE5gIc6/ ha7K12YySVMCk/EamHrjdOoCUEg4s+cbbijjOHHjtoh59tqjYaoRVUDakmSDTdgFl3Pl pV2GQ1DskZJrDgm3vRGspZ3FIHWNVRJ7tlwS46OiPbdavFgBrEUnEKBrhvvy6FtI+V5D HTxQ== 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=4QpCS+ZZ6YZXqx/yrGhvMYPMJH4vm6fAlFubIL0KuuQ=; b=bkvLE+ibujc3kylkS0uNyPA5yn+EetOpod2w8YJc7pX+C7+onXz5uQorI0psjgLmcx ZzSQh7uQYJtTo49lw5AUyO89dxF6h+C9NMZdcjKL/CwqNwXluswhNIlbScNS+uHC1msU Wa8E8Hm7gSG5ox574HPmmtcvpayNcnEkaDpe6S1NU59hp5dzkbhXLoLUFMKHwY3LCIgT 0wF9giz4Zs4maQaRxebifKy19GKH3aiLfO806AHvPiFYVbsyme42d0op0EHU4JBgN9SF FdfVjap/hzRFQKQlUNudLbQaf9VZiFkYApSsHuCCB6vAG+ira6mV2BI48bE2n8h+YVW/ DUvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=iSQgfxyo; 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 w3-v6si284616pgc.645.2018.06.12.08.24.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:24:18 -0700 (PDT) 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=iSQgfxyo; 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 6D7DE21295CAC; Tue, 12 Jun 2018 08:23:41 -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::241; helo=mail-wr0-x241.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wr0-x241.google.com (mail-wr0-x241.google.com [IPv6:2a00:1450:400c:c0c::241]) (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 0C0422128E2C2 for ; Tue, 12 Jun 2018 08:23:39 -0700 (PDT) Received: by mail-wr0-x241.google.com with SMTP id k16-v6so24559984wro.0 for ; Tue, 12 Jun 2018 08:23:39 -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=A3uTU6Tec3MitOciB5dR5kXrKLibUX1PgLbSacdrm/A=; b=iSQgfxyowoo2F2EhTbb2/jalNRCiChRGHWFb1rtQpYKisS3ActQOcgMw4I0XSaWdlf oICdHxY5RDf3IjvasSpeTK8Px1dBgJyFIzwj1HhFV44YuWnI6YDbNsPM1KbPrRE/TP6z PkJk+wDr6VLMc/P/yYiy+BlludRj7yAAkkqvc= 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=A3uTU6Tec3MitOciB5dR5kXrKLibUX1PgLbSacdrm/A=; b=F1hFK+W2dRd5x9j3LxiU+scaV8SfP25XGm0laO0n7j7uOCoe22ypxikEMNq3ccdJJS X8/RPt6+Hh2UOb5ma9nlj/36WK2AgFyWk2iZzYTaGIZgmzcjtRvXgSGjmGrgu8JPItKg Xpgku/ioHwCoCV/hEd9GyFYJlGwzDaxbQLDqTwoFboZLgTONa41W4pwYtcgseMAhBf8p 9hTrAmp/i5n5iwNF1FnbbnTdXlmdzR+3ie0WSI2Tdqg03sIsgjb0z22TZC5/36FEWZIs Q/3Xhc7IqlRyPYFxCxOvxML9JK/h3A+iH1Fi+AlmMuuclovyvk9cga1DX+kJNe+bxB64 TTWQ== X-Gm-Message-State: APt69E1yYEPpjeLdPFnmSbtxqJ6BOvdvu0AVyjnEr7O8nUnYU/D48hG6 E8ANiF34Bdi7w9YHsXFl8/oIAPlm7tE= X-Received: by 2002:adf:de08:: with SMTP id b8-v6mr655080wrm.39.1528817018416; Tue, 12 Jun 2018 08:23:38 -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.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Jun 2018 08:23:37 -0700 (PDT) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Tue, 12 Jun 2018 17:23:05 +0200 Message-Id: <20180612152306.25998-11-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 10/11] UefiCpuPkg: 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 --- UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.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/UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c b/UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c index ad3e9090c63f..3ca9ac64a0f8 100644 --- a/UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c +++ b/UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c @@ -82,6 +82,7 @@ SecPlatformDisableTemporaryMemory ( **/ VOID EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( VOID )