summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2003-06-24Add a "where" argument to the sparc64 interrupt code. This lets usHenric Jungheim
associate a name with each interrupt handler. This is not visible outside the kernel (yet). ok jason@
2003-06-24Revert the addition of the blanking code - it will corrupt displays after longMiod Vallat
blanking periods...
2003-06-23no need to check nintr late in the code... it's verified pretty earlyJason Wright
2003-06-23Remove some debugging cruft.Jason Wright
2003-06-23Split the stp driver into its core, and md attachment routines, and provideMiod Vallat
attachment routines for sparc and sparc64.
2003-06-20Screen blanker routine for Creator, adapted from the X11 sunffb driver code.Miod Vallat
Tested by jason@ and I.
2003-06-18When reporting unknown sbus hardware, also report the hardware class (audio,Miod Vallat
block device...) if it advertizes one. ok deraadt@
2003-06-17Extend the sunfb structure to take care of the PROM cursor positionMiod Vallat
pointers, and adapt creator to the fb api. ok jason@
2003-06-16Nuke a few more data and code superseded by the fb api.Miod Vallat
2003-06-16Adapt to the fbxxx() API.Miod Vallat
tested by matthieu@, krw@ and I on various hardware.
2003-06-16Provide the same fbxxx() api as on sparc, in order to factorize more codeMiod Vallat
and eventually share some drivers. This also brings us screen unblanking upon entering ddb, which can be really useful at times...
2003-06-15don't define _LP64 here.Brad Smith
2003-06-13no more "option _LP64".Brad Smith
2003-06-13em fitsTheo de Raadt
2003-06-12There is no sense in calling one function when you really wantHenric Jungheim
another. The bus_space code is perfectly capable of finding the parent handler itself. "heck" deraadt@
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-11It is important not to forget "membar(MemIssue)". Got missedHenric Jungheim
when extracting the minimal diff for the previous iommu change. ok jason@
2003-06-11Much of the sbus, psycho, and schizo bus_dma code is the same, so let'sHenric Jungheim
call the real implementation functions directly instead of duplicating lots of code that only calls the real stuff anyway. tested by miod@ henning@ ok jason@
2003-06-11The "min" and "max" functions cast to "u_int", which can lead to surprisingHenric Jungheim
results. Use the MIN/MAX macros instead. tested by miod@ ok jason@ millert@
2003-06-10- rip out support for a.out and 32-bit kernelsBrad Smith
- cleanup and simplify Makefile jason@ ok
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-06-06- section reorderJason McIntyre
- new sentence, new line - some macro fixes
2003-06-06There is no point in flushing the data cache all the time. It just createsHenric Jungheim
a lot of useless ecache traffic. testing by many ok jason@
2003-06-04The IIi/e chips have a DMA sync register that we have been ignoring. ThisHenric Jungheim
could lead to nasty races between PIO and DMA. tested by krw@ ok jason@
2003-06-04mop up some more 3/4 license issuesTheo de Raadt
2003-06-03Play it safe - when invalidating the tsb, only touch the tag andArtur Grabowski
always set it to an invalid tag. To actually have an invalid tag make sure that we never allocate the last context in ctx_alloc. Move all that magic into a simple tsb_invalidate inline function. Fixes weird race conditions in memory handling where the page in the tlb didn't match the page tables. After discussion with henric@. Tested for a while and noone objected.
2003-06-03What is it up with you sparc64 people. Do you like sitting on criticalTheo de Raadt
fixes?
2003-06-03nuke clause 3 & 4 (with henric's permission)Jason Wright
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-06-02remove clause 3 & 4 (with fgsch permission as well)Jason Wright
2003-06-02one more... nuke clause 3 & 4Jason Wright
2003-06-02nuke terms 3 & 4Jason Wright
2003-06-02add length checks on bus_dmamap_load_uio() on the total length vs. what theJason Wright
map is expecting. Also, sparc64 was missing the equivalent check in _load_mbuf() and the "make sure no valid mappings are returned" goop.
2003-06-02Do not map psycho-only interrupts on sabres. Reading from undefinedHenric Jungheim
registers and mapping strange INRs is not a good idea. ok jason@
2003-06-01initialize minaddr before calling uvm_km_suballoc.Artur Grabowski
2003-06-01strcpy/strcat/sprintf removal in all bootblocks. various testing byTheo de Raadt
various people. outside of some messy things in src/gnu, only one thing in the main tree now violates this rule: bind
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.