Follow up to r336919 and r336921: s/efi.rt_disabled/efi.rt.disabled/
The latter matches the rest of the tree better [0]. The UPDATING entry has been updated to reflect this, and the new tunable is now documented in loader(8) [1]. Reported by: imp [0], Shawn Webb [1]
This commit is contained in:
parent
dfa6eec2b1
commit
1ddc8a8e68
2
UPDATING
2
UPDATING
@ -34,7 +34,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
|
|||||||
20180730:
|
20180730:
|
||||||
amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
|
amd64/GENERIC now has EFI runtime services, EFIRT, enabled by default.
|
||||||
This should have no effect if the kernel is booted via BIOS/legacy boot.
|
This should have no effect if the kernel is booted via BIOS/legacy boot.
|
||||||
EFIRT may be disabled via a loader tunable, efi.rt_disabled, if a system
|
EFIRT may be disabled via a loader tunable, efi.rt.disabled, if a system
|
||||||
has a buggy firmware that prevents a successful boot due to use of
|
has a buggy firmware that prevents a successful boot due to use of
|
||||||
runtime services.
|
runtime services.
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
.\"
|
.\"
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd May 15, 2018
|
.Dd July 30, 2018
|
||||||
.Dt LOADER 8
|
.Dt LOADER 8
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -588,6 +588,10 @@ explicitly.
|
|||||||
Other variables are used to override kernel tunable parameters.
|
Other variables are used to override kernel tunable parameters.
|
||||||
The following tunables are available:
|
The following tunables are available:
|
||||||
.Bl -tag -width Va
|
.Bl -tag -width Va
|
||||||
|
.It Va efi.rt.disabled
|
||||||
|
Disable UEFI runtime services in the kernel, if applicable.
|
||||||
|
Runtime services are only available and used if the kernel is booted in a UEFI
|
||||||
|
environment.
|
||||||
.It Va hw.physmem
|
.It Va hw.physmem
|
||||||
Limit the amount of physical memory the system will use.
|
Limit the amount of physical memory the system will use.
|
||||||
By default the size is in bytes, but the
|
By default the size is in bytes, but the
|
||||||
|
@ -136,7 +136,7 @@ efi_init(void)
|
|||||||
int rt_disabled;
|
int rt_disabled;
|
||||||
|
|
||||||
rt_disabled = 0;
|
rt_disabled = 0;
|
||||||
TUNABLE_INT_FETCH("efi.rt_disabled", &rt_disabled);
|
TUNABLE_INT_FETCH("efi.rt.disabled", &rt_disabled);
|
||||||
if (rt_disabled == 1)
|
if (rt_disabled == 1)
|
||||||
return (0);
|
return (0);
|
||||||
mtx_init(&efi_lock, "efi", NULL, MTX_DEF);
|
mtx_init(&efi_lock, "efi", NULL, MTX_DEF);
|
||||||
|
Loading…
Reference in New Issue
Block a user