summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2003-10-03Merge tty_attach() in ttymalloc() and tty_detach() in ttyfree(). The need forMiod Vallat
separate tty registering is gone now that sparc has switched to wscons, and this makes the code less error-prone. Also, remove tests for ttymalloc() failure, since it uses M_WAITOK. ok millert@ deraadt@, tested by various people as well besides me...
2003-10-01Fix off-by-one.Chad Loder
OK jason@, henric@
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-28from NetBSD via Tim Weiss, tim at zetaflops dot net: deal with FS block ↵Jason Wright
sizes larger than 8K testing: krw
2003-08-26fix for dinode rename, this broke the forth bootblock.s ok jason@ tedu@Dale Rahn
2003-08-25rename struct dinode to ufs1_dinode. clears the namespace and makesTed Unangst
way for some future work. no function changes yet. help testing otto@ and markus@
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-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
2003-08-14add uhci based on suggestion from loki at niteshade dot netJason Wright
2003-07-31remove autoconf_nzs; from netbsdJason Wright
2003-07-24a whole bunch of tyop fixes from Andrey SmaginJason Wright
2003-07-23add ahc and clean things a bitJason Wright
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-07-19don't specify the leading "/" in MANSUBDIR (otherwise "//" occurs)David Krause
ok millert@
2003-07-16sun disklabels need updating too. frag size -> 2048.Ted Unangst
pointed out by deraadt@
2003-07-15include the puc stuff (currently commented out in GENERIC)Jason Wright
2003-07-14For completeness, handle ldqf/stqf alignment faults by calling the emulationJason Wright
routine. According to the spec, ldqf/stqf requires word alignment, but can generate a ldqf/stqf alignment exception if the data isn't quad word aligned. Since the emulation routine only requires word alignment anyway, this seems to be the right thing to do.
2003-07-14cleaning and undef DEBUG_EMULJason Wright
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-13my loathing for gcc runneth over: another case where a bitfield isn'tJason Wright
decoded properly with the instruction decode stuff.
2003-07-12grr. gcc has bugs in its bitfields, work around it.Jason Wright
2003-07-12%asi is in tf_tstate... nail the last variant of ldqfa/stqfaJason Wright
2003-07-12almost full emulation of stq(a)/ldq(a):Jason Wright
- the only missing bit is the variant that uses %asi... explicit asi or implicit asi appears to work - also, a slightly improved popc loop based on a link from otto
2003-07-10unifdef -UNEW_FPSTATE in attempt to make it more clearJason Wright
2003-07-10small bit of cleaningJason Wright
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 trap entries for LDQF/STQF alignment faults, but handle them asJason Wright
SIGILL for now. Also split out T_INST_EXCEPT and T_TEXTFAULT from T_ILLINST pending handling of LDQF/STQF illegal instruction faults.
2003-07-09add a bunch more traps from the v9 specJason Wright
2003-07-09s/Tryap/TrapJason Wright
2003-07-02bump mktemp randomness from 6->10 X'sAnil Madhavapeddy
2003-06-28Add RI_FULLCLEAR to the rasops flags. Accelerated drivers (cgsix, creator,Miod Vallat
pnozz) benefit from this, and this does not hurt the other drivers.
2003-06-27kqueue support for various usb devices including: usb, uhid, ugen,Nathan Binkert
and uscanner From NetBSD
2003-06-25Let the stp driver use different bus_space_tag_t for its own device access,Miod Vallat
and for access to the pcmcia windows from the pcmcia drivers.
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