summaryrefslogtreecommitdiffstats
path: root/sys
Commit message (Collapse)AuthorAgeFilesLines
* s/code/ucode/ (last minute typo)peter2001-11-191-2/+2
|
* Initial cut at calling the EFI-provided FPSWA (Floating Point Softwarepeter2001-11-193-7/+163
| | | | | Assist) driver to handle the "messy" floating point cases which cause traps to the kernel for handling.
* Lookup the EFI_FPSWA driver and pass the interface pointer through to thepeter2001-11-197-0/+110
| | | | | kernel before we call ExitBootServices(). I've typed the definitions in efifpswa.h from the Intel FPSWA manual (urk).
* Use some (now) spare space for passing through a pointer to the FPSWApeter2001-11-191-1/+2
| | | | Interface provided by EFI (Floating Point SoftWare Assist).
* Remove bootinfo.bi_kernel. It isn't used by the kernel. struct bootinfopeter2001-11-195-23/+1
| | | | | should go away on ia64, we should be loader metadata based since that is the only way we can boot (loader, skiload).
* Fix a dependency violation, same as in libefi/elf_freebsd.c a while back.peter2001-11-192-0/+2
|
* This is used in C, not C++. functions with no args have func(void) in ourpeter2001-11-191-0/+1
| | | | kernel.
* Add NEWCARD support to awi.imp2001-11-191-3/+36
| | | | Devices obtained from NetBSD (+ zoom air 4000, which I added).
* Create a module for awi.imp2001-11-191-0/+12
|
* Update to 1.23 pccarddevsimp2001-11-191-1/+2
|
* Add ZOOM as one of the bgous vendorsimp2001-11-191-0/+1
|
* Add Linksys Instant Wireless Network PC Card from NetBSDimp2001-11-191-0/+1
|
* Update to 1.22 pccarddevsimp2001-11-191-3/+2
|
* Nits to make it whitespace compatible with what I'm about to commit to NetBSDimp2001-11-191-2/+1
|
* Update to 1.21 pccarddevsimp2001-11-191-3/+6
|
* Merge NetBSD 1.146: Linksys Instant Wireless Network card.imp2001-11-191-2/+3
| | | | Obtained From: NetBSD
* Add module compile framework for LOMAC.green2001-11-194-0/+63
| | | | Sponsored by: DARPA, NAI Labs (CBOSS project)
* Update to 1.20 pccarddevsimp2001-11-191-2/+5
|
* Merge NetBSD 1.145: Xircom XE2000imp2001-11-191-1/+2
|
* Fix a license and change $Id$s to $FreeBSD$s.green2001-11-1927-58/+54
| | | | Obtained from: DARPA, NAI Labs (CBOSS project)
* This commit was generated by cvs2svn to compensate for changes in r86567,green2001-11-1927-0/+6577
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Initial import of the LOMAC (Low-Watermark Mandatory Access Control)green2001-11-1927-0/+6577
| | | | | | module port to FreeBSD. Obtained from: NAI Labsx
* Hitachi DK32 disks have problems with tagged queuing under load.iedowse2001-11-191-0/+9
| | | | | | PR: kern/23536 Submitted by: Y.Amagai <amagai@nue.org> MFC after: 1 week
* cast hashing index to (int)(intptr_t) for calculation.dillon2001-11-191-3/+3
| | | | mtx_init() with MTX_QUIET and MTX_NOWITNESS to avoid bogus warnings
* Add a structure defintion for the id prom contents.tmm2001-11-181-0/+63
| | | | Obtained from: NetBSD
* 1. Add ofw_pci.h with definitions for the OpenFirmware PCI bindingstmm2001-11-183-0/+143
| | | | | | | | 2. Add OF_getprop_alloc(), a helper function that will malloc() a sufficient amount of memory and then retrieve a property value into it. Approved by: benno Obtained from: NetBSD (1)
* Standardize idempotentcy ifdefs.jake2001-11-182-6/+6
|
* Implement DVD-ROM ioctls.marcel2001-11-182-27/+434
| | | | | PR: 26955 Submitted by: Boris Nikolaus (email unknown)
* Yet another verbose printing cleanup. Remove debug_wakeup flag andiwasaki2001-11-182-10/+4
| | | | check common verbose flag instead.
* - Ensure that linker file id's are unique, rather than blindlyarr2001-11-181-1/+15
| | | | | | incrementing the value. Reviewed by: dfr, peter
* Cleanups of verbose printing. All the messages for the debugging isiwasaki2001-11-188-68/+91
| | | | | | | disabled unless verbose flag is set. Also fix some messages in terms of English. The critical messages and error messages in probe/attach routine are unchanged by this commit.
* Add kernel headers needed to build libc. Some are bogus and/or just enoughjake2001-11-187-0/+524
| | | | | | to compile. Mostly obtained from: netbsd
* Add the PnP ID for a Rockwell 33.6k modem.iedowse2001-11-181-0/+1
| | | | | | PR: kern/23414 Submitted by: Ryuichiro Imura <imura@af.airnet.ne.jp> MFC after: 1 week
* Implement missing SOUND_MIXER_WRITE_RECSRC ioctl.marcel2001-11-182-0/+5
| | | | | PR: 22971 Tested by: dougb
* Pass maintainership over to emulation@FreeBSD.org. It has been fun,marcel2001-11-181-1/+1
| | | | | | | | but time and other interests is making it hard. Open the door for new blood and fresh tactics now that the Linuxulator has had its facelift. Thanks to all who contributed during my tour of duty!
* Make jmpbuf the same size as ucontext_t so that it can be passedjake2001-11-181-13/+3
| | | | | | to sigreturn. Obtained from: alpha
* 1. Split fp.h into fp.h and fsr.h so that the latter can be includedjake2001-11-185-45/+155
| | | | | | | | | | | | | in asm files. 2. Temporarily cause subnormal operands in floating point operations to be treated as zeros so that comlpetion of the operation does not need to be emulated. 3. Catch fp_exception_other and correctly skip over the unfinished instruction, but basically ignore them. Emulating the instruction is not yet supported. 4. Zero td_retval[1] as well in syscall(). Submitted by: tmm (2, 3)
* Avoid missing ticks and hardclock stopping.jake2001-11-181-1/+27
| | | | Submitted by: tmm
* Catch up to new constants. (These commit messages should have a song.)jake2001-11-181-8/+13
|
* - M_ZERO already sets bif_dlist to zero; there is no need toarr2001-11-181-1/+0
| | | | do it again.
* 1. Remove kdbframe. Bad idea.jake2001-11-184-42/+71
| | | | | | | | | | | | 2. Add a TF_DONE macro, which fiddles a trapframe to make the retry on return from traps act like a done (advance past the trapping instruction instead of re-executing). 3. Flush the windows before entering the debugger, since it is no longer done in the breakpoint trap vector. 4. Print a warning if trace <pid> is attempted, it is not yet implemented. 5. Print traps better and decode system calls in traces. Submitted by: rwatson (4)
* Implement SET. Set execption.s 1.12.jake2001-11-181-0/+12
| | | | Submitted by: tmm
* 1. Convert the tstate saved in the pcb to a pstate and test for PSTATE_PEFjake2001-11-184-50/+128
| | | | | | | | | | | | | | to determine if a process is using floating point. in order to avoid sign extending a 13 bit immediate. 2. We don't need to context switch cwp anymore, it is better to just fiddle the save tstate on return from traps. See exception.s 1.10 and 1.12. 3. Completely remove pcb_cwp. 4. Implement vmapbuf, vunmapbuf and vm_fault_quick. Completely remove TODOs from vm_machdep.c (yay!). Submitted by: tmm (1, 3, 4) Obtained from: existing archs (4)
* Implement hw.machine and hw.model sysctls.jake2001-11-181-0/+11
| | | | Submitted by: tmm
* 1. Remove bootinfo and just pass loader metadata to the kernel.jake2001-11-185-76/+62
| | | | | | | | 2. Remove mcontext.mc_sp, it is redundant. Adjust spare space to make ucontext_t a nice size. 3. Raise pil in the debugger. Submitted by: tmm (3)
* 1. Implement ascopyto() and ascopyfrom() for copying to an alternate addressjake2001-11-183-52/+94
| | | | | | | | | | | | | | space from kernel space and from an alternate address space to kernel space. 2. Remove the unused and unprototyped physcopy() and physzero() and replace with the more versatile ascopy() and aszero(), inspired by the above. These can be used to copy and zero physical pages of memory without mapping them into kernel space first. 3. Use magic numbers for the offsets in the jmpbuf structure like other platforms. 4. Use SET. Submitted by: tmm (1, 4)
* 1. Fix a bug where the offsets of the alignment and mmu fault recorvery codejake2001-11-182-116/+146
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in the window trap vectors were mixed up. All this did is cause unnecesary traps and look wierd in traces. Superfluous traps happen a lot in normal operation, so we are rather good at recovering from them. 2. Store the arguments for a ktr trace in the right place. 3. Use a generic trap vector for breakpoints. It should not be special. 4. Save the frame pointer in the trap frame for kernel traps if DDB is compiled in, otherwsie we don't save the out registers for kernel traps and stack traces can't go through nested traps. 5. Apply the same fix to the return from kernel mode trap code as for user mode traps. Ensure that the window we're returning to is the same one that we restore to by fiddling the cwp in the saved tstate. This requires that we transfer the values loaded from the trap frame into alternate globals before restore-ing, but doing so is not very expensive and not worth worrying about. Not changing the saved cwp can result in the register values magically changing on return from traps if we happen to have slept and the windows don't work out exactly the same. Fix the trace just before the retry to account for different register usage. 6. Use a SET macro for loading address constants rather than a variation of set and setx. set only works for 32 bit constants, while setx works for 64 bit constants as well, but produces bloated code when unnecessary. Gas always generates the canonical 2 register, 6 instruction form, even when it could be optimized; set uses 1 register and 2 instructions. At the moment we assume that the kernel binary is below 4GB so set is always sufficient, but the macro allows it to be configured. Note that this has nothing to do with 32 vs. 64 bit address space, it only applies to addresses of symbols which are known at compile/link time. Submitted by: tmm (6)
* Fix missing holdsock()->fgetsock()dillon2001-11-171-7/+5
| | | | Submitted by: Hisashi Hiramoto <hiramoto@phys.chs.nihon-u.ac.jp>
* Be very generous with timeouts for synchronize cache. We may wait a very longmjacob2001-11-171-1/+1
| | | | | | time in the cases where it really sends the drive out to lunch, but it also allows us to catch very wierd edge cases of strange drives that might take a very long time (emulated disk drives over a network, e.g.).
* The Infortrend IFT-3102 multihost U2 SCSI to U2 SCSI controlleriedowse2001-11-171-0/+8
| | | | | | | | doesn't support the synchronise cache command. PR: kern/21752 Submitted by: Nick R. Colakovic <nickc@corp.firstindustrial.com> MFC after: 1 week
OpenPOWER on IntegriCloud