summaryrefslogtreecommitdiff
path: root/sys/arch/hppa
AgeCommit message (Collapse)Author
2003-04-04lower the max kernel vm address since there might be proms right below the ioMichael Shalayeff
2003-04-04always flush on pre-ops. data flushed may involveMichael Shalayeff
flushing other data on the same cache lines (such other local vars around the scsi_*_data sturcts allocated on the satck) and that might need to be flushed and not purged. shows up on the cpu types that implement purge as purge and not purge as flush. no need for extra \n\t at the end of the asm (cosmetique).
2003-04-03enable sti@phantomasMichael Shalayeff
2003-04-03enable waxMichael Shalayeff
2003-04-03make it at least scan the busMichael Shalayeff
2003-04-03make large pdc_scanbus-related structs global to avoid blowing the kernel stackMichael Shalayeff
2003-04-01use PAGE_MASK instead of PAGE_SIZE-1Michael Shalayeff
2003-03-30better MAXSSIZMichael Shalayeff
2003-03-29try to blinkMichael Shalayeff
2003-03-29fetch the device address list for where supported; say 16 addresses is ought ↵Michael Shalayeff
to be enough for every case. dim off the disk led amongst the other lights
2003-03-29add some author refs from the older versions of these from much older projectsMichael Shalayeff
2003-03-29nothing uses UADDRMichael Shalayeff
2003-03-29bus_space_vaddr and related definitions (needs actual implementations)Michael Shalayeff
2003-03-29allow attaching onto phantomas. check graphics id to seed out the medusa ↵Michael Shalayeff
fddi. fix some debugging printfs
2003-03-29fix fpu printout and remove dead code pieceMichael Shalayeff
2003-03-29some mount stinger onto phantomas and there is not need to flag stingers tooMichael Shalayeff
2003-03-28a small boot for a cdMichael Shalayeff
2003-03-28s/SADIR/STANDIR/ to avoid conflict w/ the libsa; install raw boot as well as ↵Michael Shalayeff
cooked
2003-03-12reclaim more resources on failures.Michael Shalayeff
test the harmony id to filter out unsupported yet audio types and detect the teleshare. detect input overload and report to userland.
2003-03-03march through the trapframes on the stack trace until the very lastMichael Shalayeff
2003-02-28fix comments, from weissmanndude.Michael Shalayeff
make RAMDISK not include sys/conf/GENERIC
2003-02-26minor fix in a debug printfMichael Shalayeff
2003-02-25In trap(), always initialize tts, even if TRAPDEBUG is not defined, as itMiod Vallat
might needed for panic() messages. ok mickey@
2003-02-18gsc_intr is a leafMichael Shalayeff
2003-02-18knf; mickey okTheo de Raadt
2003-02-18nicerTheo de Raadt
2003-02-18Let kernels compile without DDB, USELEDS, and DIAGNOSTIC.Miod Vallat
For future intallation media.
2003-02-18copyrights added;Jason McIntyre
these are all Regents of the University of California
2003-02-18The previous boot device detection code would not work on old pdc machinesMiod Vallat
netbooting from an rbootd server. In this case, the pdc masquerades the boot device as a disk class device, although keeping the device_path correct. So, rather than trusting the device class the pdc reports, trust what the kernel just configured - it must know better.
2003-02-17Allow the generic ps/2 mouse driver, pms, to attach to gsckbc as well.Miod Vallat
Thankfully HP's ps/2 mouse have no specific behaviour.
2003-02-17Since the ps/2 input ports show up as two different devices, with the sameMiod Vallat
irq, but hppa has no generic shared interrupt code, we need to make sure that gsckbc devices using the same irq know each other, and will pass the interrupt notification to each other. This allow a mouse and a keyboard to work together...
2003-02-16Provide a wskbd type for gsc keyboards, make gsckbd use it, and take advantageMiod Vallat
of it in kbd(8) to work correctly with such a keyboard. Reminded by maja some time ago.
2003-02-16RegenMiod Vallat
2003-02-16Although some hppa models, such as the 715, will require specific keyboards,Miod Vallat
some others, like the 712, will run with a regular ps/2 keyboard from your average computer shop, and the hardware will convert the scancodes so that they match the braindead gsc usage. Thus, it makes no point carrying a specific set of keyboard layouts for gsckbd, when in fact it's (almost) the same as for pckbd, with scancodes shuffled. So, add a simple scheme to build gsckbd tables from the pckbd tables. This brings all the international layouts from pckbd, but jp and br have extra keys for which I don't know the scancodes, so the generated gsckbd layouts are incomplete.
2003-02-15A simple and crude driver to play with the hil so-called ``ID module''Miod Vallat
devices. The ID module only purpose is to provide a small, unique, bitstring, which was used for some copy-protection or licensing scheme under HP-UX. Right now this driver is useless, as it provides no way to communicate this information to userland, and only displays it while attaching, as such: hilid0 at hil0 code 2: ID module hilid0: security code 10 04 b4 41 ac 77 14 0f 41 00 00 00 00 00 00 00 hilid1 at hil0 code 3: ID module hilid1: security code 10 04 b4 41 e3 b8 13 0f 41 00 00 00 00 00 00 00 Too bad it's not even good enough to feed the kernel random generator...
2003-02-15Provide a "code" locator for hil devices. This will let people ask theirMiod Vallat
kernels to attach hilkbd0 (console keyboard) or hilms0 (main mouse) to a specific device in the loop, by using UKC or compiling a new kernel. Using this and the previous console changes, it is now possible on a loop with multiple keyboards, to choose which keyboard will be the console keyboard.
2003-02-15Rework the console management on hppa:Miod Vallat
- only attach a keyboard as a console if it matches the PDC keyboard path - on hil, as there can be multiple keyboards on the loop, attach only the first hilkbd device configured as console keyboard. Right now this means the one with the lowest hil code, which was the existing behaviour so far. - do not try to switch to the wscons consdev structure early at all in wscons_machdep, but rather wait for the console to be completely configured (i.e. both wskbd and wsdisplay are attached) to switch. With feedback and help from mickey@
2003-02-15Disable sti1, yes, but correctly...Miod Vallat
2003-02-15gsckbc is more sensitive than pckbc; always allow the enable() accessopMiod Vallat
to proceed on the console keyboard, or it would not be in a good state to handle boot -s prompt. Found the hard way by mickey@
2003-02-15The current hppa code would always ask for the root device, when runningMiod Vallat
a kernel configured with "swap generic". This feature was relied upon by Theo de Raadt, so that he would have to go downstairs to type "sd0a\n\n" every time he would want to try a new kernel, effectively forcing his body to take exercise trim the fat. No more! This commit adds code to correctly detect the root device, currently either a network interface or an scsi block device. This is slightly tricky, as all the information the PDC gives up is the controller device and its numeric subpath, and we need to match the real device from that... Tested and found to be working on ie and sd only so far. This commit is brought to you by the so-called friends of Theo de Raadt.
2003-02-14Do not allow sti1 to attach at the moment, as it will not work correctly;Miod Vallat
a fix is in the works.
2003-02-14this is a bsd materialMichael Shalayeff
2003-02-14put a copyrightMichael Shalayeff
2003-02-12some comments on the pci bridges and dino is at phantomas not mainbusMichael Shalayeff
2003-02-12Put a pckbc-like "slot" locator for gsckbc children. Even if this has noMiod Vallat
sense inthe gsckbc world, the code currently requires this for proper attachment. Oops.
2003-02-12How uncommon... hppa only has one common: msgbufmapped (decl'd in /sys/kern)Jason Wright
2003-02-12only align the first stack frame onto the minimal required alignmentMichael Shalayeff
2003-02-12Add hilms and wsmouse at hilms.Miod Vallat
2003-02-12do not filter the coprocessor uid on the fpu context switch.Michael Shalayeff
it will be emulated later or a trap generated appropriately. this way we do not have to share the knowledge of the present units all over the sources and keep it relatively easy. this fixes the random sig4 seen before. apparently it was caused by the xmpy instruction triggering the fpu context switch and being of a problem for the existing uid check to parse. also force the fpu context reload after the exception being taken for the fpu or other coprocessor. reload r1 with iir after load/store emulation. add a comment on r1 being shadowed on cpu context save before emulation.
2003-02-11Add wsmux for multiple keyboard configurations.Miod Vallat