Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-10-14 | Provide a way to attach spdmem(4) by faking an I2C bus with EEPROMs with | Mark Kettenis | |
contents from OpenFirmware. ok deraadt@ | |||
2007-10-14 | Implement OF_getproplen(). | Mark Kettenis | |
ok deraadt@ | |||
2007-10-10 | GENERIC.MP dirs will show up here some time | Theo de Raadt | |
2007-10-10 | Disable PSL_POW code for now in cpu_idle_cycle, because it does not yet | Theo de Raadt | |
do the cache flush / instruction cache disable / tlb invalidate dance. For some reason in a switchto world this suddenly matters or machines become really slow running NFS... huh? figured out with kettenis | |||
2007-10-10 | Make context switching much more MI: | Artur Grabowski | |
- Move the functionality of choosing a process from cpu_switch into a much simpler function: cpu_switchto. Instead of having the locore code walk the run queues, let the MI code choose the process we want to run and only implement the context switching itself in MD code. - Let MD context switching run without worrying about spls or locks. - Instead of having the idle loop implemented with special contexts in MD code, implement one idle proc for each cpu. make the idle loop MI with MD hooks. - Change the proc lists from the old style vax queues to TAILQs. - Change the sleep queue from vax queues to TAILQs. This makes wakeup() go from O(n^2) to O(n) there will be some MD fallout, but it will be fixed shortly. There's also a few cleanups to be done after this. deraadt@, kettenis@ ok | |||
2007-10-08 | enable spdmem where it matters | Theo de Raadt | |
2007-10-02 | Apply (with slight variants) this elimination of bzero() with M_ZERO: | Kenneth R Westerback | |
- if ((mapstore = malloc(mapsize, M_DEVBUF, - (flags & BUS_DMA_NOWAIT) ? M_NOWAIT : M_WAITOK)) == NULL) + if ((mapstore = malloc(mapsize, M_DEVBUF, (flags & BUS_DMA_NOWAIT) ? + (M_NOWAIT | M_ZERO) : (M_WAITOK | M_ZERO))) == NULL) return (ENOMEM); - bzero(mapstore, mapsize); | |||
2007-09-30 | Enable Broadcom wireless, bwi(4). | Jonathan Gray | |
If people testing could send mail to mglocker and myself we'd appreciate it. ok mglocker@ | |||
2007-09-22 | M_ZERO -> bzero. | Kenneth R Westerback | |
ok art@ | |||
2007-09-17 | Only the most obvious bzero() -> M_ZERO changes. No cast changes, no | Kenneth R Westerback | |
MALLOC/FREE, etc. Just adding M_ZERO to malloc() and deleting an immediately adjacent bzero(). | |||
2007-09-09 | /enet apparently maps to mc0; gwk ok | Theo de Raadt | |
2007-09-09 | uchcom(4) has been verified to work by djm@, so add it to all | Jonathan Gray | |
USB capable archs. | |||
2007-09-03 | Typos from miod. 'functin' -> 'functin' in some comments. | Kenneth R Westerback | |
2007-08-10 | Enable CF malo for macppc, it also works there. | Marcus Glocker | |
OK claudio@ | |||
2007-07-30 | Shuffle the order in which we look for header files, when doing | Thordur I. Bjornsson | |
kernel builds locally this doesnt change much but over NFS this cuts about 12% of the build time on my setup (i386). OK miod@, deraadt@. | |||
2007-07-25 | crank to 4.2-beta | Theo de Raadt | |
2007-07-24 | bthub for macppc to make xsa happy. | Michael Knudsen | |
todd will commit the MAKEDEV bits later. | |||
2007-06-24 | When bootfile was made global so that macppc could modify it, it | Tom Cosgrove | |
clashed with a global variable already used by the bootblocks. Therefore rename bootfile here to kernelfile. ok drahn@ | |||
2007-06-24 | rework sensor tasks to use the kernels generic workq rather than a special | David Gwynne | |
kernel thread of its own. the api has changed (which will be fixed in the manpage shortly) so all the users of sensor tasks that i can find have been fixed too. noone tested, so its going in to force people to run with it. "put it in" deraadt@ | |||
2007-06-23 | Enable workaround for decrementer exception problem. | Dale Rahn | |
2007-06-20 | b_cylinder does not need to be set on the callpath down into drivers. | Theo de Raadt | |
cpu_disklabel can go away, since nothing anymore needs to use it; ok miod | |||
2007-06-18 | split out dpme disklabel reading, simplifying things significantly | Theo de Raadt | |
and making it look a lot more like other architectures; tested by myself and drahn and gwk | |||
2007-06-17 | significantly simplified disklabel infrastructure. MBR handling becomes MI | Theo de Raadt | |
to support hotplug media on most architectures. disklabel setup and verification done using new helper functions. Disklabels must *always* have a correct checksum now. Same code paths are used to learn on-disk location disklabels, to avoid new errors sneaking in. Tested on almost all cases, testing help from todd, kettenis, krw, otto, dlg, robert, gwk, drahn | |||
2007-06-14 | When macppc was switched to __HAVE_VM_PAGE_MD, data structures were incorrectly | Dale Rahn | |
exposed to userland, protect with _KERNEL. Tested by Antoine Jacoutot | |||
2007-06-14 | Remove the definition and usage of the USB_DECLARE_DRIVER_CLASS and | Marc Balmer | |
USB_DECLARE_DRIVER macros. No binary change. ok dlg. | |||
2007-06-14 | excessive blank lines making the versions different | Theo de Raadt | |
2007-06-14 | set the prototype disklabel to version 1 | Theo de Raadt | |
2007-06-14 | Remove some debug prints which I let slip in. | Dale Rahn | |
2007-06-14 | do not depend on previous loop variable, use a constant instead | Theo de Raadt | |
2007-06-14 | boot code does not do daddr64_t yet. 'unchange that' deraadt@ | Dale Rahn | |
2007-06-13 | Switch macppc to the interactive bootloader in stand/boot. | Dale Rahn | |
Much more useable on serial console systems. | |||
2007-06-12 | all disksubr.c did their b_flags manipulation differently (and wrong). | Theo de Raadt | |
correct and unify; ok thib miod | |||
2007-06-12 | Remove the definition and use of the device_ptr_t which was a struct device *. | Marc Balmer | |
No binary change. ok mk. | |||
2007-06-11 | Remove the usb_proc_ptr type definition, which was really a 'struct proc *' | Marc Balmer | |
only. No binary change. ok mk. | |||
2007-06-11 | inlude powerpc/include/*.h in macppc's make tags target. | Thordur I. Bjornsson | |
ok drahn@ | |||
2007-06-09 | The differences in the last non-homogeneous bounds_check_with_label() | Kenneth R Westerback | |
routines (alpha, vax) prove to be not worth keeping. Move bounds_check_with_label() into the MI world. Eliminate unreliable and almost certainly useless checks for overwriting a disklabel. After discussion with deraadt@ | |||
2007-06-09 | Enable re* at cardbus?, tested with a D-Link DGE-660TD card. | Marc Balmer | |
ok deraadt. | |||
2007-06-09 | unify DOSPTYP_FAT* code (some architectures missed a filesystem type or two) | Theo de Raadt | |
2007-06-09 | by hand i carefully found that all the differences in setdisklabel() | Theo de Raadt | |
implimentations were simply either missing code, or spacing and such. setdisklabel() can become MI now. | |||
2007-06-09 | annoying spacing glitch which makes the diffs bigger | Theo de Raadt | |
2007-06-08 | include files.bluetooth, so that bluetooth support can be compiled, | Jasper Lievisse Adriaanse | |
if enabled. ok gwk@ | |||
2007-06-08 | all disklabels read from the kernel now always contain a total sector | Theo de Raadt | |
size which is the REAL DISK SIZE. always. if a driver fails to set this right, please fix it. agreed with otto and krw | |||
2007-06-07 | More bounds_check_with_label homogenization. Fix a couple of typos while | Kenneth R Westerback | |
there. 'so go to it!' deraadt@ | |||
2007-06-06 | now that all partition size/offsets are potentially 64-bit, change the | Theo de Raadt | |
type of all variables to daddr64_t. this includes the APIs for XXsize() and XXdump(), all range checks inside bio drivers, internal variables for disklabel handling, and even uvm's swap offsets. re-read numerous times by otto, miod, krw, thib to look for errors | |||
2007-06-06 | a fair sprinking of knf, code movement, and sometimes character-by-character | Theo de Raadt | |
accuracy so that the variious disksubr.c's can be compared easier. setdisklabel() starts taking an int for openmask. ok krw, and read by quite a few other people | |||
2007-06-05 | Remove the comment "Static function protoypes". Static is gone in USB. | Marc Balmer | |
no binary change. | |||
2007-06-05 | Remove the "Static" function declaration. It is defined to be | Marc Balmer | |
empty and confuses the source code reader. As discussed with dlg and jsg. | |||
2007-06-05 | use six new macros to access & store the 48-bit disklabel fields related | Theo de Raadt | |
to size. tested on almost all machines, double checked by miod and krw next comes the type handling surrounding these values | |||
2007-06-04 | do not shuffle dev 4 under the carpet; make svnd work again; uncookie | Otto Moerbeek | |
for deraadt@ ok irc@ | |||
2007-06-02 | oops, why did i delete this. bizzare | Theo de Raadt | |