summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2002-09-18From NetBSD and in line with recent local changes:Hugh Graham
: date: 2002/09/13 03:00:18; author: chuck; state: Exp; lines: +3 -3 : increase sc_maxxfer from 63K to 64K. otherwise fsck fails for : file systems with larger block sizes.
2002-09-17Work around a vax-specific problem where mmap()ing large amount of memoryMiod Vallat
would cause a panic. To do so, instead of panic'ing in pmap_protect() if the pages which are supposed to be used for the mapping are out of the affordable pmap limits, just return, and handle this in pmap_enter, by either returning EFAULT if pmap_enter has been invoked with PMAP_CANFAIL, or panicing there if there is no escape. ok art@
2002-09-17Switch device register routine from last match to first match. FixesHugh Graham
problems one of my machines was having with phantom scsi luns and no way to discern which one was the boot device.
2002-09-12Change the PMAP_{MAP,UNMAP}_POOLPAGE api to take a vm_page as argumentArtur Grabowski
and return a VM_PAGE. This is to allow sparc64 to cheaply record the VAC color for those pages.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-08-11Restore support for loading elf boot:Hugh Graham
- compiles again - already tested - less to upgrade later
2002-08-09Get rid of remaining __P usage (except for imported code);Jason Peel
ok millert@, rogue ok pjanzen@
2002-08-09Add an explicit dependancy of assym.h to Makefile.Miod Vallat
This makes sure it will be regenerated if you run config(8) again.
2002-07-31fake out ELF stuffTheo de Raadt
2002-07-31Temporarily comment ELF support in the bootblocks, until this port isMiod Vallat
really ELF; necessary for this to compile after the recent <sys/exec_elf.h> changes. ok deraadt@
2002-07-30Add SIZE_MAX define. This is the same as SIZE_T_MAX but more portable.Todd C. Miller
The only OSes I've seen that use SIZE_T_MAX are 4.4BSD-derived whereas SYSV things seem to use SIZE_MAX. It is also consistent with SSIZE_MAX (which we already have). deraadt@ OK
2002-07-21Support OS selectable halt action on the VAXstation 4000's.Hugh Graham
Info from NetBSD, testing by pval and millert.
2002-07-21Attempt to distinguish 4000 700A from 4000 705A. Results are so farHugh Graham
consistent with SID/XSID data from Mats O Jansson, Chuck McManis, Antonio Carlini, Fred van Kempen, and Kees Stravers. Tested by Fred van Kempen.
2002-07-21Vector 0x0 doesn't seem to be useful, so ignore it for now.Hugh Graham
2002-07-20Instead of copying out the signal trampoline on top of the stack, createArtur Grabowski
an uvm aobj, copy out the signal trampoline into it and share that page among all processes for the same emulation. This also requires us to actually be able to tell signal code where the trampoline is located, so introduce a new field in struct proc - p_sigcode that is a pointer to sigcode. This allows us to remove all the ugly calculations of the signal trampoline address done in every sendsig function in the tree (that's why so many files are changed). Tested by various people. ok deraadt@
2002-07-10proper cdev_decl(ksyms), fix ksyms's broken functionsMichael Shalayeff
2002-06-24hello missing cdevsw entriesHugh Graham
2002-06-23uid_t is unsignedTheo de Raadt
2002-06-22Add ${PIPE} to CFLAGSTodd C. Miller
2002-06-12bdevtomaj worked well, but is no longer needed.Hugh Graham
2002-06-12No longer need these getdev routines.Hugh Graham
2002-06-12cnputc() will take care of the necessary cr->cr/lf translation, so don'tMiod Vallat
do it in those consoles either.
2002-06-11Prune some more dead code.Hugh Graham
2002-06-11Nuke unused function.Hugh Graham
2002-06-11Oops, no need for 1k lpgsz support on the ramdisk.Hugh Graham
2002-06-11New boot code, mostly from ragge's work in NetBSD.Hugh Graham
Some header syncing and a couple network drivers came along for the ride. Assembly files have been renamed from .s to .S to facilitate diffs. Kernel is backwards compat - with manual interaction. OpenBSD features have been preserved.
2002-06-10sleep() -> tsleep()Miod Vallat
2002-06-08protect biodone with splbioArtur Grabowski
2002-06-07Remove obsolete CLKF_BASEPRI(). ok niklas@, miod@ and art@Thomas Nordin
2002-06-03spell transceiver correctlyTheo de Raadt
2002-05-25Add a board type for VXT2000+. Info gathered by Daniel SZILAGYI.Hugh Graham
2002-05-23remove the defines for iodone -> biodone and iowait -> biowait.Artur Grabowski
Use the correct functions everywhere instead.
2002-05-18Rename the MD db_stack_trace_cmd to db_stack_trace_print. Add an argumentArtur Grabowski
that specifies which printf funciton it should use. Implement db_stack_trace_cmd in MI code. Thanks to miod@ for all the tests.
2002-05-16Add systrace support to all the remaining architectures.Miod Vallat
Tested by various people on various platforms, I'm willing to fix any breakage this causes. ok niels@ deraadt@ and mickey@ (after his comments were applied)
2002-05-16Fix a long standing problem on vax: on "arithmetic fault" exceptions,Miod Vallat
we schedule a SIGFPE signal delivery to the faulting process. However, arithmetic faults come in two flavors: "traps" that are "regular" exceptions, and "faults" that are restartable exceptions. In the "fault" case, the frame pc points to the faulting instruction, instead of the next instruction, in case we could save the world by tweaking memory and make the instruction not fault again when restarted. In practice, this led to processes blocked in a SIGFPE loop madness. To avoid this, add a skip_opcode() routine to compute the address of the next opcode, effectively skipping the offending instruction ; this routine is a very stripped-down db_disasm(). While there, enhance the ddb disassembler to correctly recognize and disassemble two-byte opcodes. ok hugh@, deraadt@
2002-05-11Avoid multiple definitions of macros in float.h and limits.h. ThisTodd C. Miller
is a long-standing problem that recently showed up on vax because due to some indirection cpp no longer believes the definitions are equivalent (though they really are). From espie@
2002-05-11Enable dz at uba, since it seems to move characters back and forthHugh Graham
in the SIMH/VAX simulator OK. If anyone has an actual card to test, a report would be appreciated.
2002-05-06Increase MAXPHYS from 63K to 64K which brings it in line with all ourTodd C. Miller
other architectures and matches NetBSD-current. hugh@ OK
2002-04-29Use netisr_dispatch.Miod Vallat
2002-04-29Sync /dev/mem prototypes with the real interface here too.Miod Vallat
2002-04-29Do not forget to invoke iso_disklabelspoof() to deal correctly with cd-rom.Miod Vallat
2002-04-29Define placeholders for art's splassert() debugging stuff on all arches.Miod Vallat
Currently as no-ops everywhere. ok art@, deraadt@
2002-04-24Introduce a new file, machine/internal_types.h, to hold that specific archMarc Espie
type characteristics. internal_types.h will contain only settings invisible from standard C, e.g., in the __* or _[A-Z]* namespace, and be reused by files like limits.h. This allows us to shorten machine/limits.h greatly, as all the common defines are now in sys/limits.h, plus a small stub in internal_types.h. Tested on all arches as far as I know. Approved after discussion with art, millert, deraadt, and others.
2002-04-05mark that there is no siginfo code here. Damn it, geezTheo de Raadt
2002-04-05remove un-needed stuff. I leave NFSCLIENT for hughTheo de Raadt
2002-04-04permit maxusers down to 2Theo de Raadt
2002-04-04permit compiling without NFSTheo de Raadt
2002-03-31Copy mac address from proper place on 4000 200. Spotted thanks to aHugh Graham
failed boot log from Jim Uhl.
2002-03-23Add variables for config(8) -e time tweak of systemV shared memoryMarc Espie
parameters. Ok millert@, miod@, maja@
2002-03-15Cosmetic changes only, primarily making comments line up nicely after theTodd C. Miller
__P removal.