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::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-Google-Smtp-Source: ADUXVKJfR6LMF5ZGRTcJA9mL9SUrwj8U3riO9HnQ8JhAtuoX0XxV0HgxbTohjG3+OmQ9cX8+t65RzA== 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 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: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: [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: , X-List-Received-Date: Tue, 12 Jun 2018 15:23:40 -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 --- UefiCpuPkg/Library/PlatformSecLibNull/PlatformSecLibNull.c | 1 + 1 file changed, 1 insertion(+) 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 ) -- 2.17.1