From nobody Tue Oct 15 11:13:58 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 4XSWgp2Qx4z5Ymrv; Tue, 15 Oct 2024 11:13:58 +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 4XSWgp1vPpz4ZBy; Tue, 15 Oct 2024 11:13:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728990838; 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=JFE3u4t9R8XHTrcPu0FeDoPUgXZMYNwT3IhRDUkyFb4=; b=eKIsIEv+NtjHEuqqK8bRp/d4XSboL2r9LZ93PjMpxyYDymZo/s+HcdS9ZASjjdterZO+rN 3LGyRjJTY6aN2nv7EllLKCeItilbLta0H3Z1R/QgWYAwX+Teo8EOGIXDonjgaW6VsBqvmq OOm59SnGA69Rvas8oM5APWRv5U2dcERURshVesAHphEQwGhRMiUhpYZl2pS4Gf6ZfxL41a h+4LFxDP1pbBUWszd+9qKWT14U/6qda+7ngB70fSxe7qINIJTL/UHdHCytUFHATqP74Tlw ZFdljSPVh86PFej9+31ZCc0rNi2+TSZ75uAOU2Eve2fsPX/VWrRioGFaE47enA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728990838; 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=JFE3u4t9R8XHTrcPu0FeDoPUgXZMYNwT3IhRDUkyFb4=; b=XsT6zOqQSBJ/qUreq1URaD4D3bY+1UN6i/IqblhkaLupoq0Me4TaiIMkhQs0lP3Jpam4bQ lnKDI0UnEaM4/pZ9PGZylJRMgVqJe8Y2zA8GvcsyHoaDOQ4xlVkiGdc5yaX990yleLqv+v cSMJ0z9ChSe9gB+7okeJXt89mYXrQ0JzqhOjI4UQZ4YuCLF3vkKdWRl3qtsacjC28POToG H8UXBI7sXBXhUwvYAF7CPxJNnxCBx8j/g1D7hi4kgFvGlOPwzqvPUaU0hRshyHExx95VyP 4dP1iRjPHQo7Gd2Upiaikc/jHXloWAttN/cHsV5kakpEoCHyftE0qZZkjUQExg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728990838; a=rsa-sha256; cv=none; b=QmuF+weejWNE6Bg2iJgveBVBDngFswzUxz/T1a00CJit9FhXiXzy3xWRMsliqLZ8Fdoxby Z+jUiUPU4alv2dJndsz8qhtdqGm8L6nYsmhCv8yKVj0oimonkthC+KwGwVntnY/Ieb3nyH pAuqxw/1DJQ6433nh2C6E986NG1kkqt/GmXYfv8wUk7qgMFsu4/CqI833a1PHx/daa4rhI N0rTyPdLsZfkZzo9VXKZTxaXltSDH/7sJLXqpTgaCOe3DNYuvpCEt08NzbXDxULw0J22Ua 8gffipo3Sqf3rWPB/ZzmSRpLHnMX+BKGZ2u7P18Uu+yI1CHew5jbL35kBUVEMw== 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 4XSWgp1VswzKTS; Tue, 15 Oct 2024 11:13:58 +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 49FBDwHZ097717; Tue, 15 Oct 2024 11:13:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49FBDwXk097714; Tue, 15 Oct 2024 11:13:58 GMT (envelope-from git) Date: Tue, 15 Oct 2024 11:13:58 GMT Message-Id: <202410151113.49FBDwXk097714@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: 5d3fb72667e5 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 5d3fb72667e5794bf16756e00a87338f4acb7f90 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=5d3fb72667e5794bf16756e00a87338f4acb7f90 commit 5d3fb72667e5794bf16756e00a87338f4acb7f90 Author: Warner Losh AuthorDate: 2024-10-15 11:05:07 +0000 Commit: Warner Losh CommitDate: 2024-10-15 11:05:07 +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 --- 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);