summaryrefslogtreecommitdiff
path: root/sys/arch/vax
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-09-26Typos: defintion -> definition, proccess -> processMiod Vallat
There are more occurences hiding in binutils, lynx and afs but I am too lazy to report them upstream at the moment.
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-15ansi and proto cleanup. one unused function goes awayTheo de Raadt
2003-08-15proto findcpu, because bootblocks use this tooTheo de Raadt
2003-08-10ansiTheo de Raadt
2003-08-10clean leftoversTheo de Raadt
2003-08-06Remove some double semicolons (hmm, do two semis equal a maxi?).Todd C. Miller
I've skipped the GNU stuff for now. From Patrick Latifi.
2003-08-01remove the strcpy/strcat macrosAnil Madhavapeddy
deraadt@ ok
2003-07-22Fix .depend generation for assym.h. Resolves PR 1154.Otto Moerbeek
ok deraadt@
2003-06-26Compile the vax kernel with -Wmissing-prototypes -Wstrict-prototypes now.Miod Vallat
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-12final bits of obvious UCB term 3 removalTheo de Raadt
2003-06-03terms 3 & 4 cleanup based on "terms" fileTheo 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-27Fix siginfo contents in the T_ACCFLT case, fixes libpthread siginfo regressionMiod Vallat
test. Some stylistic input from marc@
2003-05-23remove old swapgeneric.c'sTed Unangst
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-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-11string cleaning; krw okTheo de Raadt
2003-05-10string cleaning; ok beck dhartmeiTheo de Raadt
2003-04-16siginfo support for vax.Miod Vallat
machdep.c changes by me, trap.c changes by deraadt.
2003-04-08Move definition of storage for cpu_model to locore.c so sizeof hasHugh Graham
something meaningful to chew on. Shine on you crazy diamond.
2003-04-06The return value for bounds_check_with_label() is not set in stone, and itMiod Vallat
turns out that some arches will return (-1) in case of error, while others will return (0). Until we make our minds on this, make sure that callers of this function properly handle 0 or (-1) as failure. ok krw@
2003-04-06strcat/strcpy/sprintf cleanup. krw@, anil@ ok. art@ tested sparc64.Hakan Olsson
2003-04-06The disklabel fields d_packname and d_typename are not null terminated stringsKenneth R Westerback
and should not be created or used as such. This fixes some instances of both behaviours, and sets the stage for some strcpy -> strncpy fixup. ok tdeval@ millert@ deraadt@
2003-04-06remove an erroneous commentHugh Graham
2003-04-06Significant DHU driver fixups:Hugh Graham
. immediately service all available action reports in the transmit . interrupt handler so we don't exhaust the action report fifo and . hang the device when under high load . . set receive interrupt delay to 10ms if the hardware supports it, . vastly reducing interrupts by allowing the receive fifo to fill . . always use dma when in DHU11 mode
2003-04-03Real DHUs don't have a TXCHAR register, so write directly to the fifoHugh Graham
instead. Driver now transmits successfully in both DHV and DHU mode.
2003-04-02DZ-11 (or the DZ-11 alike in the VS4000/VLC anyway) only interrupts whenJason Wright
the RX fifo goes from 0 -> 1 characters. If the FIFO is filled (eg. during autoconf where interrupts are cleared), the dz will never interrupt for rx again. Solution: drain the fifo on first open. ok hugh
2003-04-02Don't allow the DZ-11 RX interrupt to be masked (if a DZ-11 interrupt was seenJason Wright
during the "wait for a second looking for annoying interrupts" period, it would mask it off... oops =)
2003-03-08qe tested and working well; enableHugh Graham
2003-02-11be consistant on Hz vs hzMichael Shalayeff
2003-02-05LLADDR macro doesn't work here, so copy mac into the softc directly.Hugh Graham
2003-02-04Bring qe closer to NetBSD and make it compile. As yet untested.Hugh Graham
2003-02-03From NetBSD: Add functions to allocate mapped-in qbus memory.Hugh Graham
2003-01-21typosmargarida
2003-01-09Remove fetch(9) and store(9) functions from the kernel, and replace the fewMiod Vallat
remaining instances of them with appropriate copy(9) usage. ok art@, tested on all arches unless my memory is non-ECC
2002-12-27Use model control capability to distinguish 8 from 16 line models,Hugh Graham
and don't ttymalloc lines we don't have. CXA16 in DHV-11 mode is probably still not correct.
2002-12-25No need to define FOO?=foo for AS, CC, CPP and LD, as they are always alreadyMiod Vallat
set from <sys.mk>
2002-12-24Received a christmas card from Diego and Wim -- thanks!Hugh Graham
It works even, so enable the dhu.
2002-12-17Make SysV-style shared memory and semaphore limits sysctl'able.Todd C. Miller
Instead of allocating a static amount of memory for the data structures via valloc() in allocsys(), allocate things dynamically using pool(9) when possible and malloc(9) when not. The various members of struct seminfo and struct shminfo are in kern.seminfo and kern.shminfo respectively (not all members of kern.seminfo are changable). The data structures used still leave something to be desired but things are not made worse in that respect by this commit.
2002-12-15Correctly report MicroVAX-30 as a MicroVAX, not a VAXstation.Miod Vallat
2002-12-10VT100 emul is the default, and there is no point yet having more than oneMiod Vallat
wsscreen per wsdisplay device ; from deraadt@ long ago.
2002-12-05remove altq entries.Kenjiro Cho
altq is merged into pf and handled through pf.
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-29inconsistant spelling; torh@bogus.netTheo de Raadt
2002-11-08Don't uvm_useracc the user sigcontext in sys_sigreturn and then accessMiod Vallat
the user addresses directly from the kernel. copyin is faster and can correctly deal properly with mappings that uvm_useracc thinks are correct but will fault anyway (to figure out how to generate such mappings is left as en excercise for the reader). Blatantly stolen from art@'s similar fix to sparc.
2002-11-05Add a WEAK_ALIAS macro, to be used by libc/libc_r shortly.Miod Vallat