Age | Commit message (Collapse) | Author |
|
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.
|
|
to a trap)' dance before invoking trapsignal(), which will mess with the pc
too. My bug initially, can't believe I never noticed; fixed first in NetBSD.
This makes libsqlite3 build.
|
|
from a fork syscall done by the parent. Use __tfork, not rfork
here to match the ktrace records for the parent (CALL __tfork,
RET __tfork). ok guenther
|
|
count processes instead of threads. New sysctl()s KERN_NTHREADS and
KERN_MAXTHREAD count and limit threads. The nprocs and maxproc kernel
variables are replaced by nprocess, maxprocess, nthreads, and maxthread.
ok tedu@ mikeb@
|
|
ok deraadt@
|
|
from struct user. Nothing left to zero-out here so the line goes.
pointed out by deraaadt@
|
|
from Tobias Ulmer (tobiasu at tmux.org); ok jmc@, krw@
|
|
past, pull that code out seperately.
ok guenther miod
|
|
the right type, noone will ever fiddle with the internals.
discussed with jsing
|
|
|
|
fix DIOCGPDINFO ioctl behaviour in the process.
Tested in SIMH only due to the lack of MSCP disks, RX02 floppies untested
but shouldn't be affected by this diff.
|
|
|
|
|
|
discussed with jsing and millert
|
|
genassym script, instead of relying upon <sys/disklabel.h> to provide them
as proper .set statements if _LOCORE is defined.
Requested by weingart@ long ago; ok jsing@ krw@
|
|
- only handle a machine check as caused by badaddr() if the local `memtest'
variable is nonzero, instead of abusing `cold'. And be sure to clear
`memtest' upon returning from badaddr, of course.
- do not write to the MCESR register on microVAX II and SOC processors, as
this register is not implemented on those models.
- get rid of the `write the SBIFS and EHSR registers depending upon the
cpu model' chunk, since these only matter on true 11/780 and 86x0 models,
support for which has been removed recently.
|
|
detected upon failure to transmit if it is indeed lost), so that `ifconfig ze0'
reports the correct state of the link instead of always pretending it is up.
|
|
for this machine is good'ol'GPX.
|
|
- save the second byte of vax_siedata into a new variable, vax_cpustype,
and use it instead of (vax_siedata >> 8) & 0xff or other similar
constructs.
- the VAX_SIE_KAxxx constants are duplicates of the VAX_STYP_xx constants.
Standardize on the latter and kill the former.
- only keep VAX_VTYP_xx constants for KA46 and KA47, those are the only
systems which use these constants and are told apart by a different
SIE byte.
No functional change intended.
|
|
|
|
|
|
|
|
|
|
- ICR/NICR on most systems (1MHz counter resolution).
- diagnostic timer on KA46/KA48 (1kHz counter resolution, counter is actually
running at around 1024 kHz but is not guaranteed to be monotonic at this
rate).
- 100Hz clock on VXT (nothing but the 100Hz clock interrupt).
Tested on KA49 (ICR style), KA46, KA48 (diagtmr style), VXT2000+ (VXT
{empty,hopeless}ness'r'us style).
|
|
- silence noisy print of cache control registers at cache initialization time
(but not during memory errors or machine checks).
- correctly access the prom mailbox register, so that halt and reboot work
as intended (from NetBSD).
|
|
512KB PROM systems (e.g. KA49), or 256KB PROM systems built after KA49
(e.g. KA5[234]), and use them instead of pouring magic numbers all over the (md)
tree.
No functional change.
|
|
|
|
compat names kept in <machine/param.h>. In <sys/socket.h>, pull
in <sys/_types.h> instead of the namespace polluting <machine/param.h>
and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
|
Since the underlying types of the int_fast types are set by machine/_types.h,
put internal macros in that same file and define the exposed
INT_FAST*_{MIN,MAX} macros from those.
ok millert@, kettenis@
|
|
more than 8 years ago; allows aucat (and sndio users) to happily use
amd7930-based audio devices.
Verified by playing an mp3 file on vax.
|
|
/90.
|
|
|
|
KA45 and KA48. The FPU is built-in, and PR_ACCS is not implemented (as the
PROM will tell you if you try to EX it). This was copied from KA46 and for
some reason KA45 and KA48 ignore writes to PR_ACCS (unlike VXT which hangs).
Tested on KA45 and KA48.
|
|
ok guenther@
|
|
of the data register, while waiting for the chip initialization to complete.
This seems to prevent spurious disappearance of le0 on some systems.
|
|
if we are running on a KA45 system. These share the KA48 board type but,
unlike KA48, can not sport frame buffers.
Prevents a bogus lcg device from attaching on KA45, and also repairs console
operation if the S3 switch is down (console on serial #0).
|
|
for, instead of zero. Makes verbose autoconf output meaningful again.
|
|
is causing problems when trying to boot sparc64 from an isp(4).
Verified to fix the sparc64/isp(4) regression by krw@; ok deraadt@
|
|
done behind the scenes to retain history. Having all the bootblocks in the
same architecture sub-directory satisfies several principles.
ok miod
|
|
|
|
saa_luns instead of adapter_buswidth and luns in the prototype link.
ok dlg@, miod@
|
|
spikes in other developers by making it so that removal of a .d
file without removing the corresponding object will result in the
latter being treated as out of date.
ok beck@ art@ drahn@
|
|
soon to become struct generic_attach_args.
|
|
|
|
removal.
|
|
VAX port. This means, 11/7xx, VAX6000 and VAX8x00 systems, as well as SBI,
CMI, BI, XMI and MASSBUS drivers.
Most of these files were not being compiled or kept in compilable state over
the years anyway.
|
|
that they're implemented consistently in bounds_check_with_label().
Also, per krw's request, change bounds_check_with_label() to return 0
if the checks succeed, and change the drivers to test == -1 instead of
<= 0. (Man page update to follow; intentionally omitting
arch/vax/mba/hp.c from this commit because it doesn't even build
currently and miod@ promises to kill it soon.)
ok krw@
|
|
ok beck deraadt
|
|
place it was missing. Delete now redundant calls to DIOCGDINFO when
getting physical disk info in disklabel(8) and fdisk(8).
Reminded by a fdisk discussion with Andres Perera on tech@.
ok deraadt@
|
|
problem has been tracked down. This fixes the sharing of the signal
handling state: shared bits go in sigacts, per-rthread bits goes in
struct proc.
ok deraadt@
|