summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2001-06-17Add -Wno-uninitialized.Hugh Graham
2001-06-15Compile kernel with -Wall, and fix a few issues for this to work.Miod Vallat
ok hugh@
2001-06-13Recent changes in sys/netinet/ assume you get setsoftnet() viaMiod Vallat
<machine/param.h>, which was not the case for these arches.
2001-06-11Call doshutdownhooks() during shutdown.Miod Vallat
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-20From NetBSD:Hugh Graham
> date: 2000/05/08 18:51:17; author: ragge; state: Exp; lines: +6 -2 > branches: 1.4.2; > Get correct MAC address out of rom on VAX 4000/200. From Michael Kukat.
2001-05-17convert mbuf and cluster allocation to pool, mostly from NetBSDNiels Provos
okay art@ miod@
2001-05-17It's Daylight Saving Time, not Savings. Fix comments.Peter Valchev
Discussed with pjanzen@
2001-05-16Hook up various wscons related stuff and enable the smg framebuffer.Hugh Graham
Also contemplate the curious clr device, wherefor art thine code?
2001-05-16Blind merge of wscons support from NetBSD/vax. Perhaps someone with aHugh Graham
supported framebuffer (simple monochrome) can finish this off. If anyone has run across docs for LCG or SPGFX, please get in touch.
2001-05-16Fix vax to work with recent pmap_change_wiring() -> pmap_unwire()Hugh Graham
changes. Mostly from NetBSD.
2001-05-16kill COMPAT_{09,10,11} kernel options. We still need kern_info_09.c and ↵Todd C. Miller
kern_ipc_10.c for other compat modules.
2001-05-13PAGE_MASK is (PAGE_SIZE - 1), *not* (PAGE_SHIFT - 1)Todd C. Miller
2001-05-11unify rd(4) even moreTheo de Raadt
2001-05-11unifyTheo de Raadt
2001-05-10Provide PAGE_{MASK,SHIFT,SIZE} constants.Miod Vallat
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-05-06Update some comments wrt. the CLSIZE changes.Artur Grabowski
And remove that memory price comment from 1981. It is amusing, but also confusing because the math in there is only correct on vax.
2001-05-05Rename configure() to cpu_configure().Artur Grabowski
Move it from cpu_startup() to main().
2001-05-05Remove the (vaddr_t) casts inside the round_page and trunc_page macros.Artur Grabowski
We might want to use them on types that are bigger than vaddr_t. Fix all callers that pass pointers without casts.
2001-05-05Get rid of CLSIZE and all related stuff.Artur Grabowski
CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
2001-04-18Cover rl with #ifdef's and put it to sleep. ZZzz..Hugh Graham
2001-04-17Comment out the 20+ year old rl disk device to make way for the recentlyHugh Graham
MI RealTek network adaptor. Will resurrect or rename rl at such time as we actually support these drives.
2001-04-17Switch a "BGTR foo" to a "BLSS bar; BRW foo; bar:". In this case, theBrandon Creighton
difference between the BGTR and foo: is too large for a byte displacement. as should give an error or at least a warning here, but it doesn't; instead it merrily outputs a completely bogus displacement. This fixes problems with EMODD on numbers with negative exponents.
2001-04-10Decrement open_count in netclose(); this fixes the bug which causedBrandon Creighton
boot to halt on boot attempts after a failed network boot attempt. Also, prototype netmountroot() and return 0 in netclose().
2001-04-10Fix for machines which need to enlarge the kernel address space, at leastNiklas Hallqvist
1GB i386 machines needs this. The fix is heavily based on Jason Thorpe's found in NetBSD. Here is his original commit message: Instead of checking vm_physmem[<physseg>].pgs to determine if uvm_page_init() has completed, add a boolean uvm.page_init_done, and test against that. Use this same boolean (rather than pmap_initialized) in pmap_growkernel() to determine if we are being called via uvm_page_init() to grow the kernel address space. This fixes a problem on some i386 configurations where pmap_init() itself was needing to have the kernel page table grown, and since pmap_initialized was not yet set to TRUE, pmap_growkernel() was choosing the wrong code path.
2001-04-09FFS_SOFTUPDATES in sys/conf/GENERICTheo de Raadt
2001-04-09Add softdep.Hugh Graham
2001-04-09A much tidier layout, from NetBSD.Hugh Graham
2001-04-09Amputate some dead and broken code and rework the rest to do theHugh Graham
right thing if booting off something other than sd0a. RB_ASKNAME will be reimplemented later.
2001-04-09Comment out compat vax1k until needed.Hugh Graham
Also a large quantity of whitespace fixes.
2001-04-01spelling.Hugh Graham
2001-04-01Print KA48 or KA45 as appropriate. Someone with a 4000/vlc or 3100/{3,4}0Hugh Graham
could test this in the next snapshot.
2001-04-01Pick up a change from NetBSD:Hugh Graham
: date: 2000/04/28 00:08:51; author: matt; state: Exp; lines: +2 -2 : Dump NRCV to 8 from 5. Note that a 8K NFS reply takes 6 full size : Ethernet packets so the chances are that if the server was fast enough : this driver would continuously lose one of the fragments. Eventually : causing the kernel load to fail. Add 2 extra for random ARP or other : packets that might be picked up.
2001-04-01Call VAX_STYP_50 a MicroVAX 3100/85, even though this machine is KA55.Hugh Graham
Ambiguity is because DEC's docs differ from observed values. Only cosmetic, at any rate.
2001-04-01Changes to initialize the cache on KA690 properly; from Lord Isildur.Hugh Graham
Entries for KA681 and KA691, and a conservative default case to keep things sane if an unknown cpu is encountered by me. Also some KNF. Anyone with a 4000/{4,5,6}00 able to test?
2001-03-22More EMODD work:Brandon Creighton
- Using CVTDL and subtracting to seperate integer from fraction does not work if the integer is >32 bits long; instead, rearrange the bits into a quadword, use ASHQ to truncate, and then subtract. Also: - Set the condition codes properly; this fixes the other problem with >32-bit-integer parts in libm by letting modf subtract the fractional part (which *is* a double) to get the integral part in a double. - move the zero checks earlier in the routine - instead of 'ret' in zeroexit, use brw goback
2001-03-16Add some more model subtypes from Antonio Carlini.Hugh Graham
Won't try to match VAX_STYP_692 until we can find a 4000 70x and learn more about this model.
2001-03-16The length fields of MOVC3 and MOVC5 have an upper limit of 65535 bytes.Brandon Creighton
This fixes bcopy, copyin/copyout, and kcopy. Much testing was done by hugh@ and me to find the fastest replacement out of half a dozen candidates. Also, correct register masks in numerous places.
2001-03-15wsdisplay/wskbd/wsmouse devicesBrandon Creighton
2001-03-12Omega is now VAX_BTYP_1301. Also add an STYP for 4000 600.Hugh Graham
2001-02-25Code to enable the cache on VS4000/VLC. From mhitch@netbsd.org.Hugh Graham
2001-02-25Use the system subtype field on the SIE to determine if a machine isHugh Graham
VS4000/vlc or MV3100/{3,4}0. This seems to produce more consistent detection than checking the configuration and test register.
2001-02-25Provide both system sub type and system variant data for KA45 and KA48.Hugh Graham
It's not yet clear which is better used to differentiate these models.
2001-02-24Gone the vsbus route for now.Hugh Graham
2001-02-24Support for VAX 4000/{2,4,5}00 from Michael Kukat. untested.Hugh Graham
2001-02-20for ethernet ifaces attach bpf from ether_ifattach; jason@, aaron@, itojun@ okMichael Shalayeff
2001-02-15Pick up a two liner from netbsd to set offset for SCSI chain B properly.Hugh Graham
2001-02-11Previously, when sendsig() set up the current process's context to runBrandon Creighton
sigcode to call a handler, SP was set in the middle of the struct trapframe/struct sigcontext pair placed on the stack. This was adequate when only one signal is being delivered at a time, but when two signals are delivered in one syscall, the second invocation of sendsig() overwrote some of the first sendsig() invocation's stack data. The result was that under certain circumstances, (e.g., sending signals to backgrounded processes from ksh) the argument passed to signal handlers when the second signal (the one corresponding to the first sendsig() invocation) was delivered was bogus data from the stack. Therefore, programs that depended on the "sigraised" argument to be accurate blew up. This fix ensures that sendsig() always leaves a process's SP out of the way of structures that will be used. AP is not moved, though, so sigreturn can find the args correctly. Also, sigcode is changed to compensate for the SP change.
2001-02-11Pick up a NetBSD hack to attach Cheetah to vsbus as well as ibus.Hugh Graham
High kludge factor, but the payoff is vsbus scsi for free. Most of the work is by Michael Kukat and ragge, with a few other synchronisations thrown in.