summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2008-08-18Forgot to add this file, needing for KA60 support.Miod Vallat
2008-08-18Now that KA60 support is in, include the proper header files instead ofMiod Vallat
harcoding defines, and add rpb device type #39 (sii) boot information.
2008-08-18Add support for the ``Firefox'' VAXstation 3520/3540/3820/3840 workstations,Miod Vallat
currently limited to serial console and a single processor working. All ``on-board'' devices, including the Q-bus adapter, but except for the frame buffer, are supported. The machine will boot over the network or from SCSI devices. Lots of thanks to Al Kossow for www.bitsavers.org, on which I found the technical documentation allowing me to complete this port (which was lacking at the time I got that machine...).
2008-08-18Some uglyness to allow both uba_common.h and ubareg.h to be included;Miod Vallat
temporary until they get merged for good (or split differently).
2008-08-18Increment device interrupt event counter when redispatching an interrupt.Miod Vallat
2008-08-18Preparing for KA60 support, crank IPL_TTY to level 0x16 (since it isMiod Vallat
hardwired this way on KA60...), and compensate in splassert_check() when serial device interrupts will remain at 0x14 or 0x15.
2008-08-18Move common CVAX defines and code (internal cache IPR, SSC layout, machineMiod Vallat
check frame format...) to a single place. Get rid of duplicated KAxx_FOO constants.
2008-08-18Make hardclock() a cpu_dep member. Most machines will use the genericMiod Vallat
hardclock() here, except for KA46 which needs to reset the diagnostic timer. This gives us working clock interrupt counters for vmstat -i in the process.
2008-08-18Shuffle the dz console code (both serial and keyboard) to be more independentMiod Vallat
of the console device attachment, and to be able to work on system where there are more than one dz device of the same type, one of it being the console one. This also allows a different register layout than the dz@ibus one to be used for the dz console device.
2008-08-15Make the DZ_{READ,WRITE}_{BYTE,WORD} macros visible outside of dz.c, forMiod Vallat
other dz attachments to be able to use them (soon).
2008-08-15Fix array index computation in the machine check handler. Gives fatal bus errorsMiod Vallat
a chance to be reported correctly...
2008-08-15In dzcninit(), do not forget to enable the receiver in addition to theMiod Vallat
transmitter. On machines with glass console for which we do not have a driver yet, and fall back to serial console, the PROM might not have enabled it.
2008-08-15Move the vxt-specific clock functions frow clock.c to the cpu-specific supportMiod Vallat
file, fewer #ifdef this way.
2008-08-15Correct disassembly of the start of a function: fix display layout and skipMiod Vallat
only the 2 bytes of the procedure entry mask, not 4 bytes.
2008-08-15Remove unused and incomplete vax_bus_t enum, and unused vaxbus_dma_get_tag()Miod Vallat
macro and related function pointers.
2008-08-15Rename the cpu_dep hook ``steal_pages'' to ``init'', as it serves as anMiod Vallat
early initialization routine (to enable caches, etc) while still running physical, and does not allocate memory anymore. (The irony in this is that forthcoming KA60 support actually steals pages in its init function...)
2008-08-14convert the last traces of btoc/ctob macrosMartin Reindl
ok miod@
2008-08-12Figured out where the prom console routines are on KA60 and how to invokeMiod Vallat
them, thanks to old ultrix bootblocks lying around. Also, enable M-Bus clock on the I/O slot IOCSR, this unstucks the cpu clocks (which really are implemented on the SSC on the I/O module, but need to be controlled via the cpu's ``internal'' processor registers...)
2008-08-10Add support for the VAXstation 3[58][24]0 to the bootblocks, currentlyMiod Vallat
limited to serial console. This is enough for a 3520 to mopboot and download a kernel over NFS.
2008-07-30Do not print adapter target id on the attachment line, now that scsibus(4)Miod Vallat
prints it. These should be the last offenders.
2008-07-21vaxfp.h is VAX pendant of ieee.h. it defines VAX f fp, and VAX dMartynas Venckus
fp; from NetBSD ok millert@
2008-07-21- add proper double_t and float_t definitions for each archMartynas Venckus
- math.h shouldn't define FLT_EVAL_METHOD, but float.h should (per C99). remove from math.h, and add proper definitions in float.h ok millert@
2008-07-21nam2blk[] needs a "vnd" entry for some things (like softraid)Todd T. Fries
ok marco@ no objection miod@ need this for regress djm@ no objection krw@
2008-07-18Add a macro that clears the want_resched flag that need_resched sets.Artur Grabowski
Right now when mi_switch picks up the same proc, we didn't clear the flag which would mean that every time we service an AST we would attempt a context switch. For some architectures, amd64 being probably the most extreme, that meant attempting to context switch for every trap and interrupt. Now we clear_resched explicitly after every context switch, even if it didn't do anything. Which also allows us to remove some more code in cpu_switchto (not done yet). miod@ ok
2008-06-27Clear swap encryption keys before dumping a kernel image.Miod Vallat
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-24On user/kernel shared page table machines, do not let processes map theirTheo de Raadt
own page 0, as discussed with miod (and many others previously, including art and toby). On sparc, make this __LDPGSZ because PAGE_SIZE is non-constant ok miod tedu
2008-06-14A bunch of pool_get() + bzero() -> pool_get(..., .. | PR_ZERO)Michael Knudsen
conversions that should shave a few bytes off the kernel. ok henning, krw, jsing, oga, miod, and thib (``even though i usually prefer FOO|BAR''; thanks for looking.
2008-06-12Bring biomem diff back into the tree after the nfs_bio.c fix went in.Theo de Raadt
ok thib beck art
2008-06-11back out biomem diff since it is not right yet. Doing very largeTheo de Raadt
file copies to nfsv2 causes the system to eventually peg the console. On the console ^T indicates that the load is increasing rapidly, ddb indicates many calls to getbuf, there is some very slow nfs traffic making none (or extremely slow) progress. Eventually some machines seize up entirely.
2008-06-10Fix buffer cache pending read statistics by ensuring we can identifyBob Beck
biowait() reads that do *not* come from the buffer cache - we use the B_RAW flag to identify these at art's suggestion - since it makes sense and the flag was not being used. this just flags all these buffers with B_RAW - biodone already ignores returned buffers marked B_RAW. ok art@
2008-06-09Create a real holp by using uvm_map() with UVM_FLAG_HOLE in pmap_remove_holes().Miod Vallat
No functional change.
2008-06-08alpha/conf/RAMDISKTheo de Raadt
2008-05-21Make _PROF_PROLOGUE visible if PROF is defined; will be needed by libcMiod Vallat
shortly.
2008-05-21ddb expects the kernel longjmp() to only take a single parameter and alwaysMiod Vallat
return 1 since 12+ years, it's about time to fix the offending ports. Reported by Pierre Riteau (firstname.lastname at gmail)
2008-05-15Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
ok dlg@ miod@
2008-05-14Fix more chrtoblktbl[] sloppyness, and add proper block st nodes to *ppc andMiod Vallat
sgi.
2008-04-25neccessary -> necessary; from Pierre RiteauJason McIntyre
2008-04-12Compile kernels with -Wvariable-decl (except on arches with ipmi, for now).Miod Vallat
2008-04-09Add new stub uvm_shutdown() and call it from the right place in MD boot()Theo de Raadt
2008-04-08Split the cdev makro for bpftun into two seperate definitions. tun(4) andClaudio Jeker
bpf(4) are different enough so that the split makes sense -- this is necessary to make bpf(4) cloneable. requested deraadt@, OK thib@
2008-03-30Switch bootloader code to loadfile, and enable a.out and ELF loaders within.Miod Vallat
Crank the second stage boot blocks version.
2008-03-30Use vaddr_t instead of void * for some initial virtual memory layout arithmetic.Miod Vallat
2008-03-30Let the kernel load forthcoming ELF binaries.Miod Vallat
2008-03-30Nuke common.Miod Vallat
2008-02-16Move panic tests under #ifdef DEBUGMiod Vallat
2008-02-16Only create phys_map on systems which need it, and test for phys_map beingMiod Vallat
non-null instead of for a variety of vax_boardtype values in vmapbuf() and vunmapbuf().
2008-01-23Cleanup cn_pri. Change constants to more meaningful names, rather thanJoel Sing
the hp300 related ones currently in use. CN_NORMAL becomes CN_LOWPRI, CN_INTERNAL becomes CN_MIDPRI and CN_REMOTE becomes CN_HIGHPRI. ok miod@
2007-12-29fix comments after the members of scsi_adapter were changed.David Gwynne
prompted by krw@
2007-12-28If initializing a frame buffer as glass console fails, instead of an invisibleMiod Vallat
panic (for you ichc fans out there), disable the wscons console and force a console device reselection, which ends up in picking a serial console. This should not happen, but just in case, it's a less rude behaviour.