From nobody Thu Jan 18 16:41:22 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TG7mf6mBfz56Rsm; Thu, 18 Jan 2024 16:41:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TG7mf5tkjz3x3Q; Thu, 18 Jan 2024 16:41:22 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705596082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Df2Crbtmgi4LXARGbANoWvB9ENUck2H3XitnKvv+PpE=; b=qv0OmPvjLKkIgo10aRvfrwWvPLYdFDmXMB40NIOb4exipHtm0aIpQ+ubKjk02AuNlP73Ia frq31EQ/Koy+LzvHveDw9uVTJdEmI8AcJ89LFBD4JYCzZXWU8MhlABphG+XkK5P1/1y2O0 9bh4CiLCvBND56t25Nno7G7QUxeR1PDn8wa6ssFdMZQDnKU2j8U5JzAYkuaWc7er7EdfJk c/98Kq/FerlkwzPXXU9XZ0s62GtxbwkF73vAswYZiRP+CjXh4UWDhs/bEpFsxa+deEQbWe m/kl+NlHIhf6e42Ne1OqCSKfQmZqyOBnMBLd1BnRuPGTuyDUUdS8vsn3gTekbA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705596082; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Df2Crbtmgi4LXARGbANoWvB9ENUck2H3XitnKvv+PpE=; b=e1/SzOVbbDxGjWC7qrvIBKtGTmUQT3pDKi8GvS5MVDoCKAh78YjiQhgI8btpoZhrZe3iH5 Stw8HjOOIVBb+jgF/ddzf3sh3fHbXS+wNDbvQPbIWF2BjwvqvWKmBWuwQ0I0A4sM35Gweq ddOiqUwnZ9Sd8e6mB8wEKbJcd7cWexs0DpMaDUs9os8gGpxQJDQNHZOv+HImdWZ4tZcDRN Q4V68xDNJqMXOytn8rFFgDoGCIe4VE9HE8AwZt5TQiz6WpnP1oDPAI2HLHI5US2V3091mg tBmzmQsvvmiYVauIcplN2M/NFsa0ujO15JJ8MsqiXdtVy704xpVNW8WZWtCTNA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705596082; a=rsa-sha256; cv=none; b=BWb/bjZ4HhKZMCcXf5upi1hZoT64xWlOO6iYPmd5fJ8OzzT8+/G3/ssM8XzWYSikDdtHp+ V6OdtzHHaoZI9DoFVaE00hr2pbtoYOeXooEi+b5cJlc5i5PKNG0UCAYXy6hRbmT/dnuJtO J+Wnk30CA32sYoBE+hC+QdaqO6iml9yXavChJj1M4SRtBeSwMjMNviP3JLhWgVf9qfPSpO n4qkW5ibYO/Dgt+l5MdP2Drgqbp10gBSrueDEfK9Wj8+WUEXyzCVq+xzqwoU3OtD3LIyJ/ R11PNLLQpk8LnT6Lqnj8T7/HJkL2ax40yK+NcC8x4/qdKVNs2VUDI/MbSWHHzg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TG7mf4xNmzFP8; Thu, 18 Jan 2024 16:41:22 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40IGfMRc005398; Thu, 18 Jan 2024 16:41:22 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40IGfMO4005395; Thu, 18 Jan 2024 16:41:22 GMT (envelope-from git) Date: Thu, 18 Jan 2024 16:41:22 GMT Message-Id: <202401181641.40IGfMO4005395@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Doug Rabson Subject: git: 9fac39c63c12 - main - arm64: fix the handling of DDB symbols in early boot List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dfr X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 9fac39c63c123f02c8022223007772bdb3bee1d3 Auto-Submitted: auto-generated The branch main has been updated by dfr: URL: https://cgit.FreeBSD.org/src/commit/?id=9fac39c63c123f02c8022223007772bdb3bee1d3 commit 9fac39c63c123f02c8022223007772bdb3bee1d3 Author: Doug Rabson AuthorDate: 2024-01-18 16:41:02 +0000 Commit: Doug Rabson CommitDate: 2024-01-18 16:41:02 +0000 arm64: fix the handling of DDB symbols in early boot The code which installs the kernel symbol table wasn't being compiled because the file did not include opt_ddb.h Reviewed by: kevans emaste MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D43490 --- sys/arm64/arm64/machdep_boot.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/arm64/arm64/machdep_boot.c b/sys/arm64/arm64/machdep_boot.c index 19ad2977614f..b8e0c734bbb4 100644 --- a/sys/arm64/arm64/machdep_boot.c +++ b/sys/arm64/arm64/machdep_boot.c @@ -27,6 +27,7 @@ */ #include "opt_platform.h" +#include "opt_ddb.h" #include #include @@ -48,6 +49,10 @@ #include #endif +#ifdef DDB +#include +#endif + extern int *end; static char *loader_envp;