summaryrefslogtreecommitdiff
path: root/sys
AgeCommit message (Collapse)Author
2001-11-14Don't yell about clock drift for ridiculous (less than 48 hours) deltas.Miod Vallat
hugh@ ok
2001-11-14add bridge control bit definitions up to pci2.2, via netbsdMichael Shalayeff
2001-11-14Better exit codes. ok mickey,millert,miod,deraadtHakan Olsson
2001-11-14in poll, if fd is < 0, clear revents; bjy@mogua.orgTheo de Raadt
2001-11-14Harmonize tabs.Hugh Graham
2001-11-14Change Vax LDPGSZ to 4k.Hugh Graham
2001-11-14Compat layer for 1k Vax aout, from NetBSD.Hugh Graham
2001-11-14New MID for Vax bins with 4k logical page size.Hugh Graham
Rename old MID for use in compat.
2001-11-14- Move rng buffer allocation (bus_dmamem_map/unmap) to attach instead of duringJason Wright
the first timeout which is the wrong time to be calling bus_dmamem_map/unmap - Make sure that mastering is really enabled. - remove some debugging stuff that would be a pain to get working on sparc64.
2001-11-14Define the TRDY timeout and RETRY timeout registers (not used... yet)Jason Wright
2001-11-14- Sprinkle more htole16/htole32s so that this thing has a chance of workingJason Wright
on big endian machines. (Unfortunately I can't verify this really works on sparc64 because of crazy psycho(4) interrupt problems). - use htole32() on constants instead of letoh32() on variables and hope for better optimization. - In several places use the unswizzled shadows to see what kind of operation has been queued instead of the (now) swizzled versions. - hifn provides some BE/LE assist, but it seems to vary depending on revision and chip number, perhaps it's worth investigating?
2001-11-13cleanup whole lots of spaces and tabs, while mufflingMichael Shalayeff
w/ the cards we have here and those are the cheapest petrolleum product on the east cost, let me tell ya. insert valid freebsd rcsid and a comment about bugs and such.
2001-11-13and for the case where it allocates a bunch at a time, also make sure theTheo de Raadt
software flag gets set.
2001-11-13incorrect checkTheo de Raadt
2001-11-13garbage in my last commitTheo de Raadt
2001-11-13fix pf from going off into the weeds on an ipv6 icmp packet with certain optionMike Frantzen
headers. should fix pr #2172 ok dhartmei@
2001-11-13syncJason Wright
2001-11-13Davicom 9102Jason Wright
2001-11-13Allow balloc to get NULL for bpp. Don't get the buffer in that case.Artur Grabowski
2001-11-13Add AltiVec support to powerpc/macppc. This is not currently enabled becauseDale Rahn
the 'as' in openbsd source tree does not yet support altivec instructions. The pieces to enable it have been put in macppc/conf/GENERIC and macppc/conf/Makefile.macppc in comments. Once 'as' is updated the kernel option should be removed.
2001-11-13Add two controlled panics instead of some code that I need to write later.Artur Grabowski
2001-11-13Allow the bpp arguemnt on ffs_realloccg to be NULL, don't return theArtur Grabowski
buffer in that case. Also add a new argument - blknop, which can be used to return the allocated blkno.
2001-11-12Remove unnecessary check for NULL vnode in reassignbuf.Artur Grabowski
2001-11-12Redo the ICU interrupt handling system to better emulate an APIC system.Niklas Hallqvist
This is done by representing the current blockings of interrupts with a priority level instead of an interrupt mask. This makes it possible to share implementations for spl* functions/macros between both ICU and APIC (a must when going MP) systems. In this process, assign soft interrupts their own levels to match the way things will be on APIC systems where they actually will be real interrupts and not just bits in a pending mask as they are now. Heavily inspired by Bill Studenmunds SMP work in NetBSD
2001-11-12Sprinkle with htole32, add a garnish of htole16 and finish off with aJason Wright
bit of letoh16 and letoh32 then let simmer while sparc64 gets through the ram test correctly.
2001-11-12Don't abuse bus_dma(9) API by using dmamap->dm_* to hold results fromJason Wright
bus_dmamem_* operations; instead, store them in softc. This allows the driver to get through autoconf on sparc64 (ok, well it fails the ram test because of endian issues... but it's a start).
2001-11-12Bring in more changes from NetBSD. Mostly pagedaemon improvements.Artur Grabowski
2001-11-11Let ltsleep take a const wmesg.Artur Grabowski
2001-11-11Remove local defines for SCSI status codes and use those nowKenneth R Westerback
defined in scsi_all.h.
2001-11-11Add missing values for SCSI status byte. Add new name for 0x28 toKenneth R Westerback
reflect SCSI-3 editorial change from QUEUE FULL to TASK SET FULL. Use same names as NetBSD where possible. Some from NetBSD, some from Ashley M, some from SCSI-3 docs. Now to edit drivers to use new constants instead of their own.
2001-11-11Noone seems to want to fix the sparc64 cd bogus intr bug, so I will simply ↵Theo de Raadt
disable the message
2001-11-11Fix matching brace error. Fortunately PGM errors do not happen in theDale Rahn
kernel much. This has been there quite a while.
2001-11-11Sync in more stuff from NetBSD.Artur Grabowski
2001-11-11LOCK_ASSERT - like KASSERT but ifdef LOCKDEBUGArtur Grabowski
2001-11-10properly report >= 2GB of ram; bug found by matthieuTheo de Raadt
2001-11-10Move maxdmap and maxsmap to kern_resource.cArtur Grabowski
2001-11-10Merge in some parts of the ubc work that has been done in NetBSD that are notArtur Grabowski
UBC, but prerequsites for it. - Create a daemon that processes async I/O (swap and paging in the future) requests that need processing in process context and that were processed in the pagedaemon before. - Convert some ugly ifdef DIAGNOSTIC code to less intrusive KASSERTs. - misc other cleanups.
2001-11-09Use bufpool, not malloc.Artur Grabowski
2001-11-09Create bufpool - a pool of struct bufs.Artur Grabowski
2001-11-09When calculating the initial size of the lev3map, use PAGER_MAP_SIZE, not a ↵Artur Grabowski
magic constant.
2001-11-09nswbuf hasn't been used for ages. gc.Artur Grabowski
2001-11-09unbreakArtur Grabowski
2001-11-09various style fixes.Artur Grabowski
2001-11-09minor sync to NetBSD.Artur Grabowski
2001-11-09be way more sure that software cannot be usedTheo de Raadt
2001-11-09Ieeek. invalidate the pmap_l1pt_cache in pmap_growkernel.Artur Grabowski
How did this ever work?
2001-11-09Don't uvm_pagezero here, allocate a zeroed page instead.Artur Grabowski
2001-11-09Actually allow pa == 0 in pmap_extract, and don't set *pap if we fail.Artur Grabowski
2001-11-09Update DEBUG code to match reality.Artur Grabowski
2001-11-09No need to initialize the pmap_growkernel_slock twice.Artur Grabowski
No need to initialize the pmap_growkernel_slock twice.