Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-12-09 | big patch to simplify pool code. | Ted Unangst | |
remove pool_cache code. it was barely used, and quite complex. it's silly to have both a "fast" and "faster" allocation interface. provide a ctor/dtor interface, and convert the few cache users to use it. no caching at this time. use mutexes to protect pools. they should be initialized with pool_setipl if the pool may be used in an interrupt context, without existing spl protection. ok art deraadt thib | |||
2007-12-05 | Hang acpi(4) below bios(4) instead of mainbus(4). This lets us move acpi(4) | Theo de Raadt | |
before pcibios(4), and then.... if acpi(4) attaches, skip pcibios(4) since it messes the machines up. Fixes claudio's HP dl320 G5, and almost assuredly others. ok kettenis | |||
2007-12-01 | Don't be lazy in the locking in SYSCALL_DEBUG code. | Artur Grabowski | |
KERNEL_PROC_UNLOCK is not safe for recursion (becuase it clears P_BIGLOCK) so we have to make that lock conditional as well. Found by tholo@ when reviewing the i386 diff. | |||
2007-11-30 | Define NORMAL_C_NOP everywhere. | Miod Vallat | |
2007-11-29 | outdated comment | Theo de Raadt | |
2007-11-27 | Implement the NOLOCK semantics. MPSAFE will have to wait a while until | Artur Grabowski | |
we decide how to handle interrupts. deraadt@ ok | |||
2007-11-27 | ARGH. Work has poisoned my mind. KNF the braces. | Artur Grabowski | |
2007-11-27 | Unify amd64 and i386 code further; ok oga kettenis | Theo de Raadt | |
2007-11-26 | Like i386 - make the __mp_lock not spin at splhigh. | Artur Grabowski | |
deraadt@ ok | |||
2007-11-26 | First step towards unifying pchb between i386 and amd64 | Theo de Raadt | |
Light testing, mostly mechanical | |||
2007-11-26 | Move the implementation of __mp_lock (biglock) into machine dependent | Artur Grabowski | |
code. At this moment all architectures get the copy of the old code except i386 which gets a new shiny implementation that doesn't spin at splhigh (doh!) and doesn't try to grab the biglock when releasing the biglock (double doh!). Shaves 10% of system time during kernel compile and might solve a few bugs as a bonus. Other architectures coming shortly. miod@ deraadt@ ok | |||
2007-11-26 | correct newlines surrounding the sub-bus configuration, and unify | Theo de Raadt | |
pchb's further ok reyk oga | |||
2007-11-26 | fix new agp code on amd64 | Reyk Floeter | |
- internal intel graphics semi-agp chipsets need special handling in pchb.c - re-add the i965GM device - use the correct major device id for /dev/agp0 on amd64 (not the i386 one) ok deraadt@ | |||
2007-11-25 | typo; ok miod@ | Martynas Venckus | |
2007-11-25 | libkern, begone. Move to a new mechanism where config(8)'s "file" | Theo de Raadt | |
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner.. | |||
2007-11-25 | Make agp attach as a device. This means that many more agp bridges | Owain Ainsworth | |
actually get detected and attached. Also adds a kernel api for manipulating agp. Enable this on i386 and amd64. "I think you should commit it" deraadt@, ok matthieu. Looked over by several others. | |||
2007-11-25 | spelling fixes, from Martynas Venckus; | Jason McIntyre | |
2007-11-25 | Enable et/etphy now it can pass packets both ways. | Jonathan Gray | |
2007-11-25 | Get rid of the kernel 'libcompat' framework, and instead use conf/files to | Theo de Raadt | |
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options. | |||
2007-11-25 | When available and ACPI is enabled use the ACPI reset method | Jonathan Gray | |
to reboot. This is required for some quirky sis machines and likely others to reboot. Tested by many. 'commit early commit often' deraadt@ | |||
2007-11-24 | enable PCIAGP on amd64, tested for some time now by various people | Reyk Floeter | |
ok tedu@ oga@ | |||
2007-11-16 | typo | Mike Belopuhov | |
ok deraadt | |||
2007-11-16 | fix the bus_space #define nightmare, so that amd64 and i386 are much more | Theo de Raadt | |
uniform. as a result shared code like acpi needs less #ifdef's ok marco kettenis | |||
2007-11-16 | Remove microtime calls and RNG benchmarking from the pchb attachment | Mike Belopuhov | |
code. This is due to the fact that we do timecounter initialization after autoconf(9). ok deraadt | |||
2007-11-16 | do not make up a device name for interrupts.. give it the dv_xname | Theo de Raadt | |
2007-11-15 | enable most acpi functionality by default. now instead of 'enable acpi', | Theo de Raadt | |
you use 'disable acpi' or 'disable apm' withn you encounter problems (depending on which kind of problems). if we work hard enough, this can remain the situation by the time we ship the next release. otherwise, we will re-disable acpi... so let's crackin' | |||
2007-11-15 | remove the #ifdef ACPI_ENABLE. the EC codepath is either safe enough (and | Theo de Raadt | |
will be improved), or it is unsafe because AML assumes it must be there ok almost everyone | |||
2007-11-15 | Split CPUID into 2 32 bit fields. | Marco Peereboom | |
ok deraadt | |||
2007-11-15 | Clarify when smbios added multi core support and add the missing string | Marco Peereboom | |
designations. ok deraadt | |||
2007-11-15 | oops, processor structs need to be __packed. | Marco Peereboom | |
prompted by deraadt | |||
2007-11-15 | Add struct for processors. | Marco Peereboom | |
ok deraadt | |||
2007-11-14 | Be consistent in db_cmd_loop_done declaration. | Miod Vallat | |
2007-11-12 | Use isa_intr_establish() to establish the SCI interrupt handler; this makes | Mark Kettenis | |
sure that interrupt overrides from the MADT are applied. ok marco@, toby@ | |||
2007-11-12 | fix some problems with lazy fpu context handling: | Todd C. Miller | |
put the "fninit" where it belongs logically deal with XMM exceptions From NetBSD (drochner) | |||
2007-11-06 | ramdisks should have the same behaviour as GENERIC | Theo de Raadt | |
2007-11-05 | temporary ddb buffers need to be a bit larger on 64 bit systems to cope with | Miod Vallat | |
some radix configurations. | |||
2007-11-03 | Fix LKM support for amd64. | Mike Belopuhov | |
ok deraadt weingart | |||
2007-11-03 | Add acpi_acquire_global_lock(), and acpi_release_global_lock to | Gordon Willem Klok | |
amd64 the not ghetto architecture. ok toby@ | |||
2007-11-03 | don't spam dmesg with huge, whitespace padded bios strings. | Chris Kuethe | |
ok beck, gwk | |||
2007-11-03 | change what happens when acpi is enabled to include "relatively safe" | Bob Beck | |
stuff and have acpi actually do something. note acpi is still disabled by default, but now will do more stuff when enabled with config -e/boot -c ok gwk@, weingart@, canacar@, deraadt@ | |||
2007-11-01 | Remove curproc definition. It is supposed to be in proc.h only. | Mike Belopuhov | |
ok kettenis | |||
2007-10-31 | for now, workaround MP timeout/splhigh/scsi race at reboot time using a | Theo de Raadt | |
delay. will be revisited. ok art | |||
2007-10-29 | run depend so that SFILES depend on assym.h, which allows them to build | Marc Espie | |
with make -j on fast SMP boxes. noticed by robert@, input by miod, kettenis, okay toby@, robert@, and tested to work if people build kernels correctly... | |||
2007-10-28 | get rid of btoc/ctob in favor of atop/ptoa | Martin Reindl | |
2007-10-24 | Remove idle loop counter. | Mike Belopuhov | |
ok art deraadt | |||
2007-10-24 | Don't spam the dmesg. | Mike Belopuhov | |
ok deraadt | |||
2007-10-19 | remove vars from some prototypes. | Federico G. Schwindt | |
2007-10-17 | replacement for the pctr codebase that can handle amd64 processors as | Theo de Raadt | |
well (in fact, all 4 combinations of codebase and processor) written by Mike Belopuhov and Aleksey Lomovtsev | |||
2007-10-14 | enable wbng | Theo de Raadt | |
2007-10-13 | Remove leftovers art forgot to prune... | Miod Vallat | |