1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-24 07:40:52 +00:00

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
This commit is contained in:
Warner Losh 2024-10-03 22:50:50 -06:00
parent 0bd23ca0ee
commit 37798b1d5d
2 changed files with 6 additions and 6 deletions

View File

@ -147,7 +147,7 @@ only forth definitions
; ;
: acpipresent? ( -- flag ) \ Returns TRUE if ACPI is present, FALSE otherwise : acpipresent? ( -- flag ) \ Returns TRUE if ACPI is present, FALSE otherwise
s" hint.acpi.0.rsdp" getenv s" acpi.rsdp" getenv
dup -1 = if dup -1 = if
drop false exit drop false exit
then then

View File

@ -22,7 +22,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.Dd August 6, 2013 .Dd October 4, 2024
.Dt MENU.4TH 8 .Dt MENU.4TH 8
.Os .Os
.Sh NAME .Sh NAME
@ -210,8 +210,8 @@ is enabled
When set to a number When set to a number
.Dq Li x .Dq Li x
associated with a given menuitem, that menuitem will only appear when associated with a given menuitem, that menuitem will only appear when
running on i386-compatible hardware, running on ACPI-compatible hardware,
.Va hint.acpi.0.rsdp .Va acpi.rsdp
is set (indicating the presence of hardware ACPI support as detected by is set (indicating the presence of hardware ACPI support as detected by
.Xr loader 8 ) , .Xr loader 8 ) ,
and and
@ -224,10 +224,10 @@ but continue to function as expected.
On i386-compatible hardware lacking ACPI support (as detected by On i386-compatible hardware lacking ACPI support (as detected by
.Xr loader 8 ) , .Xr loader 8 ) ,
subsequent menuitems will retain their associated numbers. subsequent menuitems will retain their associated numbers.
.It Va hint.acpi.0.rsdp .It Va acpi.rsdp
Set automatically by Set automatically by
.Xr loader 8 .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 Effects the display of the
.Dq Li menu_acpi .Dq Li menu_acpi
menuitem (if configured). menuitem (if configured).