Page MenuHomeFreeBSD

D32163.diff
No OneTemporary

D32163.diff

Index: stand/common/console.c
===================================================================
--- stand/common/console.c
+++ stand/common/console.c
@@ -56,7 +56,7 @@
TSENTER();
/* We want a callback to install the new value when this var changes. */
- env_setenv("twiddle_divisor", EV_VOLATILE, "1", twiddle_set,
+ env_setenv("twiddle_divisor", EV_VOLATILE, "16", twiddle_set,
env_nounset);
/* Do all console probes */
Index: stand/defaults/loader.conf
===================================================================
--- stand/defaults/loader.conf
+++ stand/defaults/loader.conf
@@ -111,7 +111,8 @@
#tftp.blksize="1428" # Set the RFC 2348 TFTP block size.
# If the TFTP server does not support RFC 2348,
# the block size is set to 512. Valid: (8,9007)
-#twiddle_divisor="1" # >1 means slow down the progress indicator.
+#twiddle_divisor="16" # >16 slows down the progress indicator;
+ # <16 speeds up the progress indicator.
### Kernel settings ########################################
# The following boot_ variables are enabled by setting them to any value.
Index: stand/libsa/twiddle.c
===================================================================
--- stand/libsa/twiddle.c
+++ stand/libsa/twiddle.c
@@ -42,7 +42,7 @@
/* Extra functions from NetBSD standalone printf.c */
-static u_int globaldiv;
+static u_int globaldiv = 16;
void
twiddle(u_int callerdiv)
Index: stand/man/loader.8
===================================================================
--- stand/man/loader.8
+++ stand/man/loader.8
@@ -644,7 +644,8 @@
I/O progress indicator displayed while loading the kernel and modules.
This is useful on slow serial consoles where the time spent waiting for
these characters to be written can add up to many seconds.
-The default is 1 (full speed); a value of 2 spins half as fast, and so on.
+The default is 16; a value of 32 spins half as fast,
+while a value of 8 spins twice as fast.
.It Va vm.kmem_size
Sets the size of kernel memory (bytes).
This overrides the value determined when the kernel was compiled.
Index: stand/man/loader_simp.8
===================================================================
--- stand/man/loader_simp.8
+++ stand/man/loader_simp.8
@@ -624,7 +624,8 @@
I/O progress indicator displayed while loading the kernel and modules.
This is useful on slow serial consoles where the time spent waiting for
these characters to be written can add up to many seconds.
-The default is 1 (full speed); a value of 2 spins half as fast, and so on.
+The default is 16; a value of 32 spins half as fast,
+while a value of 8 spins twice as fast.
.It Va vm.kmem_size
Sets the size of kernel memory (bytes).
This overrides the value determined when the kernel was compiled.

File Metadata

Mime Type
text/plain
Expires
Thu, Dec 26, 5:50 PM (6 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15606243
Default Alt Text
D32163.diff (2 KB)

Event Timeline