Author: kevans
Date: Mon Jul 30 18:13:20 2018
New Revision: 336924
URL: https://svnweb.freebsd.org/changeset/base/336924

Log:
  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]

Modified:
  head/UPDATING
  head/stand/man/loader.8
  head/sys/dev/efidev/efirt.c

Modified: head/UPDATING
==============================================================================
--- head/UPDATING       Mon Jul 30 17:59:18 2018        (r336923)
+++ head/UPDATING       Mon Jul 30 18:13:20 2018        (r336924)
@@ -34,7 +34,7 @@ NOTE TO PEOPLE WHO THINK THAT FreeBSD 12.x IS SLOW:
 20180730:
        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.
-       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
        runtime services.
 

Modified: head/stand/man/loader.8
==============================================================================
--- head/stand/man/loader.8     Mon Jul 30 17:59:18 2018        (r336923)
+++ head/stand/man/loader.8     Mon Jul 30 18:13:20 2018        (r336924)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 15, 2018
+.Dd July 30, 2018
 .Dt LOADER 8
 .Os
 .Sh NAME
@@ -588,6 +588,10 @@ explicitly.
 Other variables are used to override kernel tunable parameters.
 The following tunables are available:
 .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
 Limit the amount of physical memory the system will use.
 By default the size is in bytes, but the

Modified: head/sys/dev/efidev/efirt.c
==============================================================================
--- head/sys/dev/efidev/efirt.c Mon Jul 30 17:59:18 2018        (r336923)
+++ head/sys/dev/efidev/efirt.c Mon Jul 30 18:13:20 2018        (r336924)
@@ -136,7 +136,7 @@ efi_init(void)
        int rt_disabled;
 
        rt_disabled = 0;
-       TUNABLE_INT_FETCH("efi.rt_disabled", &rt_disabled);
+       TUNABLE_INT_FETCH("efi.rt.disabled", &rt_disabled);
        if (rt_disabled == 1)
                return (0);
        mtx_init(&efi_lock, "efi", NULL, MTX_DEF);
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to