summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
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.
2002-03-14remove ambiguity in version,ostype,osversion,osrelease and their constanity, ↵Michael Shalayeff
they are and declarre 'em accordingly also removing private externies of those
2002-03-14Final __P removal plus some cosmetic fixupsTodd C. Miller
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Turn the ptrace(2) syscall into a kernel compile option, option PTRACE inMiod Vallat
your kernel configuration file. By default, GENERIC will enable this. When PTRACE is not enabled, several ptrace-like features of the procfs filesystem will be disabled as well (namely, the ability to read and write any process' registers, as well as attching, single stepping and detaching to/from processes). This should help paranoid people build better sandboxens, and us to build smaller ramdisks.
2002-03-10rdboot -> hdbootHugh Graham