Age | Commit message (Collapse) | Author | |
---|---|---|---|
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-06 | Simpliest memset(,0,) -> M_ZERO changes. One (caddr *) cast removal, | Kenneth R Westerback | |
otherwise just adding M_ZERO to malloc() and removing the immediately adjacent memset(,0,). | |||
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-10-01 | More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' where | Kenneth R Westerback | |
obvious. | |||
2007-09-22 | M_ZERO -> bzero. | Kenneth R Westerback | |
ok art@ | |||
2007-09-22 | replace even more ctob and btoc with ptoa and atop respectively plus | Martin Reindl | |
uvm_extern.h where needed | |||
2007-09-15 | realy -> really in comments. Most reported on tech@ by Jung. | Kenneth R Westerback | |
2007-09-15 | [fF]uther -> [fF]urther in comments and man page. First one spotted on | Kenneth R Westerback | |
tech@ by Jung. | |||
2007-09-10 | Introduce a md pmap hook, pmap_remove_holes(), which is supposed to mark | Miod Vallat | |
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later. | |||
2007-09-09 | uchcom(4) has been verified to work by djm@, so add it to all | Jonathan Gray | |
USB capable archs. | |||
2007-08-28 | Implement bus_space_vaddr(). | Mark Kettenis | |
ok marco@ | |||
2007-08-24 | Add missing bits for siop@gsc. | Mark Kettenis | |
2007-08-23 | Add commented-out entry for siop@gsc, the onboard Fast-Wide SCSI on the | Mark Kettenis | |
735 and 755. | |||
2007-08-23 | First stab at a driver for the onboard Fast-Wide SCSI on the 735 and 755. | Mark Kettenis | |
Only partly tested; works fine if there are no devices on the SCSI bus. | |||
2007-08-23 | Look for STI firmware at the additional address given by the firmware. This | Mark Kettenis | |
removes the need for the hardcoded address for the internal Visualize EG on the B180L, and makes it work on the C180. Tested on a handful of other models too. ok miod@ | |||
2007-08-22 | Subsequent address ranges start at index 1, not index 0. | Mark Kettenis | |
2007-08-15 | Add sti@uturn; the C180 has it there. Tested by nick@. | Mark Kettenis | |
2007-08-14 | Add missing siop@phantomas and siop@uturn attachments. The latter was tested | Mark Kettenis | |
by nick@ (who sacrificed a few LVD drives for it). The former was tested on a machine without a drive connected, but there is no reason to expect it not to work. | |||
2007-08-05 | Enable siop@mainbus. | Mark Kettenis | |
2007-08-05 | Add support for Zalon NCR 53C720 FW SCSI. | Mark Kettenis | |
input from mickey and miod@, dok martin@, | |||
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-29 | Seperate members of "struct pcb" that are accessed using physical addresses | Mark Kettenis | |
from thos that are exclusively accessed using virtual addresses and add padding between them to make sure they don't share a cache line. Fixes random crashes on at least PA-8700 and PA-7200 based machines. Without this, the PA-7200 based C110 wouldn't stay up long enough to do an install. ok miod@ | |||
2007-07-23 | There seems to be enough room for rl(4) after all. | Mark Kettenis | |
2007-07-23 | Add ssio(4) and its com(4) ports; thanks to jsg@ for reminding me. | Mark Kettenis | |
2007-07-22 | Move hppa to __HAVE_TIMECOUNTERS. | Mark Kettenis | |
2007-07-22 | Enable rl(4) on hppa, tested by me, ok kettenis@ | Jonathan Gray | |
2007-07-21 | Add sk(4). Tested by Maurice Janssen. | Mark Kettenis | |
2007-07-20 | Make lcd(4) "blink" when machdep.led_blink is set. | Mark Kettenis | |
2007-07-20 | Give hppa the blink_led API from sparc64, and the associated machdep.led_blink | Mark Kettenis | |
sysctl. | |||
2007-07-20 | Enable lcd(4). | Mark Kettenis | |
2007-07-20 | PDC I/O space lives at 0xf0f0000000, not 0xf000000000, at least on astr(4) | Mark Kettenis | |
based systems. | |||
2007-07-20 | Use HPPA_PC_PRIV_USER instead of hardcoded 3. | Mark Kettenis | |
requested by miod@ | |||
2007-07-16 | sizeof long double == sizeof double, deal with it; ok kettenis | Jason Wright | |
2007-07-15 | lcd(4); a driver for the front panel LCD display found on the four-digit | Mark Kettenis | |
B/C/J-class workstations, and many server systems. This is still work in progress; for now it only displays that the machine is running OpenBSD. Not enabled yet. | |||
2007-07-15 | Add PDC_CHASSIS_INFO and associated structures. | Mark Kettenis | |
2007-07-15 | Delay switching to the real serial console until we attach the serial device. | Mark Kettenis | |
The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too. ok miod@ | |||
2007-07-14 | Make sigreturn(2) set the proper space ID for the instruction queue. Fixes | Mark Kettenis | |
a few more pthreads regression tests. ok miod@ | |||
2007-07-14 | Add bge(4). Tested by Maurice Janssen. | Mark Kettenis | |
2007-07-10 | Don't trust the privilige level in the sigcontext passed to sigreturn(2). | Mark Kettenis | |
ok miod@ | |||
2007-07-05 | Print offset and irq for devices that attach to ssio(4). | Mark Kettenis | |
2007-07-03 | Mark ukbd(4) as console keyboard when appropriate. | Mark Kettenis | |
2007-07-01 | Correctly count interrupts for devices that share interrupts. | Mark Kettenis | |
2007-07-01 | Reset PDC devices before enabling iova space if we're not on a serial console. | Mark Kettenis | |
Makes glass console on four-digit B/C/J-class systems work. | |||
2007-07-01 | Oops! Revert previous commit. | Mark Kettenis | |
2007-07-01 | Add PDC_IO. | Mark Kettenis | |
2007-07-01 | Add a few more registers. | Mark Kettenis | |
2007-06-30 | Bump number of supported interrupt routing entries. | Mark Kettenis | |
2007-06-26 | Switch associated pciide(4) into native mode, and route its interrupt | Mark Kettenis | |
appropriately. Make it use irq 5, and rewire lpt(4) to irq 7. ok deraadt@ | |||
2007-06-24 | Crank initial storage for extents a bit. We really should allocate extents | Mark Kettenis | |
using malloc once vm is initialised, but this will do for now. ok deraadt@ | |||
2007-06-24 | Attach as console when appropriate. | Mark Kettenis | |