summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add forwarding of roundrobin to other cpus. This gives a more regulartegge1998-05-1719-103/+708
| | | | | | | | | | | update of cpu usage as shown by top when one process is cpu bound (no system calls) while the system is otherwise idle (except for top). Don't attempt to switch to the BSP in boot(). If the system was idle when an interrupt caused a panic, this won't work. Instead, switch to the BSP in cpu_reset. Remove some spurious forward_statclock/forward_hardclock warnings.
* Remove extraneous ")" from output.dt1998-05-172-4/+4
|
* Fix support for pre-Win95 filesystems: Make it possible to lookup justdt1998-05-174-6/+28
| | | | created short file name. Don't insert "generation numbers".
* Use a higher priority interrupt vector for 8254 timer interrupts.tegge1998-05-174-8/+20
|
* Remove bogus LK_RETRY.dt1998-05-172-4/+4
| | | | Submitted by: bde
* Include "eisa.h" and only provide code if NEISA > 0.gibbs1998-05-172-2/+8
|
* Fixed interval calculation in realitimexpire() again. Obtained from:bde1998-05-171-4/+4
| | | | | | rev.1.9. Broken in: rev.1.50. Fixed a spelling error. Obtained from: Lite2.
* Fixed stale references to hzto() in comments.bde1998-05-173-7/+7
|
* Supply the correct process argument to dounmount when possible.tegge1998-05-172-4/+12
|
* For SMP, use prv_PPAGE1/prv_PMAP1 instead of PADDR1/PMAP1.tegge1998-05-1718-35/+133
| | | | | get_ptbase and pmap_pte_quick no longer generates IPIs. This should reduce the number of IPIs during heavy paging.
* Fixed missing and unused forward declarations of structs.bde1998-05-171-2/+2
|
* Don't forget to clean up after an error reading the directory entrybde1998-05-172-6/+26
| | | | in deget().
* Removed vestiges of pre-Lite2 locking.bde1998-05-174-8/+4
|
* Clear kernel stack pages before usage.tegge1998-05-172-6/+12
| | | | Correct panic message in pmap_zero_page (s/CMAP /CMAP2 /).
* Be more restrictive about when to disregard MP config table valuestegge1998-05-171-2/+4
| | | | (previous commit broke support for Dec Personal Workstation).
* s/nanoruntime/nanouptime/gphk1998-05-1725-101/+101
| | | | | | s/microruntime/microuptime/g Reviewed by: bde
* Cleanup after Garret, include unpch.h to get at various macros..sos1998-05-172-2/+4
|
* Turn on TCP_NODELAY on the remote socket, to turn off sender silly windowfenner1998-05-171-6/+3
| | | | | | | | | syndrome avoidance. The combination of SWS avoidance and ack-every-other causes low throughput if the block size divided by the MSS is odd (which is true with the default block size and MSS). Turning on TCP_NODELAY disables the Nagle algorithm and sender SWS avoidance. The rdump request/response protocol can not invoke Nagle and cannot cause SWS, so this has no negative effects.
* An important fix for proper inheritance of backing objects fordyson1998-05-161-2/+15
| | | | | object splits. Another excellent detective job by Tor. Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>
* Now that FreeBSD/Alpha can be installed on a disk and run on its own,jb1998-05-161-2/+2
| | | | | | a bootstrap build under NetBSD is an option. This makefile will require further changes to ignore aout tools.
* Include correct header to get definition of struct sockaddr_un.markm1998-05-161-1/+2
|
* Moved from directory above. It is i386 specific.jb1998-05-162-0/+554
|
* Add an alpha specific ttysjb1998-05-161-0/+56
|
* Make ttys machine specific.jb1998-05-162-279/+2
|
* Return back initial tzset() must be before first chrootache1998-05-161-1/+3
|
* Fix rev. 1.7: get offsetof from the correct header file.wollman1998-05-161-2/+2
|
* Don't use "ffs" in an ext2fs sleep message string.bde1998-05-162-6/+28
| | | | | | | | | | | Don't forget to clear the inode hash lock before returning from ext2_vget() after getnewvnode() fails. Obtained from: rev.1.24 of ffs_vfsops.c (the original patch for the getnewvnode() race). Forgotten in: rev.1.4 here. Removed a duplicate comment. Duplicated in: rev.1.4 here. Fixed the MALLOC() vs getnewvnode() race in ext2_vget(). Obtained from: rev.1.39 of ffs_vfsops.c.
* Abbreviate "ext2fs_fsync" as "e2fsyn" instead of as "extfsn" in a sleepbde1998-05-162-2/+2
| | | | message string.
* Get timespecs directly instead of via timevals.bde1998-05-162-54/+22
|
* Don't abuse `+' to combine flags.bde1998-05-162-4/+4
|
* Backed out rev.1.76. It just added style bugs.bde1998-05-162-26/+14
|
* Get timespecs directly instead of via timevals.bde1998-05-164-52/+28
|
* Some of newer PC-98 may cause "Windows Protection Fault" when bootingkato1998-05-162-6/+10
| | | | | | | | Windows 95 after rebooting FreeBSD without power off. In PC-98 system, reboot mode is set via I/O port 0x37 in cpu_reset(), and accessing of this port is the reason of the problem. To avnoid the fault, current status of reboot mode should be checked before accessing the I/O port.
* Disable local APIC in UP kernel. Intel specification update describeskato1998-05-162-2/+44
| | | | | | that local APIC should be disabled in UP system. However, some of old BIOS does not disable local APIC, and virtual wire mode through local APIC may cause int 15.
* Spotted a misplaced comma in my previous patch.des1998-05-163-6/+6
|
* Typo nits in SUIDDIR comment (removed some parentheses, moved somedes1998-05-163-36/+39
| | | | | commas, replaced "partition" with "filesystem", reformatted the paragraph)
* Fix broken sun_len usage: it is not sun_path length but biggerache1998-05-161-2/+5
|
* 1.31 Randall Hopper <rhh@ct.picker.com>ahasty1998-05-168-567/+911
| | | | | | | | | | | | | | | | | | | submitted ioctl to clear the video buffer prior to starting video capture Amancio : clean up yuv12 so that it does not affect rgb capture. Basically, fxtv after capturing in yuv12 mode , switching to rgb would cause the video capture to be too bright. 1.32 disable inverse gamma function for rgb and yuv capture. fixed meteor brightness ioctl it now converts the brightness value from unsigned to signed. 1.33 added sysctl: hw.bt848.tuner, hw.bt848.reverse_mute, hw.bt848.card card takes a value from 0 to bt848_max_card tuner takes a value from 0 to bt848_max_tuner reverse_mute : 0 no effect, 1 reverse tuner mute function some tuners are wired reversed :(
* When a timeval is stored at the beginning of icmp_data, the fieldsjb1998-05-161-14/+27
| | | | | | | | | | | are unaligned for access by the alpha, so copy the value to a variable that is aligned. When checking the returned data, be careful to avoid confusing the size of the icmp header with the size of a timeval. On i386 these are both 8, but on alpha, a timeval is 16 bytes. This means that a packet sent from an alpha contains 48 bytes of data, not 56 like on i386.
* Patch RPC library to avoid possible denial of service attacks as describedwpaul1998-05-151-1/+7
| | | | | | | | | | | | recently in BUGTRAQ. The set_input_fragment() routine in the XDR record marking code blindly trusts that the first two bytes it sees will in fact be an actual record header and that the specified size will be sane. In fact, if you just telnet to a listening port of an RPC service and send a few carriage returns, set_input_fragment() will obtain a ridiculously large record size and sit there for a long time trying to read from the network. A sanity test is required: if the record size is larger than the receive buffer, punt.
* Patch RPC library to avoid possible denial of service attacks as describedwpaul1998-05-152-2/+4
| | | | | | recently in BUGTRAQ. If a stream oriented transport fails to properly decode an RPC message header structure where there should be one, it should mark the stream as dead so that the connection will be dropped.
* Low level use of 'vidattr()' can cause a NULL pointer to beache1998-05-151-5/+11
| | | | | | | | | dereferenced. This is because 'SP' is only initialized via 'newterm()' (which is not required if you are going to interact with the 'terminfo' database without using 'ncurses'). PR: 6648 Submitted by: Max Euston <meuston@jmrodgers.com>
* Change an arbitarly hardcoded `10' to MAX_NO_DISKS, which is currently "20".obrien1998-05-151-2/+2
| | | | | Otherwise can't see sd10 (obtained using wired down sd unit numbers), reguardless of the number of actual disks you have.
* mbuf, inet, and unix modules no longer read kvm.wollman1998-05-155-199/+265
|
* Convert socket structures to be type-stable and add a version number.wollman1998-05-1520-133/+827
| | | | | | | | | | | | | | | | | | | Define a parameter which indicates the maximum number of sockets in a system, and use this to size the zone allocators used for sockets and for certain PCBs. Convert PF_LOCAL PCB structures to be type-stable and add a version number. Define an external format for infomation about socket structures and use it in several places. Define a mechanism to get all PF_LOCAL and PF_INET PCB lists through sysctl(3) without blocking network interrupts for an unreasonable length of time. This probably still has some bugs and/or race conditions, but it seems to work well enough on my machines. It is now possible for `netstat' to get almost all of its information via the sysctl(3) interface rather than reading kmem (changes to follow).
* Fix an obvious parameter-order bogon. (Don't know what happened towollman1998-05-151-2/+2
| | | | the warning message before.)
* Small typo in T/TCP patch ("speicfy" -> "specify").pb1998-05-151-2/+2
|
* Don't use `&&' in any shell commands here. Using it to give conditionalbde1998-05-151-117/+117
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | execution is usually unnecessary in BSD Makefiles because BSD make invokes shells with -e. Using it to give conditional execution is often wrong in BSD makefiles because BSD make joins shell commands when invoked in certain ways (in particular, as `make -jN'). Example makefile: --- clean: cd / false && true rm -rf * # a dangerous command --- This should terminate after the `false && true' command fails, but it doesn't when the commands are joined (`false && true' is a non- simple command, so -e doesn't cause termination). The b-maked version: --- clean: cd / false; true rm -rf * # a dangerous command --- terminates after the `false' command fails (`false' is a simple command, so -e causes termination). However, for versions of make like gnu make that don't invoke shells with -e, this change completely breaks the makefile. This is one of the fixes for the bug suite that caused `make world' to sometimes put raw cpp output in .depend files. Building of cc sometimes failed, but the failure did not terminate the build immediately, and various wrong versions of the cc components were used until one was wrong enough to cause a fatal error.
* Return back vfork and use execve with TZ="" environment in vfork caseache1998-05-151-5/+7
|
* Use fork instead of vfork since setenv clobber parent environmentache1998-05-151-4/+2
| | | | Fork already used for INTERNAL_LS in anycase
OpenPOWER on IntegriCloud