summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
...
* Sync with sys/i386/i386/machdep.c revision 1.332.kato1999-04-282-218/+184
|
* Allow loadable interface drivers with BPF support to be loaded into a kernelmsmith1999-04-286-12/+51
| | | | | | | | that doesn't have it. This is achieved by having minimal do-nothing stubs enabled when there are no bpfilter devices configured. Driver modules should be built with BPF enabled for maximum convenience (but can be built without it for maximum performance).
* Enable vmspace sharing on SMP. Major changes are,luoqi1999-04-2892-1975/+1823
| | | | | | | | | | | | | | | | | - %fs register is added to trapframe and saved/restored upon kernel entry/exit. - Per-cpu pages are no longer mapped at the same virtual address. - Each cpu now has a separate gdt selector table. A new segment selector is added to point to per-cpu pages, per-cpu global variables are now accessed through this new selector (%fs). The selectors in gdt table are rearranged for cache line optimization. - fask_vfork is now on as default for both UP and SMP. - Some aio code cleanup. Reviewed by: Alan Cox <alc@cs.rice.edu> John Dyson <dyson@iquest.net> Julian Elischer <julian@whistel.com> Bruce Evans <bde@zeta.org.au> David Greenman <dg@root.com>
* Simplify the tunefs example, since tunefs uses getfsfile(). Lots ofmsmith1999-04-271-3/+3
| | | | | people complain about working out what device their filesystems are mounted on.
* Eliminate compiler warning about missing type in declaration.jdp1999-04-271-3/+2
| | | | | | | Remove useless initialization of static variable to 0. Move static variable declaration into the only function that uses it.
* Fix the code that prints the "Initializing PC-card drivers" messagejdp1999-04-271-4/+3
| | | | | | | | so that the list of drivers is correct. This is a slightly simplified version of the patch from the PR. PR: misc/10544 Submitted by: Christophe Colle <colle@krtkg1.rug.ac.be>
* Change suser_xxx() to suser() where it applies.phk1999-04-2716-79/+72
|
* bump __FreeBSD_version to 400005:phk1999-04-271-2/+2
| | | | suser() API changed.
* Suser() simplification:phk1999-04-27128-394/+399
| | | | | | | | | | | | | | | | | | | 1: s/suser/suser_xxx/ 2: Add new function: suser(struct proc *), prototyped in <sys/proc.h>. 3: s/suser_xxx(\([a-zA-Z0-9_]*\)->p_ucred, \&\1->p_acflag)/suser(\1)/ The remaining suser_xxx() calls will be scrutinized and dealt with later. There may be some unneeded #include <sys/cred.h>, but they are left as an exercise for Bruce. More changes to the suser() API will come along with the "jail" code.
* Fix from Justin for transfer negotiations for targets up to target ID 7.ken1999-04-261-39/+43
|
* Make one pass through the firewall the default.luigi1999-04-261-2/+2
| | | | Multiple pass (which only affects dummynet) is too confusing.
* Only call kvtop on non-null id_maddr's...peter1999-04-261-3/+8
|
* Temporary hack. The radix code shouldn't need this, it should bepeter1999-04-261-1/+2
| | | | | | | | able to expand the zeros, ones etc masks on the fly. It seems a good number of domains don't set the rn_maxkey variable anyway, and because this is a domain itself, there is no guarantee we've been called after a protocol that actually has set it (ie: inet), so start with a maxkey of a relatively sane size as a base point until it can adapt on the fly.
* Protect the ifinit() function's internals with splimp() for safety sincepeter1999-04-261-4/+5
| | | | | | | | it used to be that way. I'm not sure that it's needed, but it does walk the ifp list.. Incidently, there's nothing to sanity check the ifq_maxlen on loaded interfaces..
* Minor seatbelt tweak. The init code used to be splimp() protected,peter1999-04-261-2/+7
| | | | maintain that in case.
* Register the netisr's via SYSINIT rather than linker sets.peter1999-04-263-80/+18
|
* Register the local (unix domain) sockets ourselves.peter1999-04-261-1/+2
|
* Redo domain registration to use SYSINITS rather than linker sets.peter1999-04-261-70/+8
| | | | | | | Get rid of the spl wrapper kludge, it doesn't seem to be needed between init calls since all that's running is the domain/protocol timers and they are safe since domain list modifications are splnet() protected (which blocks the timers)
* Make DOMAIN_SET() use SYSINIT rather than linker sets.peter1999-04-261-3/+3
|
* Make NETISR_SET use a SYSINIT() rather than a linker set.peter1999-04-261-5/+5
|
* Fix a very long standing bug in run_interrupt_driven_config_hooks(). Itpeter1999-04-251-3/+4
| | | | was fetching the next pointer from memory that could have been free()'d.
* Make man page reflect reality on parsing rules. Now I know Jordandcs1999-04-252-6/+8
| | | | never read this man page... :-)
* pmap_dispose_proc and pmap_copy_page:alc1999-04-252-28/+46
| | | | | | | | | | Conditionally compile 386-specific code. pmap_enter: Eliminate unnecessary TLB shootdowns. pmap_zero_page and pmap_zero_page_area: Use invltlb_1pg instead of duplicating the code.
* Added used include.dt1999-04-251-1/+2
|
* Make the machdep.i8254_freq and machdep.tsc_freq sysctls modify thephk1999-04-259-13/+37
| | | | | | timecounter as well Asked for by: bde, jhay
* Allow multiple opens.phk1999-04-251-5/+10
|
* Use PCCARD_MODULE() instead of DATA_SET(), the pccard linker set went apeter1999-04-251-1/+6
| | | | while ago.
* Remove obsolete interrupt labels.kato1999-04-252-86/+86
|
* Sync with sys/i386/i386/userconfig.c revision 1.137.kato1999-04-251-4/+4
|
* Sync with sys/i386/conf/options.i386 revision 1.112.kato1999-04-252-8/+6
|
* Sync with sys/i386/conf/Makefile.i386 revision 1.148.kato1999-04-252-4/+4
|
* De-quote.kato1999-04-252-40/+38
|
* Sync with sys/boot/i386/loader/Makefile revision 1.34.kato1999-04-251-3/+3
|
* The fd options changed during new-bus.peter1999-04-242-8/+6
|
* De-quote where possible and minor tweaks. depends on a current config(8).peter1999-04-245-417/+407
|
* Bump configvers; when the updates to generic/lint get committed, the oldpeter1999-04-245-10/+10
| | | | config has severe indigestion.
* Add $Id: $billf1999-04-242-0/+4
|
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-242-2/+10
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* #if 0 out the pci device list, not that you could do a lot with it. Itpeter1999-04-241-4/+4
| | | | | | was only looking at old style drivers in the pcidevice_set, which doesn't exist any more.. Ultimately, the pci and eisa bus drivers will check for hints for wiring, flags and enable/disable etc as well.
* Use COMPAT_PCI_DRIVER() for registration if it exists. This shouldn'tpeter1999-04-2456-67/+289
| | | | hurt the driver portability to 3.x too much for where drivers are shared.
* Replace the pcidevice_set linker set based configuration mechanism for oldpeter1999-04-244-22/+58
| | | | | | | | | | style pci drivers with a simple one-line change to use a module that registers itself under new-bus and should in theory enable just about all of the pci drivers to be loadable (kldload and loader(8)) but without having the impact of converting the APIs yet. This also fixes the problem of having undefined variables when only new-style pci drivers are present.
* Zap some #if 0 code for wired PCI devices. This will look quite differentpeter1999-04-241-155/+1
| | | | under new-bus.
* Fixed printf format errors on alpha.dt1999-04-241-3/+5
|
* typo in commentphk1999-04-241-2/+2
| | | | | | PR: 11285 Submitted by: Chris Costello <chris@calldei.com> Reviewed by: phk
* so_linger is in seconds, not in 1/HZache1999-04-241-2/+2
| | | | | PR: 11252 Submitted by: Martin Kammerhofer <dada@sbox.tu-graz.ac.at>
* Changed the type of id_port from short into int to avoid wrongkato1999-04-242-4/+4
| | | | | | | conversion from short to unsigned long which is an argument of bus_alloc_resource. Since the value -1 is used to indicate no port reousece, id_port need to be signed (suggested by Doug Rabson and Peter Wemm.)
* Lite2 bugfixes merge:ache1999-04-241-3/+3
| | | | | | | so_linger is in seconds, not in 1/HZ range checking in SO_*TIMEO was wrong PR: 11252
* Minor nit. It is probably still incorrect, but at least don'tdcs1999-04-241-1/+1
| | | | claim to use i386-specific files on alpha...
* Fix a braino in the v_id wraparound code. Give more (current) detailsphk1999-04-241-9/+17
| | | | | | | in comment. PR: 11307 Spotted by: Ville-Pertti Keinonen <will@iki.fi>
* Move loader.conf.5, while it is still in it's first revision.dcs1999-04-242-3/+3
|
OpenPOWER on IntegriCloud