summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2003-05-30Fix interrupt mapping for psycho's PBM B. This should make interruptsHenric Jungheim
happy for all psycho based boxes. tested by beck@ ok jason@
2003-05-26Make sure to do the keyboard layout selection dance before wskbd_cnattach()Miod Vallat
is invoked.
2003-05-23remove old swapgeneric.c'sTed Unangst
2003-05-23move swapgeneric to truly generic code. tested on many archs by miod and ↵Ted Unangst
mickey.
2003-05-23For some reason, gcc seems to assume that if an inline assembly statementHenric Jungheim
has arguments but no clobbers, then everything is clobbered. The in-tree gcc also likes to insert redundant "sra"s. These changes help gcc generate somewhat better code for the spl*() functions. This change shrank my GENERIC kernel by 27136 bytes. ok jason@
2003-05-22Fix comment: IOTTE_PAMASK is 42..13 not 42..12Jason Wright
2003-05-22There's an off-by-one in the diagnostic code that can cause grief,Henric Jungheim
especially for NIC drivers that aren't careful about handling load failures. Bug reported and diff tested by Holger Burde. ok jason@.
2003-05-18The attach routine works better when it doesn't try to write to aHenric Jungheim
write-protected page. ok jason@
2003-05-17Fix disassembly of certain branch instructions.Marcus Watts
Fix disassembly saved/done/retry/restored. (ok'd by jason)
2003-05-17No need to duplicate TLB_ defines manually with TTE_ defines.Artur Grabowski
assym.h can do that for us. mdw@ henric@ ok
2003-05-17HORRID_III_HACK disables D$ and I$, and with this, the ramdiskMarcus Watts
kernel boots on blade 1000 (ultrasparc III) and 280R (ultrasparc IIIcu) to single user.
2003-05-17All sun ultrasparcs have 8192 contexts.Marcus Watts
ultrasparc IIIcu puts other stuff in formerly reserved fields of context registers.
2003-05-17remove more ifdefs. Kill the VIS instruction pmap_{copy,zero}_page.Artur Grabowski
We haven't used them ever, they are hairy and if we want them back, we'll readd them in some other file. mdw@ henric@ ok
2003-05-17Get rid of lots of hairy ifdefs that we'll most likely never use.Artur Grabowski
TRAPTRACE, TRAPSTATS, FLTTRACE and SCHED_DEBUG. mdw@ henric@ ok.
2003-05-17nuke intrhand, it isn't used and it overloads ih_next incorrectly... grrJason Wright
ok henric, mdw (based on diff from henric, so he's biased =)
2003-05-16fix up interrupt code (ie, actually deref the ih_clr ptr correctly)Jason Wright
and kill some debug code
2003-05-16Clean up low-level sparc register access wrappers. Specify clobbers forHenric Jungheim
everything (so gcc doesn't assume everything is clobbered). ok jason@
2003-05-16move the interrupt idle stuff to the generic intr_establish functionJason Wright
2003-05-16The sparc64 proms do not map all interrupt vectors. Instead ofHenric Jungheim
trying to use the interrupt pin (or is it that the PCI function?) as the interrupt vector, this computes the vector from the PCI bus, slot, and pin. This will only change mappings on psycho-based machines (*not* sabre, i.e., IIi/e) and only for those vectors reported as nonsense INRs (INO 0-3). This should fix the mapping of non-bridge expansion cards on U60 and E450, and other psycho boxen. U30 seems to do its own thing.
2003-05-16removed INTRLIST (always do this)Marcus Watts
removed PARANOID (never do this) removed TRAPTRACE (never do this) removes more LP64 stuff changes a whole bunch of multi-line #defines to macros moves all random code into macros for the trap table
2003-05-16Removed not LP64 case -- only 64 bit kernels supportedMarcus Watts
2003-05-14Make the "slot" and "offset" locators for sbus drivers optional inMiod Vallat
configuration lines.
2003-05-14add {b,c}devsw_lookup convenience functions.Ted Unangst
move chrtoblk and blktochr into MI code. tested on several archs and ok deraadt@
2003-05-13The sab driver sometimes gets out of sync with the hardware. This canHenric Jungheim
cause the serial console to hang. ok jason@
2003-05-13Add option NO_PROPOLICE, which explicitely disables the use of the propoliceMiod Vallat
stack protection when building kernels. Intended to be used on installation media, with tight space constraints - currently, only added where SMALL_KERNEL was already defined. Not thoroughly tested, but requested by deraadt.
2003-05-13remove -fno-stack-protector (enable propolice)Ted Unangst
ok deraadt@
2003-05-13kill a stupid warningJason Wright
2003-05-13nuke curproc common (yes this will need revisiting in smp land, but whatJason Wright
doesn't).
2003-05-12use new display typesJason Wright
2003-05-11nuke another common: want_reschedJason Wright
2003-05-11nuke common: physmemJason Wright
2003-05-11don't run off end of strings and use bad pointersMarcus Watts
iterate boot list at most once allow kernel names with - in them complain about option strings that do not start with - distinguish between short read & bad read don't quit if a file can be opened but can't be booted
2003-05-11string cleaning; krw okTheo de Raadt
2003-05-11nuke debugging stuffJason Wright
2003-05-11get the offset of the config space correct, now to figure out why the rtc is ↵Jason Wright
unhappy.
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
2003-05-10Remove some exec mappings in the pmap test code (ifdef DEBUG).Artur Grabowski
2003-05-07string cleaningTheo de Raadt
2003-05-06Declare the major number for wd, so that a custom kernel can specific explicitMiod Vallat
root on wd0a. Problem spotted by Denis A. Doroshenko.
2003-05-01add eso, opl, and midi, and clean the audio stuff up a bitJason Wright
2003-04-29add lxtphy (found on momenco boards)Jason Wright
2003-04-09add strl{cat,cpy} to unbreak "make build" on sparc64Nikolay Sturm
OK miod@
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-03-27- Add support for the *CURS* ioctls (requires mapping the DAC registersJason Wright
and tweaking appropriately) - add support for VADDR->PADDR mappings expected by the X server - fix attachment error handling (it depended on bus_space_vaddr() working for non-linear mappings).
2003-03-27no sbus in hereJason Wright
2003-03-25Clear interrupts (set to IDLE) as they are established.Jason Wright
ok deraadt
2003-03-21install a real handler for correctable ECC errors and make a count ofJason Wright
them available via sysctl (doc update in a bit); ok millert.
2003-03-20The current code tries to use the same field in the interrupt handler asHenric Jungheim
both a "next" pointer for a singly-linked list and as an in-use flag. This obviously does not work all that well. This change adds a separate ih_busy flag to mark the handler as in-use, leaving ih_pending for use by the list code. Testing by *many* (thanks). ok miod jason
2003-03-09autri flags here too. pointed out by deraadt@Ted Unangst
2003-03-09When a sparc machine is running with serial console, the zskbd probe wouldMiod Vallat
try to use short cuts, and would not correctly initialize its channel if a keyboard is connected to it, which might have been done on purpose. It would then become impossible to run X11 on this machine afterwards. Fix this by being more cautious during the probe, at the extent of a couple of seconds if no keyboard is present. Tested by various, ok deraadt@