summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
AgeCommit message (Collapse)Author
2003-01-21Get rid of vm_{offset,size}_t on i386.Artur Grabowski
deraadt@ ok.
2003-01-16Getting rid of vm_offset_tArtur Grabowski
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2003-01-06Document MBR offset (used by NT4 at least).Tobias Weingartner
OK deraadt@, millert@, and others.
2002-12-11Some people say that "__asm __volatile("")" is not enough.Artur Grabowski
Use "__asm __volatile("":::"memory")" to completly avoid reordering.
2002-11-24also no opt_user_ldt.hPhilipp Buehler
miod@, millert@ ok
2002-10-23Add a trivial va_copy() macro to all architectures but powerpcTodd C. Miller
(which I will leave for Dale since it needs special handling). From NetBSD (and same as sparc64). espie@ OK
2002-10-06Garbage collect __HAVE_SPLASSERT. It wasn't necessary.Artur Grabowski
2002-09-24Restore pentium_microtime, testing by henning@, millert@. ok deraadt@Thomas Nordin
2002-09-12Change the PMAP_PAGEIDLEZERO api to take the struct vm_page instead of the pa.Artur Grabowski
2002-07-31support for changing stack execution protection through mprotect()Michael Shalayeff
by emulating the page execution protection bit and accounting for pages mapped executable on the stack and swapping the global user code descriptors for the process accordingly. this is tested w/ the regress test and art@ looked over it. there is still a mistery how executable mappings on fault works on i386 since no prot_exec faults ever happen.
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-23Cardbus/pcmcia support for macppc. parts borrowed from NetBSD, and otherDale Rahn
portions of the tree.
2002-07-23Define __HAVE_SPLASSERT on architectures that support splassert.Artur Grabowski
2002-07-19Define an IPL_VM and mark IPL_IMP as "not to be used".Artur Grabowski
2002-06-26Bump i386 kvm size to 768M.Artur Grabowski
deraadt@ ok.
2002-06-17remove old pccons console driver. Not used anymore and not maintained.Matthieu Herrb
ok millert@, miod@.
2002-06-11Move cdev_lpt_init() to a common location.Miod Vallat
2002-06-11define IPL_STATCLOCKArtur Grabowski
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-05-22Implement splassert. Even simpler than on the sparc.Artur Grabowski
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-03-30recognize more via/cyrix cpu types; from Kamo Hiroyasu ↵Michael Shalayeff
<wd@ics.nara-wu.ac.jp> via pr#2503 (w/ typos fixed)
2002-03-24handle NS Geode GX1; wd@ics.nara-wu.ac.jpTheo de Raadt
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-07Clean up BUS_DMA_* flags, and make sure all arch's define:Jason Wright
BUS_DMA_READ, BUS_DMA_WRITE, and BUS_DMA_STREAMING
2002-02-21Typo. Ok mickey@Thierry Deval
2002-02-17Patch from Daniel Lucq <daniel@lucq.org>Mats O Jansson
The patch allows you to change the value of NMBCLUSTERS, BUFCACHEPERCENT and NKMEMPAGES using the config command, instead of recompiling the kernel. This is the kernel part of the patch. I have compiled it on i386, sparc64, alpha and macppc. -moj ok art@ maja@
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-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-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-08Sprinkle pmap_update calls where relevant and some otherArtur Grabowski
misc pmap usage fixes.
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-04more bits defs; from netbsdMichael Shalayeff
2001-12-04New try at a level based irq system.Niklas Hallqvist
2001-11-30prevent reorder of __asm w/ __volatile.Michael Shalayeff
from netbsd: Declare some asm statement with output as volatile. Without this, gcc with -march=pentiumpro produce bad code.
2001-11-30Now that pmaps can have vm_page_md, make pmap_physseg optional.Artur Grabowski
2001-11-28zap some typedefs.Artur Grabowski
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
2001-11-28Don't use pmap_update when we mean tlbflush. make pmap_update into a noop.Artur Grabowski
2001-11-18Revert niklas's broken ICU interrupt handling changes; deraadt@ okAaron Campbell
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-07Another sync of uvm to NetBSD. Just minor fiddling, no major changes.Artur Grabowski
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)