diff options
-rw-r--r-- | sys/alpha/alpha/machdep.c | 3 | ||||
-rw-r--r-- | sys/amd64/amd64/machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 3 | ||||
-rw-r--r-- | sys/ia64/ia64/machdep.c | 3 | ||||
-rw-r--r-- | sys/pc98/i386/machdep.c | 3 | ||||
-rw-r--r-- | sys/pc98/pc98/machdep.c | 3 |
6 files changed, 18 insertions, 0 deletions
diff --git a/sys/alpha/alpha/machdep.c b/sys/alpha/alpha/machdep.c index b94b64a..f1c21bb 100644 --- a/sys/alpha/alpha/machdep.c +++ b/sys/alpha/alpha/machdep.c @@ -662,6 +662,9 @@ alpha_init(pfn, ptb, bim, bip, biv) preload_metadata = (caddr_t)bootinfo.modptr; kern_envp = bootinfo.envp; + /* Do basic tuning, hz etc */ + init_param(); + /* * Initalize the (temporary) bootstrap console interface, so * we can use printf until the VM system starts being setup. diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index c12e676..a7f53eb 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/machdep.c @@ -1796,6 +1796,9 @@ init386(first) if (bootinfo.bi_envp) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; + /* Init basic tunables, hz etc */ + init_param(); + /* * make gdt memory segments, the code segment goes up to end of the * page with etext in it, the data segment goes to the end of diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c index c12e676..a7f53eb 100644 --- a/sys/i386/i386/machdep.c +++ b/sys/i386/i386/machdep.c @@ -1796,6 +1796,9 @@ init386(first) if (bootinfo.bi_envp) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; + /* Init basic tunables, hz etc */ + init_param(); + /* * make gdt memory segments, the code segment goes up to end of the * page with etext in it, the data segment goes to the end of diff --git a/sys/ia64/ia64/machdep.c b/sys/ia64/ia64/machdep.c index c44e7cd..0ff71fc 100644 --- a/sys/ia64/ia64/machdep.c +++ b/sys/ia64/ia64/machdep.c @@ -391,6 +391,9 @@ ia64_init() preload_metadata = (caddr_t)bootinfo.modptr; kern_envp = bootinfo.envp; + /* Init basic tunables, including hz */ + init_param(); + p = getenv("kernelname"); if (p) strncpy(kernelname, p, sizeof(kernelname) - 1); diff --git a/sys/pc98/i386/machdep.c b/sys/pc98/i386/machdep.c index 68fc2a2..86b6db2 100644 --- a/sys/pc98/i386/machdep.c +++ b/sys/pc98/i386/machdep.c @@ -1860,6 +1860,9 @@ init386(first) if (bootinfo.bi_envp) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; + /* Init basic tunables, hz etc */ + init_param(); + /* * make gdt memory segments, the code segment goes up to end of the * page with etext in it, the data segment goes to the end of diff --git a/sys/pc98/pc98/machdep.c b/sys/pc98/pc98/machdep.c index 68fc2a2..86b6db2 100644 --- a/sys/pc98/pc98/machdep.c +++ b/sys/pc98/pc98/machdep.c @@ -1860,6 +1860,9 @@ init386(first) if (bootinfo.bi_envp) kern_envp = (caddr_t)bootinfo.bi_envp + KERNBASE; + /* Init basic tunables, hz etc */ + init_param(); + /* * make gdt memory segments, the code segment goes up to end of the * page with etext in it, the data segment goes to the end of |