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:c09::231; helo=mail-wm0-x231.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org 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) 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) 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) 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: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: [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: , X-List-Received-Date: Tue, 12 Jun 2018 15:23:29 -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 --- 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: 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'); EFI_STATUS EFIAPI +EFI_ENTRYPOINT _ModuleEntryPoint ( UINT32 BiosMemoryMapBaseAddress ) -- 2.17.1