From nobody Sat Dec 28 18:55:02 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 4YLBPg1f58z5j3Bf; Sat, 28 Dec 2024 18:55:03 +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 4YLBPf65NFz50MQ; Sat, 28 Dec 2024 18:55:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735412102; 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=YiOBqvti6sUki+HL7Ze4UVJOPKr3xmewYY5Dnk8uIRI=; b=mjH6FmCL4p75F9+ZDosHoDdYbh0bhpbyaomJ9yGgSKYXKlVgUAOI8/gX2RalFFJbxhFB7W DX06XmvKXJjlw/QGvyaTi5h1Nays+UkbV4AMsDPt4ahQj+3CekXCO6UfCPlutozodryUhr y5JWB2yQyrfZ1j/Ec2qBdvMaHLGciMCtCkwCFS8IXQaCChUUiR3Juqf0XM8z0Wi47JR9fo AmnSTMF/FWOb8nAk9FMYWUpGqpv+GqzzCZMAlvVAbSW+rgyfZdbqnWOJyuRhMrBFTkuAHH JwntFvcrNVu6LtkEaeOVv/hhV1FEBe+mLSgxjSGhhEBGImAlpOl1qgCVVAPyAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1735412102; 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=YiOBqvti6sUki+HL7Ze4UVJOPKr3xmewYY5Dnk8uIRI=; b=Uo86P5LvJN7ae3Ppte4NylIj7SPYG4FlVhJGxZ+t6mjR8Yl7KG+bQh3yEHaQ6laKGQNpTr Hm7QrcjlujewcI6u1kTAdjostGcoHImcWz1PI9tkD5oDEw+m64RfiN65A1A5QP2LcMfTcj IZBV2Zb9W8GkdQrUqZ2qjTTf2HBjnjxrRNLTw4cyxolkkQ920mF/Bs56kWU/iMecwpesrv Z/II3sF+XdmvFGh/iDjw0Thdf6Kvnv127c1KxHTRx7NTUn2icA+0JyN79NQbchLhcGHg8R ZiBecm0ngPioTgzPiYq5/Vvjtkwu/vwmoLSqKgx7cTbYN5CFSzTksTon+3is0A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1735412102; a=rsa-sha256; cv=none; b=ijKCfcz1VfBQJ4DmzQdnL5xvaKl5hnLlui9uw1VvuRZkDj0SmTQTWa2+fV1PfEjKp7Mu8k uE1Kytu2kJqu/VLgEHGIGrpcRfVcFxoDEZx3TYsGPVtI0uQFWB/kJ3CeHZRikOJRf4IYx2 /juvXLmb8FT2cGAbcXpUDBxUqXcOXmhUrACAxzse4vZFbBAhiZW/HrLf4M/3Pz6s416J3t cFOiNWrbVzX3hp+2XYjHF0WggfMNhGCUKMCRfAsvV2nmFDgwJbct+hpUskGfUjFZ4lQg8C NOp8dzcNdW5ZwfC0zKYScF45oOnDj1U5gRG4ca1veDRnj/9wqod3kbYCGrl+ZQ== 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 4YLBPf5hnFzcNP; Sat, 28 Dec 2024 18:55:02 +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 4BSIt27S037782; Sat, 28 Dec 2024 18:55:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BSIt2dq037779; Sat, 28 Dec 2024 18:55:02 GMT (envelope-from git) Date: Sat, 28 Dec 2024 18:55:02 GMT Message-Id: <202412281855.4BSIt2dq037779@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: 0601bbbea8b3 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: 0601bbbea8b35cc1d49450db452304fd00734f2f Auto-Submitted: auto-generated The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=0601bbbea8b35cc1d49450db452304fd00734f2f commit 0601bbbea8b35cc1d49450db452304fd00734f2f Author: Warner Losh AuthorDate: 2024-10-15 11:05:07 +0000 Commit: Warner Losh CommitDate: 2024-12-28 18:16:09 +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);