1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-21 07:15:49 +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
s" hint.acpi.0.rsdp" getenv
s" acpi.rsdp" getenv
dup -1 = if
drop false exit
then

View File

@ -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).