kleink
f06533a1ee
Add definitions of C99 integer format conversion macros.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 17:13:04 +00:00
kleink
739cb75837
Add definitions of C99 specified-width integer type limits.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-15 15:29:02 +00:00
kleink
c544d84b41
Catch up with ansi.h rev. 1.12: define SIZE_T_MAX and SSIZE_MAX as long
...
integer constants in ELF environments.
2001-04-15 14:16:08 +00:00
kleink
80ad23a5da
Catch up with ansi.h rev. 1.12: define intptr_t and uintptr_t as long
...
integers in ELF environments, like is done with ptrdiff_t.
2001-04-15 13:38:19 +00:00
kleink
a7c20e5788
Add definitions of C99 integer constant macros.
2001-04-14 22:38:33 +00:00
kleink
7affdab52e
Add definitions of C99 minimum-width and greatest-width integer types.
...
XXX Fastest minimum-width integer types haven't been decided upon yet.
2001-04-14 12:19:49 +00:00
thorpej
bf2dcec4f5
Remove the use of splimp() from the NetBSD kernel. splnet()
...
and only splnet() is allowed for the protection of data structures
used by network devices.
2001-04-13 23:29:55 +00:00
kleink
9133b51cd8
Replace the 'unsigned __COMPILER_INT64__' construct with a new name,
...
__COMPILER_UINT64__, to be supplied - if such a case is made, it shouldn't
be assumed that the unsigned type-specifier may be applied to it.
2001-04-12 22:01:18 +00:00
thorpej
023e07a194
splimp -> spluba
2001-04-12 19:16:56 +00:00
thorpej
c031c366f6
Add spluba().
2001-04-12 19:16:06 +00:00
thorpej
9b2337e9d8
splimp -> splbio.
2001-04-12 18:34:56 +00:00
thorpej
7a46b74c7b
splimp -> splbio.
2001-04-12 06:20:59 +00:00
thorpej
b614ba3c5c
splimp -> splhigh
2001-04-12 06:08:44 +00:00
thorpej
ff7a879497
splimp -> splvm
2001-04-12 06:07:42 +00:00
ragge
b98dc685a3
Be sure that all kernel stack pages are valid after swapin. Fixes PR#12520.
2001-04-01 19:18:42 +00:00
ragge
fab65b55e4
(Untested) recognition of KA55.
2001-03-31 11:50:45 +00:00
ragge
9a6b7bcffa
Support for the 4000/600 cache, from Lord Isildur. (mrfusion@vaxpower.org)
2001-03-31 11:50:12 +00:00
ragge
b6aa1dfc2b
Compile vsbus_dma.c if vax53, hinted by Michael Kukat.
2001-03-27 18:01:59 +00:00
lukem
20ba07f2fe
- add dev_noimpl(xxx,yyy) macro to replace "(dev_type_xxx((*))) yyy",
...
and use appropriately
- create more helper macros:
. cdev__xyz_init(c,n), such as cdev__ocri_init() for
/* open, close, read, ioctl */, etc.
. cdev__xRy_init(c,n), where nullop is used instead of enodev to dummy out
method `R' and the comments now read /* xxx (read) yyy */ instead
. cdev__xyz_t_init(c,n,t) - as per cdev__xyz_init, but sets d_type = t
as well
- use seltrue instead of dev_noimpl(poll,*), as (IIRC) cdevsw.d_poll should
always DTRT WRT returning a valid result. (a few devices previously
incorrectly returned ENODEV)
- use dev_noimpl(stop,enodev) instead of dev_noimpl(stop,nullop) if tty
== 0, because it doesn't matter if dev_type_stop isn't implemented in that
case, and it allows the use of the cdev__xyz_init macros. certain ports
(sparc,sparc64,x68k) used the nullop method for dev_type_stop in a few
drivers, whereas everything else uses enodev
- ensure that the comments are accurate WRT the behaviour of a given entry
2001-03-26 12:33:22 +00:00
ragge
4a933b0a25
VAX_STYP_690 added, from Lord Isildur.
2001-03-21 21:11:13 +00:00
soren
912c115675
s/vm_page_alloc_memory/uvm_pglistalloc/ in panic message.
2001-03-21 18:40:28 +00:00
matt
96184e84cf
Add a diagnostic when we encounter an unknown boot device type.
2001-03-20 05:51:35 +00:00
chs
ac3bc537bd
eliminate the KERN_* error codes in favor of the traditional E* codes.
...
the mapping is:
KERN_SUCCESS 0
KERN_INVALID_ADDRESS EFAULT
KERN_PROTECTION_FAILURE EACCES
KERN_NO_SPACE ENOMEM
KERN_INVALID_ARGUMENT EINVAL
KERN_FAILURE various, mostly turn into KASSERTs
KERN_RESOURCE_SHORTAGE ENOMEM
KERN_NOT_RECEIVER <unused>
KERN_NO_ACCESS <unused>
KERN_PAGES_LOCKED <unused>
2001-03-15 06:10:32 +00:00
thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
ragge
f860eda596
This file hasn't been in use for a long time.
2001-03-05 16:02:23 +00:00
mrg
dc3c3a7bdd
re-add.
2001-02-25 14:56:47 +00:00
mrg
c4b3d490bb
delete (again), then add (again) ?
2001-02-25 14:56:01 +00:00
mrg
af19a7de64
try a `cvs ci -f' to make this appear on the trunk again. no changes.
2001-02-25 14:47:22 +00:00
cgd
8a986b2e96
convert to use getprogname()
2001-02-19 22:48:57 +00:00
ragge
195dd4efe6
Make the machine halt when halted and reboot when rebooted.
...
From Shinmyoh Koji (yesu@rb3.so-net.ne.jp ).
2001-02-18 16:56:22 +00:00
ragge
aa13a12702
Support to control the leds on VAXstations, taken from Sun3 and ported
...
to vax by Shinmyoh Koji (yesu@rb3.so-net.ne.jp ).
2001-02-18 10:44:20 +00:00
ragge
4e155d4593
Check page reference in pmap_clear_reference(). Fixes vax hang problem
...
with ubc, tested by Chuck Silvers.
2001-02-11 19:25:55 +00:00
chs
fac51ab1a0
create dependency info for assym.h.
2001-02-08 15:19:14 +00:00
abs
c78bf4efdb
Add ipfilter, and a bunch of (commented out) network options.
2001-02-05 17:32:08 +00:00
ragge
1af765a6dd
Oops, forgot this file.
2001-02-05 13:20:10 +00:00
ragge
2c1941b3eb
Giant update from Michael Kukat (michael@unixiron.org).
...
Fixes support for:
MicroVAX 3100m90
MicroVAX 3100m95
VAX 4000/100 (tested)
VAX 4000/105A (tested)
VAX 4000/108
VAX 4000/400 (tested)
VAX 4000/500 (tested)
VAX 4000/600
2001-02-04 20:36:26 +00:00
ragge
e4d9af4b42
A bunch of new CPUs that are supported, from Michael Kukat
...
(michael@unixiron.org ). Among them are 4000/400, 4000/500 and 4000/105A.
2001-01-28 21:01:52 +00:00
ragge
747983bb5b
Fix late "constifying" in ddb.
2001-01-28 20:47:45 +00:00
ragge
630d0523f6
These are not used anymore.
2001-01-28 20:04:50 +00:00
ragge
8032849729
Rename dz_ibus to dz_vsbus.
2001-01-28 19:26:34 +00:00
tv
e58532a4bf
No-op commit to force update to a non-"-kk" revision.
2001-01-18 17:47:58 +00:00
jdolecek
d5d431e8ae
make db_[e]regs[] const
2001-01-18 10:54:27 +00:00
fvdl
c7f1462f3e
Add machdep file for procfs. Currently only used for linux-style
...
/proc/cpuinfo (only active when procfs is mounted with -o linux).
For ports other than the i386 this currently produces an empty
string.
2001-01-17 00:07:18 +00:00
thorpej
d74e432ed3
Make softclock a generic soft interrupt of the API is available,
...
adding the requisite void * argument to softclock().
2001-01-15 20:19:50 +00:00
thorpej
45de366b2e
Rename __GENERIC_SOFT_INTERRUPTS to __HAVE_GENERIC_SOFT_INTERRUPTS,
...
and place the definition in <machine/types.h>. This can now be used
as a flag to indicate whether or not <machine/intr.h> can be included
to get the generic soft interrupt API.
2001-01-14 23:50:28 +00:00
thorpej
d85a75f583
Make sure everybody has an splvm() and equate it with splimp() (splimp()
...
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
matt
27980172f6
Add the types needed by the new locale code.
2001-01-13 03:48:26 +00:00
ragge
2987c0474d
Fixes from OpenBSD by Brandon Creighton. (bjc@openbsd.org)
...
Log message from OpenBSD:
> - add EMODD emulation (EMODF) -- this fixes modf() and some libm code
> on systems which don't have native EMODD (i.e., most of them)
>
> - big cleanup of the getval_* stuff - have one routine doing most of the work
> instead of four doing the same thing
>
> - add some miscellaneous routines -- count sig. bits
>
> - add more operand addressing modes (still not all fully implemented)
> both the existing POLYD and EMODD can use them
>
> - add me to copyright
>
2001-01-08 22:08:22 +00:00
takemura
c5fd828440
replace 'long long' with int64_t to compile stand alone program with
...
compiler other than GCC.
2001-01-03 10:08:55 +00:00
matt
4622cfafe0
Redefine the memset/memmove/bcopy/bzero/memset macros to use more agressive
...
constraints in their inline asm. Gcc generates much better code now.
2001-01-02 04:03:42 +00:00