matt
5141ec2a3c
Typo fxi.
2015-07-05 04:53:26 +00:00
matt
e95f8d8cf9
Revamped QVSS (VCB01) support. (from Charles Dickman)
2015-07-05 03:07:21 +00:00
matt
7e4aa81e25
Configury support for QVSS (from Charles Dickman)
2015-07-05 03:06:27 +00:00
matt
5227f182c7
Add code to probe the Q-bus/Unibus for memory. (From Charles Dickman)
2015-07-05 03:03:00 +00:00
matt
35583341d8
Reorganize a bit. Add QVSS (from Charles Dickman).
2015-07-05 02:10:53 +00:00
matt
3ea559d297
Hooks needed for QVSS support
2015-07-05 02:03:36 +00:00
martin
e743a584de
Close the file descriptor used for loading before jumping to the kernel.
...
Pointed out by Felix Deichmann on port-vax.
2015-06-05 16:01:55 +00:00
abs
81e568b8d1
Add missing break - from Felix Deichmann in PR port-vax/49935
2015-05-31 07:04:18 +00:00
ragge
36f91343b4
PR port-vax/49884
...
Fixes bug introduced in earlier cleanup.
2015-05-09 13:43:45 +00:00
martin
2135edf023
Handle EINVAL in the fault path and send SIGBUS on mmap'd access past EOF
2015-03-03 13:23:48 +00:00
christos
c182898b0d
We have three sets of DTYPE_ constants in the kernel:
...
altq Drop Type
disklabel Disk Type
file Descriptor Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
christos
d1cb0983ac
return error
2014-12-31 20:37:52 +00:00
christos
2758cd718c
declare error
2014-12-31 20:37:10 +00:00
christos
c60db2e923
make more drivers use disk_ioctl, and add a dev parameter to it so that
...
we can merge the "easy" disklabel ioctls to it. Ultimately all this will
go do dk_ioctl once all the drivers have been converted.
2014-12-31 19:52:04 +00:00
jklos
aff60d99ba
Remove autoconf.h include from am7930.c as per Matt Thomas so
...
vax/include/autoconf.h isn't necessary.
2014-12-20 23:36:21 +00:00
jklos
770eddc13a
Enable lcg0 framebuffer support for VAXstation 4000/30, 60, 90 and friends.
2014-12-20 13:16:04 +00:00
jklos
8f1807a987
Added as a placeholder so kernels compile until a better fix is found.
2014-12-20 13:13:58 +00:00
jklos
0a59efa4ee
Add audio support for VAXstation VLC, 60 and 90 machines. Originally rom
...
Blaz Antonic and ported from OpenBSD by Björn Johannesso. Tested on VLC
and 4000/60.
2014-12-19 04:44:13 +00:00
jklos
5ebf3ef3c3
Add small fix from Björn Johannessonwhich makes framebuffer woth with X11.
2014-12-18 22:46:53 +00:00
jklos
7e580c6e29
Adds VAXstation VLC and 4000/60 framebuffer support. From Blaz Antonic
...
and updated by BjörnJohannesson.
2014-12-16 11:34:17 +00:00
jklos
6c82a2cbc1
Fix leds.h include.
2014-12-16 11:23:11 +00:00
christos
a95736d447
PR/49207: Kamil Rytarowski: Add sys/clock.h with generic time macros
...
(derived from clock_subr.h). Keep clock_subr.h with the kernel structures
and functions to reduce diffs, and have clock.h only include standalone
constants and macros.
2014-11-17 02:15:48 +00:00
manu
239cf5506d
Remove unused extended attributes kernel options
...
As Masao Uebayashi pointed to me, UFS_EXTATTR_AUTOSTART, LFS_EXTATTR_AUTOSTART
and UFS_EXTATTR_AUTOCREATE are not used anywhere in the code. Remove them
as they have been obsolete for a long time:
UFS_EXTATTR_AUTOSTART was replaced by mount -o extattr
LFS_EXTATTR_AUTOSTART was created to match obsolete UFS_EXTATTR_AUTOSTART
UFS_EXTATTR_AUTOCREATE was replaced by sysctl vfs.ffs.extattr_autocreate
2014-11-16 16:01:39 +00:00
manu
2cab231d44
Support for UFS1 extended attributes in GENERIC and GENERIC-like kernels
...
This change just brings UFS1 extended attribute *support* in the kernel,
extended attributes are not enabled unless three conditions are met:
1) filesystem is UFS1 (newfs -O1)
2) .attribute/system and .attribute/user directories are created at fs root
3) filesystem is mounted with -o extattr
Some GENERIC kernels are obviously memory constrained, the extended
attributes options were not enabled for them, but just added commented out.
(kernel were considered memory constrained if QUOTA option was disabled)
2014-11-12 10:47:20 +00:00
snj
f0a7346d21
src is too big these days to tolerate superfluous apostrophes. It's
...
"its", people!
2014-10-18 08:33:23 +00:00
dholland
4acb6306f5
Systematize (and in many cases, fix) the comments on options COMPAT_NN.
...
There are quite a few configs that are missing some COMPAT_NN options
in ways that don't make sense; this should probably get cleaned up
too, but for the time being I've not added or removed anything.
2014-08-23 20:26:56 +00:00
matt
b6a0909548
Revert back to 1.7.
2014-08-21 06:48:04 +00:00
apb
30a0368950
Add "options COMPAT_70" to all kernel configuration files that
...
already had "options COMPAT_60".
2014-08-16 17:56:30 +00:00
matt
0e582fedb6
Fix SCN?FAST{8,16} formats to match reality (int) in gcc4.8.3
2014-08-14 14:21:03 +00:00
martin
9842fff13a
Revert previous changes, gcc configuration will be adapted instead.
2014-08-14 11:28:13 +00:00
martin
b209a3f1b9
intptr_t and uintptr_t are not long any more.
2014-08-14 09:17:32 +00:00
martin
66ee8b8898
Previously we used unsigned long int as __uintptr_t, but gcc prefers
...
__UINTPTR_TYPE__ as unsigned int, and now we use that for __uintptr_t
as well, so adapt MUTEX_CAS() accordingly.
2014-08-14 09:02:18 +00:00
matt
82a12988ef
Include <sys/common_int_types.h> if __UINTPTR_TYPE__ is defined.
2014-08-13 22:56:56 +00:00
matt
0b2cac531b
Include <sys/common_int_const.h> if __INTMAX_C_SUFFIX__ is defined.
2014-08-13 22:51:58 +00:00
matt
7c5094c243
Include <sys/common_init_limits.h> if __SIG_ATOMIC_MAX__ is defined.
2014-08-13 22:31:06 +00:00
matt
2534797f07
include <sys/common_int_mwgwtypes.h> if __UINT_FAST64_TYPE__ is defined.
2014-08-13 22:25:39 +00:00
matt
efe99ca41d
include <sys/common_int_fmtio.h> if __INTPTR_FMTd__ is defined
2014-08-13 19:48:17 +00:00
martin
cc0e5017b6
Remove atoi() prototype
2014-08-10 16:53:22 +00:00
joerg
eb6cc7528a
Consistently define WARN in a way that passes format string checks, i.e.
...
always uses the same number of arguments as given in the format string.
2014-08-06 21:57:48 +00:00
dholland
f9228f4225
Add d_discard to all struct cdevsw instances I could find.
...
All have been set to "nodiscard"; some should get a real implementation.
2014-07-25 08:10:31 +00:00
dholland
8c70ef39af
Add d_discard to all struct bdevsw instances I could find.
...
I've set them all to nodiscard. Some of them (wd, dk, vnd, ld,
raidframe, maybe cgd) should be implemented for real.
2014-07-25 08:02:18 +00:00
mrg
ac641cb906
remove remaining makefile support for GCC < 45 that i found.
2014-06-14 20:49:36 +00:00
matt
c5a433948d
Modify compiler HACK to be for GCC 4.1 only
2014-06-04 21:24:54 +00:00
martin
c93b05fd84
Force -O1 when compiling this, it doesn't work with -O2 (need to investigate
...
later)
2014-05-24 07:38:42 +00:00
martin
02d91c9194
#ifdef a variable like its only use
2014-05-23 19:05:35 +00:00
martin
fc1c9b2cfa
Recognize racd* as boot device.
2014-05-20 16:02:37 +00:00
rmind
8011b285c0
Implement MI IPI interface with cross-call support.
2014-05-19 22:47:53 +00:00
christos
3ff79dba35
adjust to new signature; return consistent stuff. 0 is ok -1 is error
2014-04-05 18:44:32 +00:00
ozaki-r
046f996cf0
Use snprintf instead of sprintf
2014-03-28 13:26:24 +00:00
christos
e929f0f23e
fix printf issues
2014-03-26 08:01:21 +00:00