| Age | Commit message (Collapse) | Author |
|
also s/beyound/beyond/ and few others along the way, mainly in comments.
|
|
This excludes atari, sgimips, evbmips, evbppc, evbsh3, and hpcarm
all of which have somewhat specific kernel config file layouts
|
|
This can be included unconditionally, and db_active can then be
queried unconditionally; if DDB is not in the kernel, then db_active
is a constant zero. Reduces need for #include opt_ddb.h, #ifdef DDB.
|
|
- Enable UFS_DIRHASH if the architecture or kernel model specific config
file can use 128MB of RAM or more.
- Remove experimental tag from UFS_DIRHASH; it's been with RUMP kernel
and by a number of NetBSD developers for years.
- Add LFS_DIRHASH if LFS was enabled.
- Be somewhat consistent with FS options order.
|
|
|
|
mainly s/aparently/apparently/ and s/implmented/implemented/.
|
|
|
|
Fix few more typos along the way, mainly in copy-pasted comments.
|
|
|
|
|
|
that keeps _start. This deletes all unused code and shrinks the RAMDISK
kernel enough to be able to boot again:
-rwxr-xr-x 1 root src 2519436 Aug 30 06:38 RAMDISK.1/netbsd*
-rwxr-xr-x 1 root src 2104440 Aug 30 07:41 RAMDISK/netbsd*
text data bss dec hex filename
1525412 686252 63552 2275216 22b790 RAMDISK.1/netbsd
1098524 686400 67008 1851932 1c421c RAMDISK/netbsd
|
|
mainly because copy paste code big amount of files are affected.
|
|
|
|
referenced since some sources include <machine/param.h>.
|
|
Simplify and make extensible the config_search() / config_found() /
config_attach() interfaces: rather than having different variants for
which arguments you want pass along, just have a single call that
takes a variadic list of tag-value arguments.
Adjust all call sites:
- Simplify wherever possible; don't pass along arguments that aren't
actually needed.
- Don't be explicit about what interface attribute is attaching if
the device only has one. (More simplification.)
- Add a config_probe() function to be used in indirect configuiration
situations, making is visibly easier to see when indirect config is
in play, and allowing for future change in semantics. (As of now,
this is just a wrapper around config_match(), but that is an
implementation detail.)
Remove unnecessary or redundant interface attributes where they're not
needed.
There are currently 5 "cfargs" defined:
- CFARG_SUBMATCH (submatch function for direct config)
- CFARG_SEARCH (search function for indirect config)
- CFARG_IATTR (interface attribte)
- CFARG_LOCATORS (locators array)
- CFARG_DEVHANDLE (devhandle_t - wraps OFW, ACPI, etc. handles)
...and a sentinel value CFARG_EOL.
Add some extra sanity checking to ensure that interface attributes
aren't ambiguous.
Use CFARG_DEVHANDLE in MI FDT, OFW, and ACPI code, and macppc and shark
ports to associate those device handles with device_t instance. This
will trickle trough to more places over time (need back-end for pre-OFW
Sun OBP; any others?).
|
|
interrupt accounting.
|
|
|
|
of names in the intrnames list.
|
|
|
|
Not sure which commit ``fixed'' the problem although...
|
|
It's only enabled if the kernel enabled bridge AND tap.
Otherwise it's commented out.
|
|
It unwinds stack frame by using address of its first argument, which
does not, of course, work if inline-expanded.
|
|
fixes gcc9 builds.
|
|
Note that _KERNEL is always defined for modules.
|
|
- Adding -fno-asynchronous-unwind-tables and -fno-unwind-tables to COPTS
- Specify NO_KERNEL_RCSIDS to strip RCSIDS
Also adding -fno-omit-frame-pointer to COPTS for backtrace in DDB.
|
|
around for reproducible kernel freezes just after ``Starting postfix.'',
where I cannot even enter DDB nor obtain crash dump.
I still haven't figured out why. Possibly something wrong with -Os
optimization level for GCC/m68k, cf.,
http://mail-index.netbsd.org/port-sun3/2020/07/19/msg000166.html
|
|
|
|
from vezhlys on freenode.
|
|
cached value will do, or if the very latest total must be fetched. It can
be called thousands of times a second and fetching the totals impacts not
only the calling LWP but other CPUs doing unrelated activity in the VM
system.
|
|
|
|
|
|
true, all mappings have been removed, the pmap is totally cleared out, and
UVM can then avoid doing the work to call pmap_remove() for each map entry.
If false, either nothing has been done, or some helpful arch-specific voodoo
has taken place.
|
|
|
|
|
|
though both are not useful for 8MB RAM system...
|
|
It seems that working kernel should be more smaller.
Strip off most kernel options, and provide by kernel modules.
Also add GENERIC kernel for NFS root instead of FFS.
|
|
|
|
|
|
|
|
LWP status manipulation was moved out of assembly long ago.
|
|
Suggested by pgoyette@ in PR/54869.
|
|
|
|
|
|
|
|
and remove MD code that does the same.
|
|
|
|
|
|
sys/net/if_ethersubr.c if we can.
- Add ec_ifmedia into struct ethercom.
- ec_mii in struct ethercom is kept and used as it is. It might be used in
future. Note that some Ethernet drivers which _DOESN'T_ use mii(4) use
ec_mii for keeping the if_media. Those should be changed in future.
|
|
|
|
|