git: 3463f0d85a02 - stable/14 - loader/4th: Move from hint.acpi.0.rsdp to acpi.rsdp
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 28 Dec 2024 18:56:51 UTC
The branch stable/14 has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=3463f0d85a02ab5c50c9ad06f5b7e3e0c52e2b44
commit 3463f0d85a02ab5c50c9ad06f5b7e3e0c52e2b44
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-10-04 04:50:50 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-12-28 18:13:19 +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
(cherry picked from commit 37798b1d5dd12cd5e842b6f99135a2e4af8cf9e0)
---
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).