]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
loader: improve lua ACPI detection and handling
authorR. Christian McDonald <rcm@FreeBSD.org>
Mon, 20 Nov 2023 17:13:08 +0000 (12:13 -0500)
committerR. Christian McDonald <rcm@FreeBSD.org>
Mon, 20 Nov 2023 19:03:59 +0000 (14:03 -0500)
commite0f3dc82727f236b0bea495d8a4d6e6dc630854d
tree23a063605a77ab1af00d6a31b62248f4553a2ac1
parent0b01d45783c3ee5a544c882d1b147e4a60382c41
loader: improve lua ACPI detection and handling

This is a follow-up patch to https://reviews.freebsd.org/D42459
that modifies the loader lua to use the correct loader variables
for determining ACPI availability.

This also fixes a bug where ACPI can be inadvertently disabled when
setting System Defaults at the loader menu.

Reviewed by: imp, kevans
Approved by: kp
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D42483
stand/lua/core.lua
stand/lua/core.lua.8
stand/lua/menu.lua