summaryrefslogtreecommitdiff
path: root/sys/arch/usermode/conf
AgeCommit message (Collapse)Author
2023-02-09Adjust _all_ cinclude of *.local filesabs
- Ensure always at end - Use tab rather than spaces - Add consistent comment "Pull in optional local configuration - always at end" The only functional change is that a local file which tried to override an existing setting (eg with "no foo") would have failed in some cases before, but now will work
2021-04-24Merge thorpej-cfargs branch:thorpej
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?).
2021-01-20remove compat_ossaudio from kernel modulesnia
this is only useful with compat_linux and gets autoloaded when compat_linux is loaded, so there's no reason to bake it into kernels any more.
2020-10-21make process_machdep.c included always since it provides register i/o used bychristos
sys_process_getlwpstatus.c which is always included.
2020-10-20harmonize process_machdep.c inclusion.christos
2019-05-08Merge isaki-audio2 branch, the overhaul of audio subsystem.isaki
- Interrupt-oriented system rather than thread-oriented. - Improve stability, quality and performance. - Split playback and record cleanly. Improve halfduplex support. - Many bugs are fixed including deadlocks, resource leaks, abuses, etc. - Simplify audio filter mechanism. The encoding/channels/frequency conversions are completely handled in the upper layer. So the hard- ware driver only converts its hardware encoding (if necessary). - audio_hw_if changes: - Obsoletes query_encoding and add query_format instead. - Obsoletes set_params and add set_format instead. - Remove drain, setfd, mappage. - The call sequences are changed. - ioctl AUDIO_GETFD/SETFD, AUDIO_GETCHAN/SETCHAN are obsoleted. - ioctl AUDIO_{QUERY,GET,SET}FORMAT are introduced. - cleanup config attributes: au*conv and mulaw. - All hardware drivers should follow it (I've done as much as possible). Some file paths are changed: - dev/audio.c -> dev/audio/audio.c (rewritten) - dev/audiovar.h -> dev/audio/audiovar.h - dev/audio_dai.h -> dev/audio/audio_dai.h - dev/audio_if.h -> dev/audio/audio_if.h - dev/audiobell.c -> dev/audio/audiobell.c - dev/audiobellvar.h -> dev/audio/audiobellvar.h - dev/mulaw.[ch] -> dev/audio/mulaw.[ch] + dev/audio/alaw.c
2018-09-22- Determine KERN_AS automatically depending on whether OPT_MODULAR isrin
set or not, in the same way as libcompat. - Specify OPT_MODULAR in the port Makefile instead of KERN_AS. Now, KERN_AS=library is used for kernels without module(7) for all ports. OK christos
2018-08-17Start using the kernel ld script.reinoud
There are still issues with the .init placement and ./build.sh creating bad images.
2018-08-01Add preliminary KGDB support for NetBSD/usermode, currently only under amd64reinoud
2018-06-05Add ATAPI passtrough support giving the NetBSD/usermode kernel full control ofreinoud
an ATAPI device. All ATAPI/SCSI commands are passed trough. Note that ATAPI/SCSI calls are made in the foreground still. Lengthy calls will still hug the CPU until completion. Making it asynchronous is in the pipeline
2018-06-01Compile NetBSD/userland without CTF for the linker doesn't allow for a singlereinoud
file compiled without CTF
2018-05-18Where did kern.ldscript go?reinoud
2018-01-13Make NetBSD/usermode link again!reinoud
2017-12-10- Allow multiple .BEGIN targetschristos
- Make their protection consistent
2017-09-14clean up COMPAT_* options for native netbsd code:mrg
- new series of files that are useful for saying "i want everything since netbsd 1.4", etc. - use the fact COMPAT_* options have future dependancies to remove many redundant options. removes about 3000 lines total across kernel configuration files. tested about 30 random kernels in the changed list.
2017-02-19PR kern/51208rin
Add DISKLABEL_EI option (and also FFS_EI if missing), commented out except for ALL on amd64 and i386.
2016-12-13wildcard speaker attachments, now that we can handle many of them.christos
2016-12-10remove VAUDIOSPEAKER for now, will be done differently.christos
2016-12-08Add a synthesized pc beeper and keyboard bell for platforms with an audionat
device.
2015-08-27Tweak previous.uebayasi
2015-08-27Echo exact objects (swap*.o etc.) when linking kernel.uebayasi
2015-08-24Define ${LINKSCRIPT} in one place.uebayasi
2015-08-18${KERN_LDSCRIPT} -> ${KERNLDSCRIPT}uebayasi
2014-11-15Use LINKSCRIPT.uebayasi
2014-08-17Reorganize symbol table embedding. The existing option SYMTAB_SPACE isjoerg
replaced by the make option COPY_SYMTAB set to any value. The copy of the symbol table is no longer put into a buffer in kern_ksyms.o, but a small helper object. This object is build first with a dummy size, then the kernel is linked to compute the real dimension of the symbol table buffer. After that, the helper object is rebuild and the kernel linked again.
2014-08-16Add "options COMPAT_70" to all kernel configuration files thatapb
already had "options COMPAT_60".
2013-11-10use MACHINE_CPU instead of uname -p; create symlink for arm headersjmcneill
2013-03-06fix include diryamt
add some dependencies
2012-10-17Add "options COMPAT_60" to all kernel configuration filesapb
that already had "options COMPAT_50".
2012-08-17Ensure all WSDISPLAY_COMPAT_USL entries have same commentabs
2012-06-30Move i386 and amd64 usermode configurations to their respective directoriesreinoud
and make the usermode kernels buildalbe under build.sh. The resulting kernels are build and packaged correctly as are the associated modules.
2012-01-23No need to explicitly use thunkbus at this place. thunkbus == mainbus onreinoud
NetBSD/usermode
2012-01-15Add options INSECURE, as sysinst requires it. Now I can boot an x86 installjmcneill
CD image.
2012-01-15add cd9660jmcneill
2012-01-09also add union file systemagc
2012-01-08enable nullfs in usermode configsagc
2012-01-07Move target/${USERMODE_CPU} to target/${MACHINE_CPU} to more clearlyreinoud
distinguish between CPU specific ones and machine specific ones.
2012-01-07Add AMD64 target for NetBSD/usermode next to i386 and reorganize source treereinoud
to have port specific stuff in arch/usermode/target/<port>/
2012-01-07Boost symtab space for amd64reinoud
2012-01-07support multiple disk images (pass multiple disk=<path> parameters on thejmcneill
command-line). while changing command-line params, rename tap= option to net=
2012-01-06Split machdep.c into a MI part and a MD part.reinoud
2012-01-05Get rid of MAP_NOSYSCALLS usage; now this relies on a separate kmod thatjmcneill
you can get here: http://www.netbsd.org/~jmcneill/syscallemu.tar
2012-01-04Revert HZ to 100 what it wasreinoud
2012-01-04add options NTP & pseudo-device clockctljmcneill
2012-01-03Rework NetBSD/usermode pmap fixing some oddities that were left over fromreinoud
earlier times when we were forced to run PIE executables and were forced to use a KVM above the kernel.
2012-01-02Add UDF, NILFS and NFS to the standard file systems and boost the symbol tablereinoud
size to accomodate for this.
2011-12-31pass ${COPTS} to the build of thunk.c so that it builds on amd64.christos
2011-12-30add wsmouse supportjmcneill
2011-12-30add WSDISPLAY_COMPAT_USL to make 'wsconscfg -s' workjmcneill
2011-12-29Replace the SDL based genfb driver with a wsdisplay and wskbd driver thatjmcneill
implements the VNC (RFB) protocol. To enable the VNC server, add 'vnc=640x480,5900' to the kernel command line (where 640x480 is the desired fb resolution and 5900 is the TCP port). Screenshot of it here: http://www.netbsd.org/~jmcneill/usermode.tiff