summaryrefslogtreecommitdiff
path: root/sys/modules
AgeCommit message (Collapse)Author
2020-10-18use the GCC_ warning variablechristos
2020-10-18Avoid alignment of packed memberchristos
2020-10-18Avoid alignment of packed memberchristos
2020-10-14modularize, and fix build errorryo
2020-09-26Add HAVE_NVMM and use it to control the build of NVMM related components.jmcneill
Defined to "yes" on amd64, "no" everywhere else.
2020-09-08Added iavf(4) that is based on OpenBSD's iavf(4) implementationyamaguchi
reviewed by msaitoh@n.o and knakahara@n.o
2020-09-06add support for new GCC 9 warnings that may be too much to fixmrg
right now. new address-of-packed-member and format-overflow warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd GCC_NO_FORMAT_OVERFLOW variables to remove these warnings. apply to a bunch of the tree. mostly, these are real bugs that should be fixed, but in many cases, only by removing the 'packed' attribute from some structure that doesn't really need it. (i looked at many different ones, and while perhaps 60-80% were already properly aligned, it wasn't clear to me that the uses were always coming from sane data vs network alignment, so it doesn't seem safe to remove packed without careful research for each affect struct.) clang already warned (and was not erroring) for many of these cases, but gcc picked up dozens more.
2020-09-06Fix fallout from previous uvm.h cleanup.riastradh
- pmap(9) needs uvm/uvm_extern.h. - x86/pmap.h is not usable on its own; it is only usable if included via uvm/uvm_extern.h (-> uvm/uvm_pmap.h -> machine/pmap.h). - Make nvmm.h and nvmm_internal.h standalone.
2020-09-05Round of uvm.h cleanup.riastradh
The poorly named uvm.h is generally supposed to be for uvm-internal users only. - Narrow it to files that actually need it -- mostly files that need to query whether curlwp is the pagedaemon, which should maybe be exposed by an external header. - Use uvm_extern.h where feasible and uvm_*.h for things not exposed by it. We should split up uvm_extern.h but this will serve for now to reduce the uvm.h dependencies. - Use uvm_stat.h and #ifdef UVMHIST uvm.h for files that use UVMHIST(ubchist), since ubchist is declared in uvm.h but the reference evaporates if UVMHIST is not defined, so we reduce header file dependencies. - Make uvm_device.h and uvm_swap.h independently includable while here. ok chs@
2020-08-05Upgrade NVMM to WARNS=5.maxv
2020-07-04the x86 xen and non-xen modules are identical,chs
so remove the unneeded extra copies. Xen kernels now use the same modules as native kernels.
2020-06-27Rename module directory for ibm4xx from /stand/powerpc-4xx torin
/stand/powerpc-ibm4xx to match with what we set in evbppc_machdep.c: https://nxr.netbsd.org/xref/src/sys/arch/evbppc/evbppc/evbppc_machdep.c#86 (And we use ibm4xx not 4xx for directory in sys/arch/powerpc.) Note that we had never enabled MODULAR for ibm4xx yet; kernel with MODULAR option was unable to build. This should be why this discrepancy had never been found until today...
2020-06-25Register NVMM as an actual pseudo-device. Without PMF handler, tomaxv
explicitly disallow ACPI suspend if NVMM is running. Should fix PR/55406.
2020-06-01Example of a kernel module that registers DDB commands.uwe
2020-05-16Add ACL support for FFS. From FreeBSD.christos
2020-05-02Include netbsd32_futex.c in the module.thorpej
2020-05-01s/&&/&/ and also return POLLRDNORM (pointed out by joerg@)christos
2020-04-30remove debugging stuff accidentally committed.christos
2020-04-30include sys/lwp.h and fix the build.mrg
2020-04-30New kernel example module written by Ayushi Sharmachristos
2020-04-19Turn off compat drm.maya
XXX issue security advisory
2020-04-18Extended attribute support for ffsv2, from FreeBSD.christos
2020-04-12Remove ufs_wapbl.c from Makefile.htodd
2020-04-04Switch to type generic PRIu macroskamil
Fixes build on i386.
2020-04-04Add new example kernel module: current_timekamil
Submitted by Apurva Nandan.
2020-04-04remove SMBFS and nsmb(4) - kernel partjdolecek
it's unmaintained and supports only obsolete SMB1
2020-04-01Fix CVS Idkamil
2020-04-01Avoid comparison between signed and unsigned integerkamil
Cast PAGE_SIZE to size_t.
2020-04-01Import a new example kernel module fopsmapperkamil
fopsmapper - basic implementation of mmap with fileops fo_mmap Submitted by Aditya Vardhan Padala.
2020-03-12Split out the quota code from the rest of compat_netbsd32 module. Thispgoyette
allows loading of compat_netbsd32 on kernels that don't have ``options QUOTA'' enabled.
2020-03-11Fixup the evbarm PCI modulesskrll
2020-03-05disable a.out on aarch64christos
2020-02-29Disable hifn againskrll
2020-02-29Group some PCI only modules together and only build them on a subset ofskrll
platforms. The list is not complete.
2020-02-27Make ixl(4) be able to build as a moduleyamaguchi
2020-02-14Carry new CWARNFLAGS over to module reachover makefiles.riastradh
Forgot these modules existed!
2020-02-12cyclic.kmod needs -Wno-sign-compare for aarch64 CPU_INFO_FOREACH.riastradh
Provisional workaround; feel free to fix.
2020-02-09Retire azalia(4).jmcneill
2020-02-07Improve wordingpgoyette
2020-02-06Document what does ping_block.kamil
2020-02-05Use ENOTTY as error for an unrecognized ioctl() code, rather thanpgoyette
"magic number" 1. ok kamil@
2020-02-05Import new example kernel module ping_blockkamil
Subbmitted by Nisarg Joshi.
2020-01-30Align major numbers in example modules with sys/conf/majorskamil
Patch submitted by: Aditya Vardhan Padala (silv3r)
2020-01-27Split the module glue out from the rest of opencrypto/ocryptodev topgoyette
make rump happy. Rump doesn't have compat modules (the compat code is included in the relevant librump*.so), so there's no module compat_50 listed in link_set_modules, and thus ocryptodev's MODULE(...) can't "require" it. This fixes the problem of "built-in module compat_50 not found" when starting up rump_allserver (or rump_server with -l rumpdev_opencrypto). XXX This does not resolve the long-standing "crypto: unable to XXX register devsw, error 17" message noted at line 78 of XXX sys/rump/dev/lib/libopencrypto/opencrypto_component.c
2020-01-27Use correct pseudo-device for opencrypto modulepgoyette
2020-01-21Split the compat_50 module into two, separating the QUOTA-relatedpgoyette
stuff from the rest of the module. This allows loading of the (main) compat_50 module on kernels that don't include ``options QUOTA''. Welcome to 9.99.40 ! Addresses PR kern/54875
2020-01-19Remove filemon(4).riastradh
Discussed on tech-kern: https://mail-index.NetBSD.org/tech-kern/2020/01/13/msg025938.html This was never (intentionally) enabled by default, and the design has some shortcomings. You can get mostly the same results with ktrace, as in usr.bin/make/filemon/filemon_ktrace.c which is now used instead of filemon for make's meta mode. If applications require higher performance than ktrace, or nesting that ktrace doesn't support, we might consider adding something back into the vfs system calls themselves, without hijacking the syscall table. (Might want a more reliable output format too, e.g. one that can handle newlines in file names.)
2020-01-19Remove the strip(4) - Starmode Radio IP - pseudo-device driver. It isthorpej
long since obsolete.
2020-01-01One more vestige.pgoyette
2020-01-01Add module build for aq(4)ryo