Age | Commit message (Collapse) | Author | |
---|---|---|---|
2007-06-07 | best if this compiles | Theo de Raadt | |
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 | bounds_check_with_label() checks for i/o outside of the partition and | Kenneth R Westerback | |
for overwriting the disklabel. Reorder some checks so all copies of bounds_check_with_label do the checks in the same order. Order picked by using the currently most popular one. Should be no functional change. "If it's boring, commit it" deraadt@ | |||
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-02 | Rename cvtdisklabelv1 -> disklabeltokernlabel. It does more than just | Kenneth R Westerback | |
convert version 0 to version 1 disklabels. Suggested by deraadt@. ok deraadt@ otto@ | |||
2007-06-01 | Replace comment in Swedish. -moj | Mats O Jansson | |
2007-06-01 | some architectures called setroot() from cpu_configure(), *way* before some | Theo de Raadt | |
subsystems were enabled. others used a *md_diskconf -> diskconf() method to make sure init_main could "do late setroot". Change all architectures to have diskconf(), use it directly & late. tested by todd and myself on most architectures, ok miod too | |||
2007-06-01 | Fix cd block major number | Miod Vallat | |
2007-05-31 | RAW_PART is defined to be 2 in vax (like elsewhere) so use it rather | Kenneth R Westerback | |
than 2. | |||
2007-05-31 | Minor bounds_check_with_label nits. | Kenneth R Westerback | |
1) Use local variable 'labelsector' not 'labelsect' to be consistant (hp300, mac68k, mvme68k, mvme88k, vax). 2) Having checked for sz == 0, the next check needs only be sz < 0, not <= 0. (mac68k, mvme68k, mvme88k) 3) Use lp->d_partitions + DISKPART(dev), rather than lp->d_partitions[DISKPART(dev)] (hp300). Assuming no typos there should be no functional change. | |||
2007-05-31 | KNF, whitespace and comment rectification to make all | Kenneth R Westerback | |
bounds_check_with_label() routines as identical as possible without changing any code. Code nits and adjustments to come. | |||
2007-05-29 | start of dumpconf() unification, which one day we can pray will be MI | Theo de Raadt | |
(and part of setroot); ok miod | |||
2007-05-29 | Updated disklabel format to support larger disks and partitions. We | Otto Moerbeek | |
free room in struct partition by packing fragment size and fragments/block more tighlty and use the resulting space to make offset and size 48 bits. For the disk part we use spare fields in struct disklabel. Kernel converts in-mem copy of the on-disk label if needed, disklabel(8) writes new version. We are careful to only change fields not used by bootloaders. Conception of basic scheme by deraadt. ok deraadt@ krw@ | |||
2007-05-29 | Refactor readdisklabel() to ensure there is a single point of return, in | Kenneth R Westerback | |
preparation for translating all disk labels visible to the kernel to the soon to arrive V1 format. ok otto@ deraadt@ | |||
2007-05-28 | bio for all archs, ok krw@ kettenis@ sounds good marco@ go for it deraadt@ | Todd T. Fries | |
2007-05-28 | Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET | Thordur I. Bjornsson | |
mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others. The NMBCLUSTERS constants needs to be MD though; ok miod@,krw@,claudio@ | |||
2007-05-27 | pagemove() is no longer used. | Miod Vallat | |
2007-05-27 | Make sure the minaddr hint for uvm_km_suballoc() calls is always initialized. | Miod Vallat | |
ok pedro@ | |||
2007-05-27 | back out bio, breaks dlg's sparc64 v215 | Todd T. Fries | |
prompted by/ok dlg@ deraadt@ | |||
2007-05-26 | Dynamic buffer cache. Initial diff from mickey@, okay art@ beck@ toby@ | Pedro Martelletto | |
deraadt@ dlg@. | |||
2007-05-26 | prodded by marco, enable bio everywhere | Todd T. Fries | |
grudgingly ok deraadt@ | |||
2007-05-25 | "interupt" -> "interrupt" in various comments. Mostly from Diego Casati. | Kenneth R Westerback | |
2007-05-25 | rename cpu_dumpconf() to dumpconf(); no need to be different from other ↵ | Theo de Raadt | |
architectures | |||
2007-05-23 | Print real/available memory in MB as well as bytes in dmesg, and unify | Peter Valchev | |
architectures to print it the same way. ok henning, miod; i386 part from tom | |||
2007-05-20 | addess -> address | Miod Vallat | |
2007-05-16 | splassert_ctl defaults to 1 now, so dont wrap the checks for | Thordur I. Bjornsson | |
splassert_ctl > 0 in __predict_false(). ok deraadt@ | |||
2007-05-16 | The world of __HAVEs and __HAVE_NOTs is reducing. All architectures | Artur Grabowski | |
have cpu_info now, so kill the option. eyeballed by jsg@ and grange@ | |||
2007-05-16 | we need a cpu_info_store; how did miod miss this? | Theo de Raadt | |
2007-05-16 | Oops, forgot this file in the cpuinfo changes. | Miod Vallat | |
2007-05-16 | Switch vax to __HAVE_CPUINFO, based on an incomplete diff from art. | Miod Vallat | |
2007-05-15 | Remove the MI implementation of mutexes and remove the __HAVE_MUTEX | Artur Grabowski | |
option. Every architecture implements mutexes now. | |||
2007-05-15 | kill __HAVE_DEVICE_REGISTER by requiring all architectures to have a | Theo de Raadt | |
device_register() function -- even if it does nothing. reduces the cpp-based blather different between architectures idea ok'd by miod; tested on all architectures (except a few miod will need to cleanup because he has them) | |||
2007-05-11 | Don't use LK_CANRECURSE for the kernel lock, okay miod@ art@ | Pedro Martelletto | |
2007-05-10 | evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵ | Theo de Raadt | |
years ago; ok miod | |||
2007-05-04 | make findblkmajor() and findblkname() MI; ok miod | Theo de Raadt | |
2007-05-04 | setroot() was a ugly mix of MI and MD code, with different bugs on different | Theo de Raadt | |
machines. Instead -- build one solid clean MI version, and thenchange all the architectures to use it. ok various people, tested on almost all cases. (it is a 10094 line diff..) | |||
2007-05-01 | Provide <machine/lock.h> on all platforms, so that MI code may #include it | Miod Vallat | |
unconditionnaly. | |||
2007-04-22 | Switch the vax pmap to __HAVE_VM_PAGE_MD. | Miod Vallat | |
pv_entry head of lists are no longer preallocated at boot, and will only be allocated for managed pages (instead of all physical memory pages, including those containing the kernel). pmap and pv_entry will now be allocated from a pool, instead of malloc for the former and a homegrown allocator which never relinquishes unused elements to the VM system for the latter. The net result is a slight decrease in memory usage, and better behaviour in low-memory conditions. | |||
2007-04-12 | Remove __BUS_SPACE_ADDRESS_SANITY correctly, no cookie for me. Spotted by | Miod Vallat | |
djm@ | |||
2007-04-10 | Add support for a fourth axis on wsmouse devices, e.g. on the Apple Might | Miod Vallat | |
Mouse. Currently limited to USB mice. Adapted from a diff from Gareth <garf@loveandnature.co.za> on tech@ | |||
2007-04-10 | More typos from my list. | Miod Vallat | |
2007-04-10 | ``prob ably'' can be written in one word. | Miod Vallat | |
2007-04-10 | Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY and | Miod Vallat | |
__BUS_SPACE_ALIGNED_ADDRESS. | |||
2007-04-10 | ``it's'' -> ``its'' when the grammar gods require this change. | Miod Vallat | |
2007-04-05 | Wrap bit operations between splhigh()/splx() for atomicity wrt interrupts. | Miod Vallat | |
Not enough for multiprocessor, but we're not there yet anyway. | |||
2007-04-05 | Reuse symbolic values for splsoftXXX() inlines, instead of hardcoding them. | Miod Vallat | |
No functional change. | |||
2007-04-05 | splx() does not need to return a value. | Miod Vallat | |
2007-04-01 | Remove some leftovers from the userret cleanups. | Artur Grabowski | |
No need to save sticks anymore. miod@ ok and test |