From patchwork Wed Jan 16 20:50:59 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ard Biesheuvel X-Patchwork-Id: 155768 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp1122089jaa; Wed, 16 Jan 2019 12:51:08 -0800 (PST) X-Google-Smtp-Source: ALg8bN4LBjiIZb4n8+a11IQBbCMgjORDP3/E581+RsCdECB7VmghXB60zq70cvWDaWivH2vrpL6B X-Received: by 2002:a17:902:2b8a:: with SMTP id l10mr11321313plb.70.1547671868143; Wed, 16 Jan 2019 12:51:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547671868; cv=none; d=google.com; s=arc-20160816; b=oY3Uy22koHRSKmorN9WzKe7kA0TMLS/z+k7maFuvR+0gFPdNgjlr7fqHNcnfTuL8WO u29XFEu/Y6OJB5llBNW8zCqVXjZwx0i19BnRfOPWXIonxv1l9L5J3f/u6mXLZRfvJml5 1MMZYLhcZZqMJnDc0w2+CDLh6Elm+XT+u+mi9e4Mcs7ki4tXl3whxDDB0Zgf2H8vFlxL YSHBetwD042DFRpe/wY9rIJrG1zrXzW+l0Vechl7BDBwcvc4q/IQRQpj69U96RvNU7Oi QjnikoM0wuTsz9ZVGYlCafcP28TT2aDqe70XMirP9LS6JgLDVcXgvOMM0OlGnVqB/MN9 NOUQ== 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 :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to; bh=EJz6fg8CFsp1xcDkzzWBzpGo4GvthfOla4SanlDSIYw=; b=DMcMJIhs55CQ51wfSBzfT4fVhiuRQeoslnZYoU1tvlO9Yi3F103wcnSqRCJwkvLr+L QKRP7mczDjx5/bLfEjP8CaaMMnYBcIIybOBOfHbdHLLvsORwWDqLU2LxGyvLfkiEgrpa k8EHSfZRzKvEx9bZ/6C72HYI2vWKdqWRVTjTbKAsBhsvyBWu70DwtlG8CWw6QZr98yLj 8jm4wGZjLdLGHSr3BvrzyQyWQXY7ayE6lVfit5XtTbM2QBnKhfnsbYPyta9xkSnv9QSF JwiN+bUDzwg6so7TrJGci5SyHiLIQmiGSJO8jpLEMu9bLMGpbWtLXUt+lUj8Xl+2ZBjd zf6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b="brxR/VTU"; 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 c10si7169554pll.271.2019.01.16.12.51.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 12:51:08 -0800 (PST) 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="brxR/VTU"; 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 A0BFC211B6992; Wed, 16 Jan 2019 12:51:06 -0800 (PST) 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:4864:20::343; helo=mail-wm1-x343.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) (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 5C899211A759E for ; Wed, 16 Jan 2019 12:51:03 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id g67so3510496wmd.2 for ; Wed, 16 Jan 2019 12:51:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=LFjF6SPUY3S54p35moGWjfQAzrmHJ1PuMo42/EV1ACw=; b=brxR/VTULZanlXoulqEdqoaKObOXc8JOELfEFOaQHq4qkZzKCitxl4V5KIfWEGI3SE juh/AQ6cVxgXDHwTiz4EHR7zqdOgFh55dxpRTXJyzMrfHaAOdOPPMNBj2wz+AgEPu294 hAB8eiMoLl+wxq4x5imnLjWMoChiW3AeiSlL8= 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; bh=LFjF6SPUY3S54p35moGWjfQAzrmHJ1PuMo42/EV1ACw=; b=PsXNyYNUi4Nrzio1sXQFbtAPMDZgxo+tjQEVfxvjIaOQSDVofuu1KzfeZCuwVk7Nc7 6oTQhLtbIbgSESpPGguw+eadw2ORTPIg6c8sdpxN0F58G42E+BOhpVqguwJzXaHqJcyc 3GqGOmCmvjCW9fHfP12MhOXXv3r1ZS3GpiFb6mboFG7Folxg+Gasr+9SGHqK+a1Czzs8 F83sCKma1hsfxLFdfZmi+86KvP47KeKv/9AK99AqtnBiDxguwTXkMELRae0xbN7hzs+u xMborpTlHmW9PjB96CXlRbAAznjqUmrlkAHK/ipbtDv1UQIqQMNEXOPkezFEiCyO/p7A ErqQ== X-Gm-Message-State: AJcUukfM9INCzEFQ29r3lGnNRcH52fuAGRUimSd8krpnbnF0IOARPjrS VbtkiIgNglWhnu8av9Nsl6MtiKNWP2dcBQ== X-Received: by 2002:a1c:b70a:: with SMTP id h10mr8642830wmf.125.1547671862243; Wed, 16 Jan 2019 12:51:02 -0800 (PST) Received: from dogfood.home ([2a01:cb1d:112:6f00:28df:207d:542c:1451]) by smtp.gmail.com with ESMTPSA id s5sm24172733wmh.37.2019.01.16.12.51.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 16 Jan 2019 12:51:01 -0800 (PST) From: Ard Biesheuvel To: edk2-devel@lists.01.org Date: Wed, 16 Jan 2019 21:50:59 +0100 Message-Id: <20190116205059.3488-1-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 Subject: [edk2] [PATCH] ArmPkg/DefaultExceptionHandlerLib: add missing UefiLib include X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: edk2-devel-bounces@lists.01.org Sender: "edk2-devel" Commit 31f5388006fc ("ArmPkg/DefaultExceptionHandlerLib: use console if available") added calls to AsciiPrint() to the default exception handler code, but the ARM version did not include UefiLib.h yet (even though the .INF declares it unconditionally), resulting in build breakage. So add the missing include. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Ard Biesheuvel --- ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.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 Reviewed-by: Leif Lindholm diff --git a/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c b/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c index 2e0cfb2d4e03..476ec2061084 100644 --- a/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c +++ b/ArmPkg/Library/DefaultExceptionHandlerLib/Arm/DefaultExceptionHandler.c @@ -22,6 +22,7 @@ #include #include #include +#include #include