git: 37798b1d5dd1 - main - loader/4th: Move from hint.acpi.0.rsdp to acpi.rsdp

From: Warner Losh <imp_at_FreeBSD.org>
Date: Fri, 11 Oct 2024 21:41:03 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=37798b1d5dd12cd5e842b6f99135a2e4af8cf9e0

commit 37798b1d5dd12cd5e842b6f99135a2e4af8cf9e0
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-10-04 04:50:50 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-10-11 21:40:53 +0000

    loader/4th: Move from hint.acpi.0.rsdp to acpi.rsdp
    
    Use acpi.rsdp to test for ACPI. 4th wasn't updated with the old compat
    was dropped a while ago.
    
    MFC After:      1 week
    Sponsored by:   Netflix
---
 stand/forth/menu.4th   |  2 +-
 stand/forth/menu.4th.8 | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/stand/forth/menu.4th b/stand/forth/menu.4th
index 87b4efb8c185..cc9b0c867e87 100644
--- a/stand/forth/menu.4th
+++ b/stand/forth/menu.4th
@@ -147,7 +147,7 @@ only forth definitions
 ;
 
 : acpipresent? ( -- flag ) \ Returns TRUE if ACPI is present, FALSE otherwise
-	s" hint.acpi.0.rsdp" getenv
+	s" acpi.rsdp" getenv
 	dup -1 = if
 		drop false exit
 	then
diff --git a/stand/forth/menu.4th.8 b/stand/forth/menu.4th.8
index bd066a8b706f..2421fe03be0c 100644
--- a/stand/forth/menu.4th.8
+++ b/stand/forth/menu.4th.8
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 6, 2013
+.Dd October 4, 2024
 .Dt MENU.4TH 8
 .Os
 .Sh NAME
@@ -210,8 +210,8 @@ is enabled
 When set to a number
 .Dq Li x
 associated with a given menuitem, that menuitem will only appear when
-running on i386-compatible hardware,
-.Va hint.acpi.0.rsdp
+running on ACPI-compatible hardware,
+.Va acpi.rsdp
 is set (indicating the presence of hardware ACPI support as detected by
 .Xr loader 8 ) ,
 and
@@ -224,10 +224,10 @@ but continue to function as expected.
 On i386-compatible hardware lacking ACPI support (as detected by
 .Xr loader 8 ) ,
 subsequent menuitems will retain their associated numbers.
-.It Va hint.acpi.0.rsdp
+.It Va acpi.rsdp
 Set automatically by
 .Xr loader 8
-on i386-compatible hardware when ACPI support is detected at boot time.
+on ACPI-compatible hardware when ACPI support is detected at boot time.
 Effects the display of the
 .Dq Li menu_acpi
 menuitem (if configured).