Commit Graph

41814 Commits

Author SHA1 Message Date
minoura
7c055d6a62 Added /usr/share/keymaps/x68k for x68k ITE keymaps. 1998-08-04 16:38:39 +00:00
mark
47ac4421e0 In setregs(), only pass the stack value in r12 if COMPAT_1[123] is defined. 1998-08-04 16:25:28 +00:00
mark
4b14908352 Fix the validation of source addresses in db_read_bytes() so that
memory ranges mapped with L1 section mappings do not cause aborts
due to lack of L2 page table.
1998-08-04 16:19:54 +00:00
minoura
03983ab31f Changed the console terminal type to x68k. 1998-08-04 16:19:34 +00:00
mark
e9c872cd6b Define a macro L1_MASK to mask out the level 1 pde type bits. 1998-08-04 16:16:22 +00:00
minoura
aced90770c Message fixes. 1998-08-04 16:10:45 +00:00
minoura
233cd5d60b RB_POWERDOWN is now supported.
Check if the power switch is open (off) in the shutdown_hook,
and try removing the power in cpu_reboot.
poffd default action is now shutdown -p.
1998-08-04 16:07:53 +00:00
augustss
f76fb48283 Use looping DMA for play channel.
More cleanup.
1998-08-04 13:14:42 +00:00
kleink
c6ef57702d UIO_MAXIOV -> IOV_MAX 1998-08-04 12:19:15 +00:00
drochner
1767a286ec -fix some lint warnings
-fix overflow conditions (PR bin/5534, Zdenek Salvet <salvet@ics.muni.cz>)
 (+ one more: can VAX SMD drives be >4G?)
-fix output of "*" at odd end cylinder number (not odd size)
-break some lines >80 cols
1998-08-04 11:52:52 +00:00
augustss
5b057ab09f Allow option AUDIO_INTR_TIME even if the platform does not support
FP in the kernel.
1998-08-04 11:26:14 +00:00
kleink
3dc1e8147c Kill "options FIFO" - they're mandatory now. 1998-08-04 11:19:02 +00:00
perry
242ff31b91 update bzero.c to stub from libc/string 1998-08-04 06:27:08 +00:00
perry
2ea077b77c switch bzero to version in memset.c.
bzero.c is now a "#define BZERO//#include memset.c" type file.
Remove comment from Makefile about the fact that this is on the todo list.
1998-08-04 06:25:10 +00:00
perry
1801e92fce add strchr.c, strrchr.c, memmove.c, memcpy.c, to KSRC for copy to libkern. 1998-08-04 05:55:56 +00:00
perry
974739923b replace several special targets with stub .c files, as in libc/string 1998-08-04 05:01:58 +00:00
perry
8079ec33a6 Replace complicated and ugly makefile gook to make memmove,memcpy by
-Ding the bcopy.c source (and similarly strchr from index.c, strrchr
from rindex.c) with stub .c files for memmove, memcpy, strchr and
strrchr that simply #define the appropriate thing and #include the
appropriate .c file. Inspired by the way many m-d .S files handle the
same thing. This radically simplifies the Makefile.inc for libc/string
(and libkern).
1998-08-04 04:48:16 +00:00
mikel
f48c684893 handle negative arguments correctly 1998-08-04 04:33:15 +00:00
lukem
55c8240d52 add /usr/pkg/sbin:/usr/pkg/bin to (commented out) PATH entry 1998-08-04 04:09:05 +00:00
perry
275d1554aa Abolition of bcopy, ovbcopy, bcmp, and bzero, phase one.
bcopy(x, y, z) ->  memcpy(y, x, z)
ovbcopy(x, y, z) -> memmove(y, x, z)
   bcmp(x, y, z) ->  memcmp(x, y, z)
  bzero(x, y)    ->  memset(x, 0, y)
1998-08-04 04:03:10 +00:00
perry
4d4aa090e9 add memcmp.c 1998-08-04 03:40:43 +00:00
perry
16039920c8 remove memcpy.c -- I forgot this gets built anyway 1998-08-04 03:40:12 +00:00
perry
612c53d05f add memcmp.c 1998-08-04 03:39:49 +00:00
perry
0b8f8ffda2 remove memmove.c -- I forgot this gets built anyway 1998-08-04 03:38:28 +00:00
perry
58af7a969a add memcmp.c memcpy.c memmove.c 1998-08-04 03:37:03 +00:00
perry
a611b37e29 add memcmp.S memmove.S 1998-08-04 03:35:59 +00:00
perry
c6300798a1 add memcmp.S 1998-08-04 03:35:32 +00:00
lukem
69761d6f64 cleaner version of fvdl's previous fix, using xstrdup as well 1998-08-04 03:35:24 +00:00
perry
6ee9cbf929 add memcmp.S memmove.S 1998-08-04 03:30:30 +00:00
perry
5ede68eddb add memcmp.c memmove.S 1998-08-04 03:17:39 +00:00
perry
e0f41ebe62 add memmove.S 1998-08-04 03:16:19 +00:00
mark
ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
mark
d91830b032 Namespace cleanup. Prefix all the JMPBUF* macros with _JB. 1998-08-04 02:01:17 +00:00
perry
542f66b672 add memmove.S 1998-08-04 01:41:26 +00:00
perry
6ea886d397 add memcmp.S 1998-08-04 01:40:57 +00:00
perry
2cc5ae3efa add memcmp.S to libkern. 1998-08-04 01:35:57 +00:00
perry
73e9c49b2b add memmove.S to libkern. 1998-08-04 01:24:59 +00:00
perry
a8627d22ba Fix formatting, and add memmove.S 1998-08-04 01:14:36 +00:00
perry
534fb67f27 fix silly comment typo 1998-08-03 20:32:48 +00:00
fvdl
14f785118c Avoid using freed memory when using URLs and a proxy. 1998-08-03 19:10:29 +00:00
kleink
3d9b4a4320 Fix two off-by-one bugs, both present in each recvmsg(2) and sendmsg(2):
* the first one would cause an unnecessary malloc() of iovec storage for
  a msg_iovlen of UIO_SMALLIOV although the required amount of memory has
  been allocated on the stack.
* the second one would cause a recvmsg() or sendmsg() with a msg_iovlen of
  UIO_MAXIOV to fail with EMSGSIZE, which is also a violation of XNS5.
1998-08-03 15:15:58 +00:00
kleink
c68582d64b UIO_MAXIOV -> IOV_MAX 1998-08-03 15:01:00 +00:00
kleink
5057faa688 Add support to query _POSIX_SYNCHRONIZED_IO, _POSIX_SYNC_IO and IOV_MAX;
rearrange the table a bit.
1998-08-03 14:48:40 +00:00
kleink
22384accd7 Add support for _SC_SYNCHRONIZED_IO and _SC_IOV_MAX. Rearrange documentation
a bit, and actually document _SC_XOPEN_SHM.
1998-08-03 14:41:21 +00:00
kleink
5404ba4886 Add support to query the
* availability of POSIX Synchronized I/O (kern.synchronized_io),
* maximum number of iovec structures to be used in readv(2) etc. (kern.iov_max)
via sysctl().
1998-08-03 14:38:20 +00:00
kleink
5cc8c171be Per XSH5, define _XOPEN_IOV_MAX. 1998-08-03 14:32:04 +00:00
kleink
93897b8303 Per XSH5, define IOV_MAX which is provided via <limits.h>, and declare
UIO_MAXIOV deprecated.
1998-08-03 14:27:50 +00:00
kleink
af261318d9 Now that we have it, add a conversion for _PC_SYNC_IO. 1998-08-03 14:23:30 +00:00
kleink
12a866151b Recognize _PC_SYNC_IO. 1998-08-03 14:19:57 +00:00
kleink
d2753d235a Add _POSIX_SYNCHRONIZED_IO, _SC_SYNCHRONIZED_IO, _SC_IOV_MAX and _PC_SYNC_IO.
Fix a typo.
1998-08-03 14:16:04 +00:00