summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* o Replace reference to 'struct proc' with 'struct thread' in 'structrwatson2001-11-0811-34/+36
| | | | | | | | | | | | | | | sysctl_req', which describes in-progress sysctl requests. This permits sysctl handlers to have access to the current thread, permitting work on implementing td->td_ucred, migration of suser() to using struct thread to derive the appropriate ucred, and allowing struct thread to be passed down to other code, such as network code where td is not currently available (and curproc is used). o Note: netncp and netsmb are not updated to reflect this change, as they are not currently KSE-adapted. Reviewed by: julian Obtained from: TrustedBSD Project
* We need to operate on struct thread now, not struct proc.obrien2001-11-081-6/+6
| | | | Submitted by: rwatson
* For what its worth, sync up the type of ps_arg_cache_max (unsigned long)peter2001-11-081-1/+1
| | | | with the sysctl type (signed long).
* Add quirk for Minolta 2330 Zoom digital camera.kbyanc2001-11-071-0/+7
| | | | Submitted by: Jan Stocker <Jan.Stocker@t-online.de>
* Add quirk for Nikon Coolpix 995.kbyanc2001-11-071-1/+8
| | | | Submitted by: Jos Vissers <jos@tunix.nl>
* rcsid[]->__FBSDIDobrien2001-11-073-20/+11
|
* Initialize first to -1; this will create a (nearly) empty file on failure,fenner2001-11-071-1/+1
| | | | | | | | instead of looping until the disk is full. This kind of failure can especially happen when a version of awk that doesn't support POSIX character classes is used. Submitted by: David Wolfskill <david@catwhisker.org>
* Fix printf format bugs introduced in rev 1.34 for printing times.peter2001-11-071-4/+4
| | | | | | | | | quad_t cannot be printed with %lld on 64 bit systems. Dont waste cpu to round user and system times up to long long, it is highly improbable that a process will have accumulated 68 years of user or system cpu time (not wall clock time) before a reboot or process restart.
* Remove a few more debugging bits and turn on twiddle output while readingjhb2001-11-071-15/+3
| | | | from the CD. This turns off the dual console output to COM1.
* Fix bug in scsi_read_write() where it might use 6-byte commands whenkbyanc2001-11-061-5/+4
| | | | | | | 10/12-byte-specific flags where specified. Reviewed by: ken MFC after: 1 day
* Add AMD766 OHCI USB controller. Remove unused VENDORID lists.peter2001-11-062-18/+16
|
* Fixed the behavior when there is no inbound policy for the ipsecume2001-11-062-22/+8
| | | | | | | | | | | | | tunneled packet. When there is no suitable inbound policy for the packet of the ipsec tunnel mode, the kernel never decapsulate the tunneled packet as the ipsec tunnel mode even when the system wide policy is "none". Then the kernel leaves the generic tunnel module to process this packet. If there is no rule of the generic tunnel, the packet is rejected and the statistics will be counted up. Obtained from: KAME MFC after: 1 week
* Add emul.c and in_cksum.c, make the OpenFirmware console driver optional,tmm2001-11-061-3/+4
| | | | reorder a bit.
* Add a special OpenFirmware entry point for terminating the kernel (intmm2001-11-065-3/+120
| | | | | | | this case, the firmware trap table needs to be restored). Make use of it in cpu_halt() and cpu_reset(), and make cpu_reset() reboot the kernel that was used previously insead of behaving like cpu_halt(). Add a shutdown_final event handler that turns the power off if requested.
* Add code to emulate unimplemented (non-fp) instructions and to fixuptmm2001-11-065-246/+1095
| | | | | | unaligned accesses, and instr.h, which contrains definitions for the sparc64 instruction set (partly from NetBSD). Make use of some definitions from instr.h in db_disasm.c.
* o Cache the process's struct prison so as to create a more visuallyrwatson2001-11-061-7/+8
| | | | | | appealing code structure. In particular, s/req->p->p_ucred->cr_prison/pr/ Requested by: imp, jhb, jake, other hangers on
* Add optimized implementations of in_cksum_skip() and related functionstmm2001-11-062-0/+426
| | | | for sparc64.
* Fix the intial setup of the stray interrupt handler (it takes a structtmm2001-11-061-2/+3
| | | | *intr_vec as argument now, not the vector number).
* o Remove a tab missed in the previous whitespace commit.rwatson2001-11-061-1/+1
|
* o Remove double-indentation of sysctl_kern_securelvl. This change isrwatson2001-11-061-31/+30
| | | | | | consistent with the one other function in the file, and prevents long lines in up-coming changes. This nominally pulls kern_mib.c a little further down the long path to style(9) compliance.
* Correctly unlock the target process if /proc/$foo/mem is open()ed bygreen2001-11-061-1/+1
| | | | | | | another process which cannot p_candebug() it. The bug was introduced in rev. 1.100. Approved by: des
* Fix tab damage in rev 1.326.obrien2001-11-062-2/+2
|
* Add S4BIOS sleep (BIOS hibernation) and DSDT overriding support.iwasaki2001-11-0610-3/+234
| | | | | | | | | | | | | | - Add S4BIOS sleep implementation. This will works well if MIB hw.acpi.s4bios is set (and of course BIOS supports it and hibernation is enabled correctly). - Add DSDT overriding support which is submitted by takawata originally. If loader tunable acpi_dsdt_load="YES" and DSDT file is set to acpi_dsdt_name (default DSDT file name is /boot/acpi_dsdt.aml), ACPI CA core loads DSDT from given file rather than BIOS memory block. DSDT file can be generated by iasl in ports/devel/acpicatools/. - Add new files so that we can add our proposed additional code to Intel ACPI CA into these files temporary. They will be removed when similar code is added into ACPI CA officially.
* MFi386: sys/boot/i386/loader/main.c revision 1.25nyan2001-11-061-14/+16
|
* MFi386: sys/boot/i386/libi386/Makefile revision 1.21nyan2001-11-061-2/+2
|
* This file was part of something grander, which doesn't seem to bephk2001-11-061-1512/+0
| | | | around anymore.
* This file is a 2.2 vintage pre-CAM file of no current value.phk2001-11-061-861/+0
|
* More drive-by stylification, and some clarificationsdes2001-11-061-10/+16
|
* More drive-by stylificationdes2001-11-061-4/+4
|
* Drive-by stylification + reintroduce set_border().des2001-11-063-212/+219
|
* syscons' set_border() is now named sc_set_border(), so there is no longerdes2001-11-061-2/+0
| | | | a naming conflict.
* - Fixes non-zero'd out sin_zero field problem so that the paddingarr2001-11-061-0/+1
| | | | | | | | is used as it is supposed to be. Inspired by: PR #31704 Approved by: jdp Reviewed by: jhb, -net@
* Add quirk entry for Olympus E-100RS digital camera. This and the existingkbyanc2001-11-051-0/+10
| | | | | | | quirk regarding the C- series makes me suspect that all Olympus models have the same quirks, but I cannot prove it. Submitted by: Bernd Walter <ticso@cicely8.cicely.de>
* o No need to set values to 0 when we utilize M_ZEROarr2001-11-051-2/+0
| | | | Approved by: peter
* GC the a.out support in DDB, nothing anywhere would pull thisphk2001-11-051-402/+0
| | | | file into a build.
* - Include machine/md_var.h to get rid of cpu_reset() warning. (-Wall)arr2001-11-051-0/+1
| | | | Approved by: jhb
* GC userconfig after Peter axed it 15 months ago.phk2001-11-057-6339/+0
|
* 3.5 years ago Wollman wrote:phk2001-11-055-586/+0
| | | | | | | "[...] and removes the hostcache code from standard kernels---the code that depends on it is not going to happen any time soon, I'm afraid." Time to clean up.
* Also remove the .h files for the old rp driver.phk2001-11-052-1137/+0
|
* Garbage call!phk2001-11-0511-810/+0
| | | | | These files have been obsoleted by compiler technology (such as it is for gcc) for quite some time.
* o dpt_control.c is not compiled into the system (commented out inrwatson2001-11-051-6/+6
| | | | | | conf/files) and as a result appears to have been missed in the bulk KSE update of drivers. This change replaces references to proc with thread. It has not been compile-tested.
* Remove the old RocketPort driver which was left behind in favourphk2001-11-053-1990/+0
| | | | of the new driver. The new driver works, the old one is 1+ year behind.
* - If we are booted via cdboot, use bc_add() to instantiate the cd0 devicejhb2001-11-051-14/+16
| | | | | | from the loader. - Cleanup extract_currdev() some and add support for setting the currdev to cd0 when booted via cdboot.
* Hook up the bioscd driver and the cd9660 filesystem.jhb2001-11-051-0/+2
|
* Adjust vnode_pager_input_smlfs() to not attempt to BMAP blocks beyond thedillon2001-11-051-2/+7
| | | | | | | | | | | file EOF. This works around a bug in the ISOFS (CDRom) BMAP code which returns bogus values for requests beyond the file EOF rather then returning an error, resulting in either corrupt data being mmap()'d beyond the file EOF or resulting in a seg-fault on the last page of a mmap()'d file (mmap()s of CDRom files). Reported by: peter / Yahoo MFC after: 3 days
* Add a device driver for the BIOS device for CD-ROM's booted via El Toritojhb2001-11-057-21/+424
| | | | | | no emulation mode. Unlike other BIOS devices, this device uses 2048 byte sectors. Also, the bioscd driver does not have to worry about slices or partitions.
* Add a DEVT_CD type for CD drivers.jhb2001-11-051-0/+1
|
* Implement IO_NOWDRAIN and B_NOWDRAIN - prevents the buffer cache from blockingdillon2001-11-057-10/+32
| | | | | | | | | | | | | in wdrain during a write. This flag needs to be used in devices whos strategy routines turn-around and issue another high level I/O, such as when MD turns around and issues a VOP_WRITE to vnode backing store, in order to avoid deadlocking the dirty buffer draining code. Remove a vprintf() warning from MD when the backing vnode is found to be in-use. The syncer of buf_daemon could be flushing the backing vnode at the time of an MD operation so the warning is not correct. MFC after: 1 week
* - net.inet.ipsec.esp_auth hasn't been thereume2001-11-055-527/+224
| | | | | | | | | | | - nuke all debug printfs, which are unneeded by now. - get rid of #ifdef IPSEC_DEBUG in headers - now that key_debug_level is always defined, there's no need for #ifdef IPSEC_DEBUG around sysctl MIB code (net.key.debug). - switch all debug printf() to ipseclog(). Obtained from: KAME MFC after: 1 week
* Update copyrights to include Thomas Moestl.rwatson2001-11-052-7/+8
| | | | | Submitted by: "Ilmar S. Habibulin" <ilmar@watson.org> Obtained from: TrustedBSD Project
OpenPOWER on IntegriCloud