summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2002-02-15fix the possible 4G overflow issuesMichael Shalayeff
2002-02-13FREF/FRELE where required due to fd_getfile.jasoni
- ok art@
2002-02-10no; GPL_MATH_EMULATE is not "required"; nj.lee@plumtree.co.nzTheo de Raadt
2002-02-06emulate linux behaviour by passing ioctl's down to the underlying devicejasoni
> From NetBSD; ok art@
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-28yes, there is no sense in double savectx here; from Brian J. Kifiak <bk@rt.fm>Michael Shalayeff
2002-01-27bt no moreMichael Shalayeff
2002-01-24bussified and bus-split bustec scsi ha driver.Michael Shalayeff
original port done by chris@ in '98 and pounded into -current by me, plus support for wide mode. tested on pci in both modes by me, on eisa (w/ half success, thus not enabled yet) by jason@. niklas@, jason@, millert@ ok.
2002-01-23recognize athlon model 6 and model 7; from netbsdMichael Shalayeff
2002-01-23bktr may have radioMichael Shalayeff
2002-01-23move mb_map allocation to mbinit()Artur Grabowski
2002-01-23move definition of mb_map from zillions of machdep.c to uipc_mbuf.cArtur Grabowski
2002-01-23move cdev_spkr_init() to conf.h for use by other arch'sEric Jackson
2002-01-23Pool deals fairly well with physical memory shortage, but it doesn't dealArtur Grabowski
well (not at all) with shortages of the vm_map where the pages are mapped (usually kmem_map). Try to deal with it: - group all information the backend allocator for a pool in a separate struct. The pool will only have a pointer to that struct. - change the pool_init API to reflect that. - link all pools allocating from the same allocator on a linked list. - Since an allocator is responsible to wait for physical memory it will only fail (waitok) when it runs out of its backing vm_map, carefully drain pools using the same allocator so that va space is freed. (see comments in code for caveats and details). - change pool_reclaim to return if it actually succeeded to free some memory, use that information to make draining easier and more efficient. - get rid of PR_URGENT, noone uses it.
2002-01-16Don't include <sys/map.h> when you don't need what's in it.Miod Vallat
2002-01-09Call gdt_init() earlier and only once. Work done with millert@Thomas Nordin
2002-01-09better iobase for rtii, from Maxim Tsyplakov <tm@oganer.net>Michael Shalayeff
2002-01-08Fix 16 vs. 32-bit mismatch. Solves the most common MBR hang.Kjell Wooding
This is from Mickey's tree. I inadvertently committed it without his permission last time. ok mickey@
2002-01-04correct comment: USB scanners aren't generic devicesJason Wright
2002-01-02commented out maxi radioMichael Shalayeff
2002-01-02at least ; required after label or case; openbsd@davidkrause.comTheo de Raadt
2002-01-02missing radiotrack entries, fix the others (all still commented outMichael Shalayeff
2001-12-31man says bus_space_map() returns non-zero, not negative on failureMichael Shalayeff
2001-12-24Harmonize and complete wrt cross-compilation.Miod Vallat
2001-12-24pcib is required if pcibios is there; deraadt@ okMichael Shalayeff
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
2001-12-16match piix icu type on 82810ba/m; from netbsdMichael Shalayeff
2001-12-15first i gave you one of the reasons it mmakes thing better.Michael Shalayeff
second i did not see the final diff. third i never said you should commit this. fourth, 10x for running around offending lusers i'm trying to resolve their problems with.
2001-12-15Fix a long-standing alignment bug by removing the 32-but call/returnKjell Wooding
on Lchr. Notice Lmessage is using Lchr's return, and it has always been a 16-bit call. This should be the root of many (most?) of the Drive:0 Partition:3 hangs. tip o the hat to mickey, who fixed it without necessarily knowing it, and toby, who put the final nail in. gas sucks.
2001-12-14on some sony vaios (con dios) battery life is reportedMichael Shalayeff
in big endian order, swap if flags was given. reported by: Hans-Joerg Hoexer <Hans-Joerg.Hoexer@yerbouti.franken.de>
2001-12-14SMALL_KERNEL -> outline splxNiklas Hallqvist
2001-12-13remover registers. bracket spl regions with asm volatilesNiklas Hallqvist
2001-12-11Remove declarations that already exist in <sys/conf.h>Miod Vallat
2001-12-11Yet another sync to NetBSD. Kills lot of unnecessary code and cleans up a bit.Artur Grabowski
2001-12-11More sync to NetBSD.Artur Grabowski
- don't remove wired mappings in pmap_collect. - some support for large pages.
2001-12-11Merge in some pmap improvements from NetBSD.Artur Grabowski
- disable pmap_copy (and comment out the code), it makes things slower. - don't return TRUE from pmap_extract if the pte is not valid.
2001-12-10minor cleanups.Artur Grabowski
2001-12-10No need to include <sys/dmap.h> and define related variables.Miod Vallat
2001-12-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
2001-12-07Use pmap_kenter for buffers and msgbuf.Artur Grabowski
2001-12-07Ratibibugle setredzone()Miod Vallat
[Ratibibugle is local slang for g/c, remove, rototill, etc]
2001-12-06Shave never used fastvec codeNiklas Hallqvist
2001-12-05Enable rootdev auto-configuration by device drivers during boot.Thierry Deval
Add support for "raid" devices (prepare future raidframe changes). OK deraadt@, Reviewed by drahn@, jason@, mickey@ and miod@
2001-12-05remove some ancient crud from the "modern machine" floppyTheo de Raadt
2001-12-05change KMEMPAGES back to 64M, 128M does not work on large memory machines.Dale Rahn
ok art@
2001-12-05VM_KMEM_SIZE no longer needed.Artur Grabowski
2001-12-05make nkmempages dynamic based on memory. okay art@ from netbsd:Niels Provos
date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl. NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
2001-12-04Yet another sync to NetBSD uvm.Artur Grabowski
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed.
2001-12-04Now that we found the bug, go back to not stop on SPL NOT LOWERED..Niklas Hallqvist
2001-12-04more bits defs; from netbsdMichael Shalayeff