From nobody Sat Dec 28 18:56:55 2024 X-Original-To: dev-commits-src-all@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 4YLBRr4cYZz5j39W; Sat, 28 Dec 2024 18:56:56 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YLBRq72Jbz5376; Sat, 28 Dec 2024 18:56:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735412216; 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=VU35OLp4zaOGadrUB/c0JPwypcjcCFnKOKPSA5qTwp4=; b=PJo0Jo2IjKcjJHYQHxVMPrGaxDfAc74kLYzmvCu5D5rgryV9S1bAiPZx4yNi0frmK4bXLz 1aIVMhL3ElCoCRAcXhm080bZ5dnrINc0Nw8uJNXbTb8FcBSRVNYLX0F9toNvt7+rTCXZEW fdKEMID+ruoYQq5CPls2nPiYHFTdzv1EqJ8VuGu0ii4CEK1CY2r382ZTjqd+F/LqZwA14+ 5ex6KzcT8vdKuixWsQ0N6g43pEX9FB/7ol+TVzit2+7vN3pp6JZ8L6LhaZuXK0uR4mrLRE CYqg8sj+DyuXJDJPhbPvQFTvG9MgPaPd8QI04jFfmOmblsun/QVJvygaFv0INA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735412216; 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=VU35OLp4zaOGadrUB/c0JPwypcjcCFnKOKPSA5qTwp4=; b=Y4JMjWvlHQBK6BDH5AcKiOUwex1ZVfSsP5Qbupx+rYKZ0nJ8qxaYouxF/ucJ2ygnaG97OL Q4QsrXrUJzpiNeRC6FI1K9zLkkxhoQFbb8QPrT33B3wi3fHtvbA5gUhwEksln5/rv0aaYO u0KXS2MJdl0Qmu9Kg7mpF5LuHQltSI1LPG47eEy3PvKEQqtFyqSpq/OiBR2xR55K+W1FHe dTLpFK0Ld4/o9EDWCLAZBWPv797cnk08pwwESTgBPTblxOiC7zJAbxtzfTRmEyKHVBpO3C Wk2wlw7PjIKRhpws/6zohQNBRtbKskC9TNWfOeVzR+06zdpx7WcArH/6jmhJ5w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735412216; a=rsa-sha256; cv=none; b=NVqC6rPQqN5DdGFvMSq/G2TNxJDMjTsfhc+0eXFmwLnJ6G3eVJ1P/AvTOJPA6qd4OTqeh5 GPHHpqQHBTuqD2n1hDxjY9Bc3fn+DozZ3/gIQ9AwtyXbOUomJ+bLtr84cvmxFCqsdPC34n 60oa4r9DGuM5lw/nwePVNMUVH4Cvsz84WkllOAOFYTjmIURNPEILOZm1kM2pkxB9xVDr+p 3xw09LjevSKutKLykhQLGd0QLqsRdB+IBK3uA62c/ffxTPvm8KLpZbzbaNGnWImgT37U47 GbmN9V8NRHJidXiVsv/5Q/kQYKfGzM5FtsoBM2xuQK0a1nTw10ofL2h59MsG7g== 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 4YLBRq5YM7zcjL; Sat, 28 Dec 2024 18:56:55 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BSIutRK039081; Sat, 28 Dec 2024 18:56:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BSIutV9039078; Sat, 28 Dec 2024 18:56:55 GMT (envelope-from git) Date: Sat, 28 Dec 2024 18:56:55 GMT Message-Id: <202412281856.4BSIutV9039078@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: c2623a73ae0c - stable/14 - acpidump: Move to acpi.rsdp List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: c2623a73ae0cb973ac6fca9052f6b15046351438 Auto-Submitted: auto-generated The branch stable/14 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=c2623a73ae0cb973ac6fca9052f6b15046351438 commit c2623a73ae0cb973ac6fca9052f6b15046351438 Author: Warner Losh AuthorDate: 2024-10-15 11:05:07 +0000 Commit: Warner Losh CommitDate: 2024-12-28 18:16:12 +0000 acpidump: Move to acpi.rsdp Switch from the long obsolete hint.0.acpi.rsdp to acpi.rsdp to get the root of the ACPI tables. MFC After: 1 week Sponsored by: Netflix Reviewed by: andrew, markj Differential Revision: https://reviews.freebsd.org/D47079 (cherry picked from commit 5d3fb72667e5794bf16756e00a87338f4acb7f90) --- usr.sbin/acpi/acpidump/acpi_user.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr.sbin/acpi/acpidump/acpi_user.c b/usr.sbin/acpi/acpidump/acpi_user.c index 4b9209e53507..daa4118089cf 100644 --- a/usr.sbin/acpi/acpidump/acpi_user.c +++ b/usr.sbin/acpi/acpidump/acpi_user.c @@ -42,7 +42,7 @@ #include "acpidump.h" -static char hint_acpi_0_rsdp[] = "hint.acpi.0.rsdp"; +static char acpi_rsdp[] = "acpi.rsdp"; static char machdep_acpi_root[] = "machdep.acpi_root"; static int acpi_mem_fd = -1; @@ -172,7 +172,7 @@ acpi_find_rsd_ptr(void) addr = 0; /* Attempt to use kenv or sysctl to find RSD PTR record. */ - if (kenv(KENV_GET, hint_acpi_0_rsdp, buf, 20) > 0) + if (kenv(KENV_GET, acpi_rsdp, buf, 20) > 0) addr = strtoul(buf, NULL, 0); if (addr == 0) { len = sizeof(addr);