summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
AgeCommit message (Collapse)Author
2007-11-30Define NORMAL_C_NOP everywhere.Miod Vallat
2007-11-26few more dribbles of LIBKERN cleanupTheo de Raadt
2007-11-26More LIBKERN bits that go awayTheo de Raadt
2007-11-26another LIBKERN that stayed behindTheo de Raadt
2007-11-26adjust to libkern changes (and pretty .PATH logic); parts from majaTheo de Raadt
2007-11-25Unbreak make obj. -mojMats O Jansson
2007-11-25libkern, begone. Move to a new mechanism where config(8)'s "file"Theo de Raadt
directive can select between MI and MD versions of these files. At the same time, adjust the boot programs to pick exactly what they need, instead of the 7 or 8 mechanisms previously used. There will be some fallout from this, but testing it all by myself is a ridiculously slow process; it will be finished in-tree. Various developers were very nice and avoided making fun of me when I was gibbering in the corner..
2007-11-25Get rid of the kernel 'libcompat' framework, and instead use conf/files toTheo de Raadt
decide which files must be pulled into the kernel. Also conditionalize the pulling of those files based on the COMPAT_* options.
2007-10-20enuf -> enoughMiod Vallat
2007-10-18Define a new attribute, pckbcslot, which pckbc and gsckbc provide, and toMiod Vallat
which pckbd and pms attach. This makes it simpler to add new controllers pckbd/pms can attach to.
2007-10-10Make 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-06Simpliest 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-02Apply (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-01More easy bzero() -> M_ZERO. Use 'p = malloc(sizeof(*p) ...' whereKenneth R Westerback
obvious.
2007-09-22M_ZERO -> bzero.Kenneth R Westerback
ok art@
2007-09-22replace even more ctob and btoc with ptoa and atop respectively plusMartin Reindl
uvm_extern.h where needed
2007-09-15realy -> 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 onKenneth R Westerback
tech@ by Jung.
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod 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-09uchcom(4) has been verified to work by djm@, so add it to allJonathan Gray
USB capable archs.
2007-08-28Implement bus_space_vaddr().Mark Kettenis
ok marco@
2007-08-24Add missing bits for siop@gsc.Mark Kettenis
2007-08-23Add commented-out entry for siop@gsc, the onboard Fast-Wide SCSI on theMark Kettenis
735 and 755.
2007-08-23First 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-23Look for STI firmware at the additional address given by the firmware. ThisMark 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-22Subsequent address ranges start at index 1, not index 0.Mark Kettenis
2007-08-15Add sti@uturn; the C180 has it there. Tested by nick@.Mark Kettenis
2007-08-14Add missing siop@phantomas and siop@uturn attachments. The latter was testedMark 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-05Enable siop@mainbus.Mark Kettenis
2007-08-05Add support for Zalon NCR 53C720 FW SCSI.Mark Kettenis
input from mickey and miod@, dok martin@,
2007-07-30Shuffle the order in which we look for header files, when doingThordur 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-29Seperate members of "struct pcb" that are accessed using physical addressesMark 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-23There seems to be enough room for rl(4) after all.Mark Kettenis
2007-07-23Add ssio(4) and its com(4) ports; thanks to jsg@ for reminding me.Mark Kettenis
2007-07-22Move hppa to __HAVE_TIMECOUNTERS.Mark Kettenis
2007-07-22Enable rl(4) on hppa, tested by me, ok kettenis@Jonathan Gray
2007-07-21Add sk(4). Tested by Maurice Janssen.Mark Kettenis
2007-07-20Make lcd(4) "blink" when machdep.led_blink is set.Mark Kettenis
2007-07-20Give hppa the blink_led API from sparc64, and the associated machdep.led_blinkMark Kettenis
sysctl.
2007-07-20Enable lcd(4).Mark Kettenis
2007-07-20PDC I/O space lives at 0xf0f0000000, not 0xf000000000, at least on astr(4)Mark Kettenis
based systems.
2007-07-20Use HPPA_PC_PRIV_USER instead of hardcoded 3.Mark Kettenis
requested by miod@
2007-07-16sizeof long double == sizeof double, deal with it; ok kettenisJason Wright
2007-07-15lcd(4); a driver for the front panel LCD display found on the four-digitMark 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-15Add PDC_CHASSIS_INFO and associated structures.Mark Kettenis
2007-07-15Delay 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-14Make sigreturn(2) set the proper space ID for the instruction queue. FixesMark Kettenis
a few more pthreads regression tests. ok miod@
2007-07-14Add bge(4). Tested by Maurice Janssen.Mark Kettenis
2007-07-10Don't trust the privilige level in the sigcontext passed to sigreturn(2).Mark Kettenis
ok miod@
2007-07-05Print offset and irq for devices that attach to ssio(4).Mark Kettenis