summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* in_proto.c: spell ``Internet'' right and put whitespace after commas.wollman1995-12-204-28/+35
| | | | | | | | others: start to populate the link-layer branch of the net mib, by moving ARP to its proper place. (ARP is not a protocol family, it's an interface layer between a medium-access layer and a protocol family.) sysctl(8) needs to be taught about the structure of this branch, unless Poul-Henning implements dynamic MIB exploration soon.
* Increase Pentium cyclecounter calibration time to 131072 us. Thiswollman1995-12-205-10/+10
| | | | experimentally seems to give better results on my machine.
* Demolish DIRECTED_BROADCAST. It was always a bad idea, and nobody uses it.wollman1995-12-201-15/+8
|
* Fix a nagging divide-by-zero error resulting from the MTU discovery codewollman1995-12-202-4/+40
| | | | getting triggered at a bad time.
* Bruce's fix for when dk_ndrive >= DK_NDRIVE. Fixes CDROM changerdufault1995-12-201-2/+2
| | | | | and other "lots of CDROM devices" problems. This code should be put in a single place.
* Added a comment about why trying to make a one-behind cache forwollman1995-12-191-1/+18
| | | | the route in ip_output() is a bad idea.
* Actually call in_rtqdrain()as was originally intended.wollman1995-12-193-8/+7
|
* Add-back strlen.c to the library in case a kernel is compiled withoutnate1995-12-191-6/+5
| | | | | optimization. Gcc only in-lines calls to strlen with optimization turned on.
* Corrected a typo in a comment.dg1995-12-193-6/+6
|
* Implemented a (sorely needed for years) double fault handler to catch stackdg1995-12-1915-95/+205
| | | | | | | | | | overflows. It sure would be nice if there was an unmapped page between the PCB and the stack (and that the size of the stack was configurable!). With the way things are now, the PCB will get clobbered before the double fault handler gets control, making somewhat of a mess of things. Despite this, it is still fairly easy to poke around in the overflowed stack to figure out the cause.
* Cleanup and staticize.phk1995-12-182-88/+63
|
* Added prototype for fxp_scb_wait() and fixed a bug where the wrong pointerdg1995-12-182-4/+6
| | | | was passed in one case.
* Fix paging from ext2fs (and other fs w/block size < PAGE_SIZE). Thisdyson1995-12-171-15/+31
| | | | should fix kern/900.
* Staticize.phk1995-12-1714-74/+81
| | | | | | | | | | | | Unstaticize a function in scsi/scsi_base that was used, with an undocumented option. My last count on the LINT kernel shows: Total symbols: 3647 unref symbols: 463 undef symbols: 4 1 ref symbols: 1751 2 ref symbols: 485 Approaching the pain threshold now.
* Staticize and remove $Log$.phk1995-12-175-448/+38
|
* Staticize.phk1995-12-1759-880/+611
|
* Add an obscure feature, needed for debugging.phk1995-12-172-11/+14
|
* Cleaned up prototypes in pmap headers: removed ones for nonexistentbde1995-12-173-53/+44
| | | | | functions; moved misplaced ones; restored most of KNFish formatting from 4.4lite version; removed bogus __BEGIN/END_DECLS.
* Fixed 1TB filesize changes. Some pindexes had bogus names and typesbde1995-12-178-31/+23
| | | | but worked because vm_pindex_t is indistinuishable from vm_offset_t.
* Updated to match 1TB filesize changes. Some pindexes were still offsetsbde1995-12-171-7/+9
| | | | and weren't converted. ptrace() was broken.
* Really finished (?) cleaning up sysinit stuff.bde1995-12-161-6/+4
|
* Oops, the last commit missed one change from 200 to OBUFSIZ + 100.bde1995-12-161-2/+2
|
* Removed dead debugging code.bde1995-12-161-7/+1
|
* Return the i/o size, not a truth value, in the probe.bde1995-12-161-1/+1
|
* One less magic number.bde1995-12-161-2/+2
|
* Reformatted the list of broken modules and added ip_mroute_mod to it.bde1995-12-161-5/+2
|
* Fixed comment about IPFIREWALL_VERBOSE.bde1995-12-163-6/+9
| | | | Added undocumented option SCSI_2_DEF.
* Catch a couple more null devsw dereferences...peter1995-12-164-8/+20
|
* Another shot at getting working si DEVFS entries.. Apparently, it didn'tpeter1995-12-162-20/+32
| | | | understand %02d in it's format string...
* Oops, forgot to update this to match pr_ctlinput.bde1995-12-161-3/+3
| | | | Added comment about bogus LOMTU.
* Added undocumented option LINUX so that it gets tested.bde1995-12-163-3/+6
|
* Uniformized pr_ctlinput protosw functions. The third arg is now `voidbde1995-12-1616-40/+52
| | | | | | | *' instead of caddr_t and it isn't optional (it never was). Most of the netipx (and netns) pr_ctlinput functions abuse the second arg instead of using the third arg but fixing this is beyond the scope of this round of changes.
* Added `-Wstrict-prototypes -Wmissing-prototypes' to CWARNFLAGS so thatbde1995-12-164-11/+16
| | | | | | | | | prototypes don't go missing again. Also added -Winline so that some doubtful (non-)inlines get fixed. bsd.kmod.mk: Also added `-Wreturn-type -Wimplicit -Wnested-externs' to catch up with the kernel.
* Completed function declarations and/or added prototypes and/or addedbde1995-12-1611-76/+83
| | | | | | | | #includes to get prototypes. pci now uses a different interrupt handler type for interrupts that it dispatches and the isa interrupt handler type for the interrupts that it handles.
* Completed function declarations and/or added prototypes and/or addedbde1995-12-162-2/+3
| | | | #includes to get prototypes.
* Added a prototype.bde1995-12-161-1/+2
|
* Removed unused function lkmenodev().bde1995-12-161-19/+1
|
* Completed function declarations and added prototypes. Sorted prototypes.bde1995-12-151-25/+46
|
* Completed a function declaration.bde1995-12-151-33/+33
| | | | | | Restored order to prototype list. Restored tabs to #defines.
* Fix the off-by-one error in the calculation of the valid port range.se1995-12-152-8/+8
| | | | | | | Reduce default value of pcicb_membase to 0x2000000 (from 0x4000000) since this seems to be the lower bound used by many systems. Submitted by: Mihoko Tanaka <m_tanaka@pa.yokogawa.co.jp>
* Changed arg type for pio functions.dg1995-12-152-20/+20
| | | | Cast a few things appropriately to shut up the compiler.
* Update linux_ipc.c to use the now generated prototypes for the shm* callspeter1995-12-152-18/+18
| | | | it makes while emulating the linux equivalents.
* Update sysv_*.c to get their argument definitions from sysproto.hpeter1995-12-153-31/+68
|
* Regenerated from syscalls.master...peter1995-12-155-6/+215
|
* Add the direct sysv shm/sem/msg system calls, in the same way as NetBSD.peter1995-12-151-1/+44
| | | | | This costs very little, we gain prototypes for the calls from the linux emulator, and this is one less thing in the way of NetBSD binary support.
* move typedef for key_t from sys/ipc.h to sys/types.h, as suggested in thepeter1995-12-152-4/+3
| | | | | comment in ipc.h. This is so that prototypes for the sysv ipc functions can be processed without having to #include <sys/ipc.h> in everything..
* Silence a harmless warning...peter1995-12-151-2/+3
|
* Initial attempt at getting Linux QMAGIC shared lib support. I havepeter1995-12-152-8/+8
| | | | | | | | | | | | | successfully run linux netscape 2.0b3 with a QMAGIC ld.so and libc/libm that I found on some linux machine that I _think_ is running slackware 3.0. There are still problems.. ld.so claims the libraries are the wrong format, but it still runs anyway.. :-/ The QMAGIC ld.so also screams about needing ld.so.cache, and running a linux ldconfig is quite educational. You soon learn to run "chroot /compat/linux /bin/ldconfig" where ldconfig is living in /compat/linux/bin. :-] (Lets just say that it puts loads of symlinks in /usr/lib otherwise :-)
* Clean up some warnings by using the generated structures in <sys/sysproto.h>peter1995-12-1510-188/+186
| | | | | for passing to the bsd system calls, rather than inveninting our own equivalent structures.
* Oops. I forgot the change to this file for supporting static configurationpeter1995-12-151-3/+3
| | | | of the linux emulator.
OpenPOWER on IntegriCloud