From nobody Thu Dec 26 01:04:56 2024 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) smtp.mailfrom=edk2-devel-bounces@lists.01.org Return-Path: Received: from ml01.01.org (ml01.01.org [198.145.21.10]) by mx.zohomail.com with SMTPS id 1507716968908528.558458189259; Wed, 11 Oct 2017 03:16:08 -0700 (PDT) Received: from [127.0.0.1] (localhost [IPv6:::1]) by ml01.01.org (Postfix) with ESMTP id 5DB1021FC7475; Wed, 11 Oct 2017 03:12:36 -0700 (PDT) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (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 2B74A21EA15D8 for ; Wed, 11 Oct 2017 03:12:35 -0700 (PDT) Received: by mail-lf0-x236.google.com with SMTP id a16so1499884lfk.0 for ; Wed, 11 Oct 2017 03:16:04 -0700 (PDT) Received: from gilgamesh.semihalf.com (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id 84sm1539781ljc.67.2017.10.11.03.16.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 11 Oct 2017 03:16:01 -0700 (PDT) X-Original-To: edk2-devel@lists.01.org Received-SPF: none (zoho.com: 198.145.21.10 is neither permitted nor denied by domain of lists.01.org) client-ip=198.145.21.10; envelope-from=edk2-devel-bounces@lists.01.org; helo=ml01.01.org; Received-SPF: None (no SPF record) identity=mailfrom; client-ip=2a00:1450:4010:c07::236; helo=mail-lf0-x236.google.com; envelope-from=mw@semihalf.com; receiver=edk2-devel@lists.01.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=4kB0WtZ99414zik4Tx61FAcKtHMMNOTx33aTZ2ghG5s=; b=mAWd+FG7Z/Wu4ZNG+g3+Xu9/pDzqHl16tbQF7gDPJx/tfLjtDnlZTmsuvFgjSV5Kle wLRPQELdc71+oOudaXyDomhuP8k3A3Hu7ATBXUyY3bpBVGR8LmNl9n3jnYKC30tOIb8h u7KrdwVhvsn0WDsEl5jb39gfCio5IPPos+MGfuFK+hfo7pFB2+YC8kU/oOxswIClhUFm Bd0RuaUdl5gjjXOkhE9s4pmJhhfeksSDrNRQqYDuh22fzBLcILkAjLlIjEEbVCEpibSn wL1UzWXY1fL2GZ+9+ffWCrsRfbtoKvkd6amjd1E2vndxcRP8hj2Tva1NvGZoBINtbIlw m4eA== 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=4kB0WtZ99414zik4Tx61FAcKtHMMNOTx33aTZ2ghG5s=; b=i/9m6osgObJ6Gv2UYKKLqM4qIGVgoyWiSBdsXXuLzOajAKvK9B8U4PzMF1gwOzJFdj ClYSnJZJROT272OVICDzZaIleX/qO0yhOT3gbeUzlE2yVtZ4UyYy6BUl+Psm8QykXDXK DXF6bxw5gdbYI6e+zvXNJj5KrUGB3ga7UwsfOH9qKzaXJEdEIuquxUBFhegQZHVdINVp gDgjixcyKFSskiFuORokaFWcZEI5Cam2mQ9VmHgqi3idoM5uAzOh6tJhgOCFw1r/wZlO wEjvY/XDFOk5jMOp65v9BKgdzFc/4exzB3uvAnLZxQIIM9+d/P6SJtkygZYdnvpN7xbx CgKQ== X-Gm-Message-State: AMCzsaVvb2zcmTF2n1DW0tssBX8kN0kVn9w7yq5ehlbxYybxztrE4tvJ Vy6tYuTErc//KDH6SmcoscheAxbfNfI= X-Google-Smtp-Source: AOwi7QBA/8zAFXVigvHCnJ8ktLO/T6DM9GqZSsh3ZHkzoQoTkOhoKCogl3FLa/yBqbUB38ePohA/hA== X-Received: by 10.25.77.75 with SMTP id a72mr5784686lfb.262.1507716962558; Wed, 11 Oct 2017 03:16:02 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Date: Wed, 11 Oct 2017 12:15:30 +0200 Message-Id: <1507716939-31798-4-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507716939-31798-1-git-send-email-mw@semihalf.com> References: <1507716939-31798-1-git-send-email-mw@semihalf.com> Subject: [edk2] [platforms: PATCH v2 03/12] Marvell/Armada: Armada70x0Lib: Terminate call stack list at entry X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: jinghua@marvell.com, ard.biesheuvel@linaro.org, leif.lindholm@linaro.org, nadavh@marvell.com, neta@marvell.com, kostap@marvell.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_4 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" From: Ard Biesheuvel To avoid dereferencing junk when walking the call stack in exception handlers (which may prevent us from getting a full backtrace), set the frame pointer to 0x0 when first entering UEFI. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel Signed-off-by: Marcin Wojtas Reviewed-by: Leif Lindholm --- Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelper.S = | 1 + 1 file changed, 1 insertion(+) diff --git a/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatf= ormHelper.S b/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlat= formHelper.S index 9265636..72f8cfc 100644 --- a/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelp= er.S +++ b/Platform/Marvell/Armada/Library/Armada70x0Lib/AArch64/ArmPlatformHelp= er.S @@ -16,6 +16,7 @@ #include =20 ASM_FUNC(ArmPlatformPeiBootAction) + mov x29, xzr ret =20 //UINTN --=20 2.7.4 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel