summaryrefslogtreecommitdiff
path: root/sys/arch/sparc64
AgeCommit message (Collapse)Author
2004-02-10Add the ptm device to pty(4). By opening /dev/ptm and using the PTMGETTodd C. Miller
ioctl(2), an unprivileged process may allocate a pty and have its owner and mode set appropriately. This means that programs such as xterm and screen no longer need to be setuid. Programs using the openpty() function require zero changes and will "just work". Designed by beck@ and deraadt@; changes by beck@ with cleanup (and a rewrite of the vnode bits) by art@ and tweaks/bugfixes by me. Tested by many.
2004-01-31add another USB device... as requestedTheo de Raadt
2004-01-23Crank SHMMAXPGS to 32mb; deraadt@ OK for all, drahn@ OK for macppc + pegasosTodd C. Miller
2004-01-15instuction -> instructionMiod Vallat
2004-01-11in ANSI world, "string1" "string2" is enough for concatecationPeter Valchev
gcc3 bitches as "str1"##"str2" is not a valid token; ok espie
2004-01-10the sparcv9 ABI requires registers %g2, %g3 to be first announced beforePeter Valchev
it can use them, and gcc3 catches this ok henric
2004-01-10- shift some variablesPeter Valchev
- fix a problem caused by the fact that in gcc3, gcc -Ufoo -Dfoo in this order causes "foo" to be defined (different in gcc2) make logic from espie; tested on gcc2 by brad
2004-01-10spelling; jjy2+@pitt.eduTheo de Raadt
2004-01-08gcc3 does not seem to like comments inside comments - zap a couple; ok miodPeter Valchev
2004-01-07machine/stdarg.h -> sys/stdarg.h; ok espiePeter Valchev
2004-01-07do not include proc.h twice; ok miodPeter Valchev
2004-01-04put INET6, rtsol, and ping6 onto media where it fits. install.sub changesTheo de Raadt
which begin to enable use of this will follow at a later time.
2004-01-03shut gcc up; ok miodPeter Valchev
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-20Pass -WformatMiod Vallat
2003-12-17For some reason sparc64 seems to need the equivalent of -I/sys whereTodd C. Miller
the others do not.
2003-12-17remove unneeded bits introduced in previous commitTodd C. Miller
2003-12-17Simply include the main libz Makefile instead of trying to roll our own.Todd C. Miller
2003-12-17bad me, left commented code in here...Jason Wright
2003-12-16uncessary defnsJason Wright
2003-12-16Don't need linear mappings here eitherJason Wright
2003-12-16don't do a linear mapping (prevents warnings on the leopard)Jason Wright
2003-12-12initialze -> initializes; from Eric Borsboom;Jason McIntyre
2003-12-04TyposMiod Vallat
2003-12-04creator needs wsemul_sun attribute.Miod Vallat
2003-11-20Add -fno-builtin-print -fno-builtin-log to i386/sparc/sparc64/hppa.Marc Espie
No confirmed report of `this work' for other arches yet...
2003-11-06move netisr definition into md code to allow arch provide suitable ↵Michael Shalayeff
allocation; tested on most archs
2003-11-03spelling fixes (in the comments)David Krause
2003-10-05If attaching a wsdisplay console causes a font switch, do not update the PROMMiod Vallat
view of the cursor position, so that it comes back to a correct location when the system is shut down.
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