Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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-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-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-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-12 | Increment ncpus when hatching a secondary processor. | Miod Vallat | |
2007-05-12 | Change the 88100 interrupt handlers to process DAEs with interrupts enabled, | Miod Vallat | |
as done for DAEs not occuring during interrupts. Remove the check for unprocessed DAE on return from trap() in eh_common.S, since this can't happen. As a result, the return-from-trap code becomes identical on 88100 and 88110 systems. | |||
2007-05-12 | Remove unused code and definitions pasted over from mvme188 support, which do | Miod Vallat | |
not apply to luna88k. | |||
2007-05-08 | remove more junk in the setroot() code path | Theo de Raadt | |
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-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-02-19 | only make this interface available to the kernel for now, discussed witha | Theo de Raadt | |
rt and such; tested and ok miod drahn | |||
2007-02-14 | FALLTHRU -> FALLTHROUGH for consistency. | Jonathan Gray | |
Suggested by miod@ | |||
2007-02-09 | LCD device driver, second step. Now the driver works with autoconf. | Kenji Aoyama | |
ok miod@ | |||
2007-02-06 | Add machine/atomic.h to all architectures and define two operations | Artur Grabowski | |
right now that are supposed to be atomic with respect to interrupts and SMP: atomic_setbits_int and atomic_clearbits_int. All architectures other than i386 and amd64 get dummy implementations since at first we'll be replacing operations that are done with "a |= bit" and "a &= ~bit" today. More proper implementations will follow kettenis@, miod@ ok | |||
2007-01-29 | LCD device driver support for luna88k, first step. | Kenji Aoyama | |
ok miod@ | |||
2007-01-14 | Same as GENERIC, m88k_cpus[] should have 4 elements on luna88k, even in | Kenji Aoyama | |
non-MULTIPROCESSOR kernel. ok miod@ | |||
2007-01-13 | Bring back a <machine/frame.h> for m88k platforms, by splitting <machine/pcb.h> | Miod Vallat | |
in its exception-related contents and pcb-related contents. | |||
2007-01-12 | Change the secondary CMMU's data cache turn on so that do not hog the | Kenji Aoyama | |
bus while they spin, as same as 3.8. This have been missed since CMMU initialize cleanup. Also m88k_cpus[] should have 4 elements on luna88k, even in non-MULTIPROCESSOR kernel. ok miod@ | |||
2006-11-29 | Add an unpack_attr function to struct wsdisplay_emulops, to match the | Miod Vallat | |
existing alloc_attr function. This allows rasops_unpack_attr to be kept private to rasops, yet available to the screen drivers. | |||
2006-11-29 | Add a new member to struct wsemuldisplaydev_attach_args, for a frame buffer | Miod Vallat | |
driver to be able to tell how many wscons screens to attach to it, instead of WSDISPLAY_DEFAULTSCREENS which is a global setting. | |||
2006-11-28 | give scsi controllers a real attach args to fill in when attaching scsibus. | David Gwynne | |
ok miod@ marco@ deraadt@ | |||
2006-11-28 | rename scsibus_attach_args to scsi_attach_args. this can help avoid | David Gwynne | |
confusing when trying to attach scsibus to a hba, since it is really meant for attaching scsi devices to scsibus. ok deraadt@ marco@ | |||
2006-11-18 | On 88100 systems which do not need the xxx.usr instruction workaround, | Miod Vallat | |
override the DAE helper routines with workaroundless code while the kernel text is still writable. | |||
2006-11-16 | Ratibibugle struct frame and <machine/frame.h> | Miod Vallat | |
2006-10-30 | Now the primary CPU starts the CMMUs which tied to the secondary CPUs. | Kenji Aoyama | |
Without this, the performance is not good on multi-CPU machine with non-MULTIPROCESSOR kernel, because the secondary CPUs run on the never-ending loop without cache. ok miod@ | |||
2006-10-30 | Changed CMMU probing method. On the luna88k, badaddr() returns 'good' | Kenji Aoyama | |
on unpopulated slots, so we check the CMMU type value for each CMMU register address. ok miod@ | |||
2006-10-04 | More tidying up after bad144. Remove references in comments and | Kenneth R Westerback | |
don't include dkbad.h when nothing in it is used. Missed arm/include/disklabel.h first time around. | |||
2006-09-27 | Fix tags file creating by removing unexisting paths. | Alexander Yurchenko | |
2006-08-17 | Check d_secpercyl in all readdisklable() functions, and have all of | Kenneth R Westerback | |
them return 'invalid geometry' when d_secpercyl == 0. While there move the check to a consistant location (after the check of d_secperunit) and use a consistant idiom (i.e. some readdisklabel()'s have no 'done' label). prodded by thib@ after a bad macppc experience. ok deraadt@ | |||
2006-08-12 | Missing rcsid | Miod Vallat | |
2006-08-12 | Fail TIOCSFLAGS if non-root, like all other serial drivers do. | Miod Vallat | |
2006-08-06 | Switch luna88k from rcons to rasops. Tested by aoyama@ | Miod Vallat | |
2006-07-27 | Compile all kernels with -Wstack-usage-larger-than-2047, now that all | Miod Vallat | |
offending code has been taken out and shot. ok deraadt@ | |||
2006-06-19 | move clock_subr.c to a better place, and now it is always in the kernel | Theo de Raadt | |
so that things can use it; tested on all architectures; ok kettenis | |||
2006-06-11 | Zero the size of the correct partition. Missed in previous cleanup. | Kenneth R Westerback | |
ok miod@ | |||
2006-05-15 | Clean secondary processors initialization code, similar to mvme88k; | Miod Vallat | |
tested aoyama@ | |||
2006-05-08 | Replace gazillions of badvaddr() or badwordaddr() calls with badaddr() calls. | Miod Vallat | |
With a few prototype declarations shuffling, this finally allows <machine/locore.h> to die. | |||
2006-05-08 | Clean the internal m88k trap type codes; while there, simplify and | Miod Vallat | |
factorize the build of the VBR page betweem luna88k and mvme88k. Tested by aoyama@ and I. |