| #
4b34a918 |
| 20-Dec-2023 |
andvar <andvar@NetBSD.org> |
fix tripple n typos in "running"/"domainname", also one missing n in comments.
|
| #
a6bab1a7 |
| 31-Oct-2017 |
martin <martin@NetBSD.org> |
Allow architectures to define a macro PROC_MACHINE_ARCH(P) and PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch (native and netbsd32 commpat resp.).
Use these for arm and mips
Allow architectures to define a macro PROC_MACHINE_ARCH(P) and PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch (native and netbsd32 commpat resp.).
Use these for arm and mips instead of the (not working, noisy, in case of arm) sysctl override and #ifdef __mips__ in architecture neutral code.
show more ...
|
| #
7cc60ed4 |
| 25-Aug-2015 |
pooka <pooka@NetBSD.org> |
Move a bunch of sysctl nodes from init_sysctl (kitchen sink sysctl file) to init_sysctl_base (only base kernel defs). Main motivation was to fix sysconf(_SC_NPROCESSORS) for Rumprun. As reported by
Move a bunch of sysctl nodes from init_sysctl (kitchen sink sysctl file) to init_sysctl_base (only base kernel defs). Main motivation was to fix sysconf(_SC_NPROCESSORS) for Rumprun. As reported by neeraj on irc, it returned -1 before this fix, so we were doing imaginary computing.
show more ...
|
| #
21ff2153 |
| 25-Aug-2015 |
pooka <pooka@NetBSD.org> |
hw nodes do not go under the kern tree, so add new init routine for them
|
| #
7de47d8d |
| 07-Jul-2015 |
justin <justin@NetBSD.org> |
Missing includes for some architectures
|
| #
034bfbdb |
| 07-Jul-2015 |
justin <justin@NetBSD.org> |
Move hw.machine and hw.machine_arch sysctls to base so rump can use them
This allows uname(3) and uname(1) to work on rump kernels.
|
| #
4f6fb3bf |
| 25-Feb-2014 |
pooka <pooka@NetBSD.org> |
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicat
Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before the sysctl link sets are processed, and remove redundancy.
Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate lines of code.
show more ...
|
| #
69dd91d3 |
| 25-Feb-2014 |
justin <justin@NetBSD.org> |
Add kern.{ostype,osrelease,osrevision,version} kern.domainname, kern.rawpartition sysctl support to rump kernel. Moved the sysctl support that is shared between rump and normal kernels to init_sysctl
Add kern.{ostype,osrelease,osrevision,version} kern.domainname, kern.rawpartition sysctl support to rump kernel. Moved the sysctl support that is shared between rump and normal kernels to init_sysctl_base.c as rump cannot use init_sysctl.c in order to avoid code duplication. Agreed with pooka@.
show more ...
|
| #
41c00db9 |
| 16-Sep-2009 |
pooka <pooka@NetBSD.org> |
Chop init_sysctl into base nodes (init_sysctl_base.c) and the kitchen sink (init_sysctl.c). Further surgery may be needed down the line.
|