Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | 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-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-31 | Standardize on -1 as the error return value for | Kenneth R Westerback | |
bounds_check_with_label. All callers check for <= 0, so no functional change. Feedback from miod@. ok weingart@ | |||
2007-05-30 | Missed one minaddr initialization before invoking uvm_km_suballoc(). | Miod Vallat | |
2007-05-29 | Make use of struct wsmouse_calibcoords and add ioctl support | Robert Nagy | |
for getting and passing calibration values instead of using sysctl. Move the scale struct to uts_softc so that each device can have it's own values instead of using the global one. Remove the two MD sysctl (ztsscale and ztsrawmode). ok deraadt@ | |||
2007-05-29 | s/entrace/entrance (not obvious that the code was cut/paste =) | Jason Wright | |
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 | Use atomic operations to operate on netisr, instead of clearing it at splhigh. | Miod Vallat | |
This changes nothing on legacy architectures, but is a bit faster (and simpler) on the interesting ones. | |||
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 | implement WSDISPLAYIO_GETSUPPORTEDDEPTHS. ok miod@ uwe@ | Matthieu Herrb | |
2007-05-27 | shrink the kernel for code that shouldn't be used anyway, ok kettenis@ | Dale Rahn | |
2007-05-27 | back out bio, breaks dlg's sparc64 v215 | Todd T. Fries | |
prompted by/ok dlg@ deraadt@ | |||
2007-05-26 | Remove nbuf count (was missed by pedro) | Dale Rahn | |
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 | 'Proto type' -> 'Prototype' when discussing functions in comments. | Kenneth R Westerback | |
Inspired by similar diffs from Diego Casati in other files. | |||
2007-05-25 | Comment typos and tidying. From Diego Casati. | Kenneth R Westerback | |
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-21 | timecounters for armish. | Dale Rahn | |
2007-05-19 | Kernel crash dump support for arm-based platform, with minimal support in | Miod Vallat | |
libkvm, but all the necessary information for a complete _kvm_kvatop() is available in the crash dump. | |||
2007-05-19 | Implement splassert for armish and zaurus. | Miod Vallat | |
2007-05-18 | Instead of checking whichqs directly, add a "sched_is_idle()" macro to | Artur Grabowski | |
sys/sched.h and use that to check if there's something to do. kettenis@ thib@ ok | |||
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-15 | External bus errors should not occur, so panic. ok deraadt@ | Dale Rahn | |
2007-05-15 | Dummy mutex code for arm platforms. ok drahn@ deraadt@ | Miod Vallat | |
2007-05-14 | Switch arm to __HAVE_CPUINFO. Least effort. | Artur Grabowski | |
deraadt@ ok | |||
2007-05-10 | evcnt & friends were replaced by a proper interrupt counting mechanism 3 ↵ | Theo de Raadt | |
years ago; ok miod | |||
2007-05-09 | diable -> disable | Miod Vallat | |
2007-04-27 | Enable interrupts during syscall processing. Need to verify if the | Dale Rahn | |
test actually has any value. ok miod@ | |||
2007-04-21 | No more vtophys() on arm. | Miod Vallat | |
2007-04-13 | map peeing -> mapping | Miod Vallat | |
2007-04-11 | Instead of managing pages for intrsafe maps in special objects (aka. | Artur Grabowski | |
kmem_object) just so that we can remove them, just use pmap_extract to get the pages to free and simplify a lot of code to not deal with the list of intrsafe maps, intrsafe objects, etc. miod@ ok | |||
2007-04-10 | Remove ARM32_BUFTYPE_RAW, it's never used. | Miod Vallat | |
2007-04-10 | Remove unused BUS_SPACE_ALIGNED_POINTER, __BUS_SPACE_ADDRESS_SANITY and | Miod Vallat | |
__BUS_SPACE_ALIGNED_ADDRESS. | |||
2007-03-29 | Add power hook to scoop(4), replacing the Zaurus-specific scoop_* calls in | Uwe Stuehler | |
pxa2x0_apm.c. Set a flag to indicate that scoop is currently suspended. Test this flag in scoop_timeout() (and maybe later in other places) to avoid manipulating scoop registers while the driver is suspended. The scoop_checkdisk timeout is intentionally not stopped, as it should be safe to have timeouts running accross suspend/resume. Put splhigh() in scoop_gpio_pin_write() to make changing the pin level an atomic operation. Result of prodding and diffs from Robert and Theo. | |||
2007-03-24 | Call the new ohci_checkrev function on xscale, otherwise the USB version | Christopher Pascoe | |
is not set correctly and the USB bus does not attach. Tested ckuethe@ | |||
2007-03-18 | typo | Theo de Raadt | |
2007-03-18 | Support the PXA27x SD/SDIO/MMC controller on Zaurus | Uwe Stuehler | |
We use the suggested workaround for the problem E40 in the PXA27x errata sheet. Unfortunately this limits the bus speed to 9.75Mhz. | |||
2007-03-17 | For arm pre-v6 (ie all supported machines) it is necessary to disable | Dale Rahn | |
interrupts to be able to have an atomic update of a variable without a mutex. | |||
2007-03-15 | Since p_flag is often manipulated in interrupts and without biglock | Artur Grabowski | |
it's a good idea to use atomic.h operations on it. This mechanic change updates all bit operations on p_flag to atomic_{set,clear}bits_int. Only exception is that P_OWEUPC is set by MI code before calling need_proftick and it's automatically cleared by ADDUPC. There's no reason for MD handling of that flag since everyone handles it the same way. kettenis@ ok | |||
2007-02-25 | add missing USBD_FORCE_SHORT_XFER checks, put back some code I had for a | Dale Rahn | |
while but removed incorrectly, some minor cleanup. | |||
2007-02-25 | Defines to make isr status more useable. Bit patterns for debug prints. | Dale Rahn | |