summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64/include
AgeCommit message (Collapse)Author
2005-03-15Nuke matchbyname(), which isn't used anymore.Miod Vallat
ok deraadt@
2005-03-09Preliminary support for the floppy drive on Ultrasparcs. Only tested onMiod Vallat
SBus machines so far, although EBus attachment glue is provided but not enabled by default. Also, fdformat(8) does not work correctly yet, although reading and writing is safe; this will hopefully be fixed in the near future. ok deraadt@
2005-03-07Do not bother passing the blanking routine to fbwscons_console_init(),Miod Vallat
as fbwscons_attach() can find it on its own.
2005-01-05PIL_AUD should be lower than PIL_SCHED, otherwise the audio code mayFederico G. Schwindt
leave setrunnable() in a bad state; problem reported by robert@, miod@ ok.
2005-01-04SET_PC_REGS, arches tested between me and miod.Marc Espie
2004-12-02Add pci_decompose_tag() for sparc64.Brad Smith
From NetBSD ok deraadt@
2004-11-29Move the struct wsscreen_descr from a per-driver global to a per-instanceMiod Vallat
field of the sunfb structure. This allows multiple instances of the same driver, but with different resolutions (such as a couple of vigra or a TGX cgsix and a TGX+ cgsix) to use distinct wsscreen_descr structures featuring different resolution information. Doing this allows more wsscreen_descr fiddling inside the sparc* fb api, and results in some code shrinkage (about 4KB on sparc GENERIC).
2004-11-28MAXSLP is not really an MD-configurable define so move it to param.h; miod@ ↵Michael Shalayeff
testing
2004-11-26Kill __HAVE_EVCOUNT, now that all architectures provide them.Miod Vallat
2004-11-02Remove __HAVE_NWSCONS and related remnants of pre-wscons days; no functionalMiod Vallat
change.
2004-10-01add a blink_led API (shaves ~1k from GENERIC) rather than have the sameJason Wright
logic in 3 files. Devices register a function to be called to turn the led on and off based on load average. (Note: rerun config and make depend)
2004-09-29Ratibibugle now useless evcnt structures.Miod Vallat
2004-09-16Rely upon __LP64__ to choose {U,}LONG_{MIN,MAX} values, rather than aMiod Vallat
homegrown define. ok deraadt@
2004-08-09Needs a non-empty pmap_unuse_final() as sparc.Miod Vallat
Spotted by: art@ No cookie for: deraadt@
2004-08-08Oops, OF_poweroff is not attribute(noreturn) anymore...Miod Vallat
2004-08-06rename sparc kill_user_windows() to pmap_unuse_final(). provide empty stubsTheo de Raadt
on all other architectures. remove last architecture dependent #ifdef from uvm code.
2004-08-06provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okMichael Shalayeff
2004-06-28Use new event counter API for interrupt counting on sparc64. deraadt@ tholo@Aaron Campbell
drahn@ millert@ ok
2004-06-23tabs vs spacesAaron Campbell
2004-06-21Put back the moving of schedstate_percpu into sched.h. This time exposeArtur Grabowski
it to userland so that i386 builds (other architectures didn't show the problem). deraadt@ ok
2004-06-20nope, tree breakage in libpthread. too tough to run a make build?Theo de Raadt
2004-06-20Move schedstate_percpu into sched.h so that we don't have to includeArtur Grabowski
proc.h in cpu.h on __HAVE_CPU_INFO architectures. cpu.h is usually included in param.h. This also removes the horrible kludge with ifdef SYS_PROC_H in sched.h by simply converting the inline functions into macros. With a few suggestions from nordin@ deraadt@ ok
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-05-20Properly flush instruction cache for ptrace(PT_WRTIE_{DI}, ...) on powerpcMark Kettenis
and m68k. ok drahn@, millert@
2004-04-19remove the GATEWAY junk thingy; at the same time, select a new fatTheo de Raadt
cluster value that noone will really need to crank.
2004-01-23Crank SHMMAXPGS to 32mb; deraadt@ OK for all, drahn@ OK for macppc + pegasosTodd C. Miller
2004-01-03put an mi wrapper around stdarg.h/varargs.h. gcc3 moved stdarg/varargs macrosMarc Espie
to built-ins, so eventually we will have one version of these files. Special adjustments for the kernel to cope: machine/stdarg.h -> sys/stdarg.h and machine/ansi.h needs to have a _BSD_VA_LIST_ for syslog* prototypes. okay millert@, drahn@, miod@.
2003-12-17bad me, left commented code in here...Jason Wright
2003-12-16uncessary defnsJason Wright
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
2003-08-21These files were intended for X11 support, but serve no purpose nowadays,Miod Vallat
as sparc* do not use Xsun-compatible event interface anymore, and alpha only used this for Xtga which we do not ship anymore. Discussed long ago with matthieu@
2003-07-13whoa, gcc wasn't at fault: i_loadstore was missing 5 bits, which was causingJason Wright
the decode to be wrong.
2003-07-10- working emulation for POPC instructionJason Wright
- good start are fully decoding LDQF(A)/STQF(A)
2003-07-10more instructions in type 3, op=2Jason Wright
2003-07-09part of infrastructure to deal with emulated stqf/ldqf:Jason Wright
T_ILLINST handler fetches instruction and decodes it. If it's stqf, ldqf, stqfa, or ldqfa call emulation instead of SIGILL directly. Note: this still SIGILL's in the end, the emulation isn't done yet.
2003-07-09another instruction correction: STQDC -> STQFAJason Wright
2003-07-09corrections/filling of type 3 v9 instructionsJason Wright
2003-07-09add a bunch more traps from the v9 specJason Wright
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-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-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-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
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-17No need to duplicate TLB_ defines manually with TTE_ defines.Artur Grabowski
assym.h can do that for us. mdw@ henric@ ok
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-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-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.