summaryrefslogtreecommitdiff
path: root/sys/arch/i386
AgeCommit message (Collapse)Author
2003-01-12more kernel growth requires me to remove uhaTheo de Raadt
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-09restore the prev version of the kq filter for events do not get delivered ↵Michael Shalayeff
properly; reported by dugsong@
2003-01-08do not match on via866 smbus controller; reported and tested by grange@Michael Shalayeff
2003-01-06Document MBR offset (used by NT4 at least).Tobias Weingartner
OK deraadt@, millert@, and others.
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-22better handling of bigendian batteries; problem noticed by blovett@bsdguru.comMichael Shalayeff
2002-12-18APM_BEBATT is in the apm_flags, not sc_flags, from markus@Michael Shalayeff
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-13Add FireWire to kernel config.Thierry Deval
(disabled for now, not production quality yet)
2002-12-12linux passes the 6th syscall argument in ebpJason Ish
- from NetBSD - ok deraadt, mickey
2002-12-11Some people say that "__asm __volatile("")" is not enough.Artur Grabowski
Use "__asm __volatile("":::"memory")" to completly avoid reordering.
2002-12-10``synthesizers'' is too difficult to spell correctly.Miod Vallat
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-02remove trm to fit propolice onto the floppyTheo de Raadt
2002-12-02remove aic to fit propolice onto the floppyTheo de Raadt
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-30Add driver for Belkin usb serial adapters.Nathan Binkert
Driver from Alexander Kabaev <kan.FreeBSD.org> and Ichiro FUKUHARA <ichiro@ichiro.org>
2002-11-30add uvscom(4), but comment it outNathan Binkert
2002-11-28same devices named the sameMichael Shalayeff
2002-11-28generic isa mpu, from Sergey A. Smitienko w/ fixes from meMichael Shalayeff
2002-11-24also no opt_user_ldt.hPhilipp Buehler
miod@, millert@ ok
2002-11-08prepare for bktr on macppc (commented out in generic for now); drahn@ okMichael Shalayeff
2002-11-07dev/isa/i82365_isasubr.c is needed for pcic at pci; from Bernard Gardner via ↵Michael Shalayeff
pr2962
2002-10-29Remove some unused globlsArtur Grabowski
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-14Fix from FreeBSD for atlhon problems with mtrr and XFree86. Ok deraadt@Matthieu Herrb
FreeBSD commit messages say: Some BIOSs are using MTRR values that are only documented under NDA to control the mapping of things like the ACPI and APM into memory. The problem is that starting X changes these values, so if something was using the bits of BIOS mapped into memory (say ACPI or APM), then next time they access this memory the machine would hang. This patch refuse to change MTRR values it doesn't understand, unless a new "force" option is given. This means X doesn't change them by accident but someone can override that if they really want to. PR: 28418 Tested by: Christopher Masto <chris at netmonger dot net>, David Bushong <david at bushong dot net>, Santos <casd at myrealbox dot com> Make the MTRR code a bit more defensive - this should help people trying to run X on some Athlon systems where the BIOS does odd things (mines an ASUS A7A266, but it seems to also help on other systems). Here's a description of the problem and my fix: The problem with the old MTRR code is that it only expects to find documented values in the bytes of MTRR registers. To convert the MTRR byte into a FreeBSD "Memory Range Type" (mrt) it uses the byte value and looks it up in an array. If the value is not in range then the mrt value ends up containing random junk. This isn't an immediate problem. The mrt value is only used later when rewriting the MTRR registers. When we finally go to write a value back again, the function i686_mtrrtype() searches for the junk value and returns -1 when it fails to find it. This is converted to a byte (0xff) and written back to the register, causing a GPF as 0xff is an illegal value for a MTRR byte. To work around this problem I've added a new mrt flag MDF_UNKNOWN. We set this when we read a MTRR byte which we do not understand. If we try to convert a MDF_UNKNOWN back into a MTRR value, then the new function, i686_mrt2mtrr, just returns the old value of the MTRR byte. This leaves the memory range type unchanged. I have seen one side effect of the fix, which is that ACPI calls after X has been run seem to hang my machine. As running X would previously panic the machine, this is still an improvement ;-) PR: 28418, 25958 Tested by: jkh, Christopher Masto <chris at netmonger dot net>
2002-10-13better USER_LDT comment; originally suggested by seb@todesplanet.de; ok deraadtPeter Valchev
2002-10-13Remove more '\n's from panic() statements. From Chris Kuethe.Kenneth R Westerback
2002-10-12Remove more '\n's from panic() statements. Both trailing and leading.Kenneth R Westerback
Diff generated by Chris Kuethe.
2002-10-07this removes the functionality of adding allocatedMichael Shalayeff
pages into the queue already containing allocated pages. breaks i386:setup_buffers() because of this.
2002-10-06No more need to initialize the result list before uvm_pglistalloc.Artur Grabowski
2002-10-06Garbage collect __HAVE_SPLASSERT. It wasn't necessary.Artur Grabowski
2002-09-26renable sppp and lmc, now freeTheo de Raadt
2002-09-24Get rid of gx(4) and use em(4) since it supports more cards and works betterNathan Binkert
overall.
2002-09-24Restore pentium_microtime, testing by henning@, millert@. ok deraadt@Thomas Nordin
2002-09-23turn off sppp, lmc, and cz until various licenses on those components areTheo de Raadt
resolved. sorry -- i've been warning people for some time that i would start to take this stance.
2002-09-23For serverworks chipsets: instead of trying to prevent attaching the same busNathan Binkert
multiple times by restricting matches based on device id and revision, keep track of the bus numbers that were attached, and don't reattach them a second time. ok deraadt
2002-09-16It's more convinient to spell convinient as ``convenient'', actually.Miod Vallat
2002-09-12Change the PMAP_PAGEIDLEZERO api to take the struct vm_page instead of the pa.Artur Grabowski
2002-09-11Some early callers of pmap_growkernel call it before vm_page structuresArtur Grabowski
are initialized. So we can't to PHYS_TO_VM_PAGE becuase there are no vm_pages. Reintroduce the old pmap_zero_page renamed to pmap_zero_phys that can zero pages without struct vm_page.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-09-03add aic@isapnp, commented out, except for _cdMichael Shalayeff
2002-09-03aic at isapnp, from anders@Arnholm.nu w/ fixes from meMichael Shalayeff
2002-08-28update of radiotrack driver, including isapnp support; from jumbo@Michael Shalayeff
2002-08-28ancient file name in .file; from pbastos@rdc.puc-rio.brMichael Shalayeff
2002-08-22match more serverworks "double bridges", based on discussions with nate andTheo de Raadt
brad
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-08-05the supported agp chipset list is md-configured, not miMichael Shalayeff
2002-08-02prevent integer overflow by verifying that ua.num is not too large.Nathan Binkert
ok niels, millert, art