summaryrefslogtreecommitdiff
path: root/sys/arch/vax
AgeCommit message (Collapse)Author
2013-09-30Unbreak after am7990/lance split.Miod Vallat
2013-09-28In boot(), do not iterate over alldevs if it's empty (i.e. halting from ddbMiod Vallat
with ddb entered early with boot -d or from UKC).
2013-09-24Sync the MI LANCE code ( le(4) ) with NetBSD, except for the following:Miod Vallat
- the am7990_get() - now lance_get() - is unchanged. - the interrupt acknowledge logic is unchanged, and will disable interrupts, then acknowledge all interrupt conditions. Add ILACC (79900) support (from NetBSD). Both LANCE (am7990.c) and ILACC (am79900.c) code share as much common code (lance.c) as possible. This affects all le(4) attachments, but the changes are mostly mechanical, to split am7990-specific parts from lance-agnostic parts. Compile tested on all affected platforms. Tested on alpha, hp300, luna88k, mvme88k, sparc, sparc64 and vax.
2013-09-21Create process map holes with UVM_INH_SHARE so that they don't get lost inMiod Vallat
fork-without-exec situation (such as privsep'd binaries). Fixes occasional SIGSEGV in syslogd and pflogd on sun4/4c/4e.
2013-08-15fix getsecs() prototypes, vax still boots with 64-bit time_t; ok miod@Otto Moerbeek
2013-08-08Most network drivers include netinet/in_var.h, but apparently theyAlexander Bluhm
don't have to. Remove these include lines from vax drivers. test lteo@
2013-08-07We uniformly define size_t to be unsigned long and ssize_t to be long. MakeMark Kettenis
sure that SIZE_MAX and SSIZE_MAX are defined as constants with a matching type on all are architectures. ok millert@, matthew@
2013-07-13unify register_t to long on all platformsTheo de Raadt
ok miod kettenis
2013-07-13Rework multiline string literal to appease gcc3.Miod Vallat
2013-07-07Fix pmap_extract() to actually only return TRUE for mappings which have theMiod Vallat
valid bit set; can't believe this went unnoticed for so long. This fixes uvm_km_pgremove_intrsafe panics when pool_put()'ing items in pools for larger-than-a-page-items at shutdown time.
2013-07-06Forgot to commit this file during the a.out->ELF transition.Miod Vallat
2013-07-05VAX ELF boot block bits, and version crank.Miod Vallat
2013-07-05VAX ELF kernel bits.Miod Vallat
2013-07-05VAX ELF userland bits. Consists mostly of register prefix additions.Miod Vallat
2013-07-05Take II, this time without flubbing off_t: : move several internalPhilip Guenther
type definitions that are the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@ kettenis@ otto@
2013-07-04backout previous; off_t must be signed and there might be other C++ APIOtto Moerbeek
breakage lurking; ok kettenis@
2013-07-04To ease future changes, move several internal type definitions that arePhilip Guenther
the same across all archs from <machine/_types.h> to <sys/_types.h> ok deraadt@
2013-07-03Do not scribble to a page after uvm_pagefree()'ing it.Miod Vallat
2013-07-01Replace magic number in USRPTSIZE with the proper computation based uponMiod Vallat
various userland size limits.
2013-06-30Shortly run at ipl 1 in cpu_idle_cycle(), to let SIMH recognize the systemMiod Vallat
is idle; adapted from NetBSD
2013-06-29Minor fixes to let this build with gcc 3.Miod Vallat
2013-06-29Turn mfpr() and mtpr() into inline functions.Miod Vallat
2013-06-29Pass -D_LOCORE when building .S files.Miod Vallat
2013-06-23Stop using -traditional-cpp on gcc3/4 platforms.Miod Vallat
Add CWARNFLAGS to the command line when using -xassembler-with-cpp. We are mostly interested in -Werror here.
2013-06-13ovbcopy begoneTheo de Raadt
2013-06-11final removal of daddr64_t. daddr_t has been 64 bit for a long enoughTheo de Raadt
test period; i think 3 years ago the last bugs fell out. ok otto beck others
2013-06-09Fix resident_count accounting. Resident count would be incremented whenMiod Vallat
mappings are created, but only decremented if the pages had actually been faulted in.
2013-06-03changes for isc fuse support. not enabled. ok beck deraadt.Ted Unangst
from Sylvestre Gallon ccna.syl gmail.com
2013-06-01cleanup and consolidate the spinlock_lock (what a name!) code.Ted Unangst
it's now atomic_lock to better reflect its usage, and librthread now features a new spinlock that's really a ticket lock. thrlseep can handle both types of lock via a flag in the clock arg. (temp back compat hack) remove some old stuff that's accumulated along the way and no longer used. some feedback from dlg, who is concerned with all things ticket lock. (you need to boot a new kernel before installing librthread)
2013-05-29remove non-existing kernel configurationsJasper Lievisse Adriaanse
ok miod@
2013-05-21remove unused cpu_lock code (where it is truly unused). it is notTed Unangst
part of the future we have planned. middling ok from a few
2013-05-17Add a dummy IPL_MPSAFE definition.Mark Kettenis
ok miod@, mikeb@
2013-05-15remove unused variableAlexandre Ratchov
2013-05-15Introduce a global interrupt-aware mutex protecting dataAlexandre Ratchov
structures (including sound-card registers) from concurent access by syscall and interrupt code-paths. Since critical sections remain the same, calls to splraise/spllower can be safely replaced by calls to mtx_enter/mtx_leave with two exceptions: (1) mutexes are not reentrant (the inner splraise is thus removed), and (2) we're not allowed to sleep with a mutex (either msleep is used or the mutex is released before sleeping). ok and help from kettenis, a lot of work from armani
2013-05-07remove an unreferenced var that accessed uninitialised memoryJonathan Gray
ok miod@
2013-03-30reorder include search directories. cuts lookups by quite a bit.Ted Unangst
ok deraadt miod
2013-03-28Add STRONG_ALIAS macros to be used from assembly code in libc andMartynas Venckus
libm. While at it, remove now unused workarounds for lint. Agreed by kettenis@, guenther@, matthew@.
2013-03-28Add __strong_alias macros for all architectures to be able to aliasMartynas Venckus
another symbol without weak attribute. To be used in libc and libm soon. Agreed by kettenis@, guenther@, matthew@.
2013-03-26sync TDIRS with realityJasper Lievisse Adriaanse
"looks good" deraadt@
2013-03-26PGSHIFT and PGOFSET are now contained inside the kernel namespace.Theo de Raadt
2013-03-26maybe the last PGSHIFT -> PAGE_SHIFTTheo de Raadt
2013-03-25ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.Theo de Raadt
2013-03-23refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedTheo de Raadt
to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
2013-03-21Already have sys/param.h, don't need machine/param.hTheo de Raadt
2013-03-12Fix kernel profiling on MP systems by using per-CPU buffers and teachMartin Pieuchot
kgmon(8) to deal with them, this time without public header changes. Previously various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok deraadt@, mikeb@, haesbaert@
2013-02-12Back out per-CPU kernel profiling, it shouldn't modify a public headerMartin Pieuchot
at this moment.
2013-02-11Fix kernel profiling on MP systems by using per-CPU buffer. PreviouslyMartin Pieuchot
various CPUs were iterating over the same global buffer at the same time to modify it and never ended. This diff includes some ideas submited by Thor Simon to NetBSD via miod@. ok mikeb@, haesbaert@
2013-01-16cpu_coredump() also needs to invoke vn_rdwr() without IO_NODELOCKED; onlyMiod Vallat
affects a.out binaries' core dumps.
2013-01-06acknowlege -> acknowledgeMartynas Venckus
compatability -> compatibility OK jmc@.
2013-01-01<machine/aout_machdep.h> is not used anywhere in the tree, move to the Attic.Miod Vallat