Commit Graph

24299 Commits

Author SHA1 Message Date
minoura ea7f1dbe36 Some files were not deleted with make clean.
Keymap files are now installed in /usr/share/keymaps/x68k.
1998-08-04 16:39:55 +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
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
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 974739923b replace several special targets with stub .c files, as in libc/string 1998-08-04 05:01:58 +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 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 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 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
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 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 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
leo 5429ccda94 Pass the dma_tag to _bus_dmamap_load_buffer. 1998-08-03 13:09:01 +00:00
thorpej 1b58f59205 Add IFM_10_FL - 10baseFL (fiber) 1998-08-03 12:42:26 +00:00
augustss ac2b25e392 Improve some error messages.
Make some preparations for isochronous transfers.
1998-08-02 22:30:52 +00:00
augustss 607075abc6 Use wskbd enable function. 1998-08-02 22:27:01 +00:00
mark 70fe6c76a1 Pass ps_strings in r0 when execing processes.
Use macros rather than absolute values in zero_page_read*() functions.
1998-08-02 21:50:31 +00:00
kleink 005ae749a7 Oops, make a sentence added in previous commit parseable. 1998-08-02 19:42:35 +00:00
nathanw e719e2f606 Bump version to 1.3G:
- mbuf interface change from poolification (removal of m_clalloc).
 - vnode IO_SYNC/IO_DSYNC interface change.
1998-08-02 19:19:11 +00:00
thorpej 85b7cfc8c3 Make sure we initialize pr_nidle. 1998-08-02 19:07:47 +00:00
kleink 933111f98f Implement support for IEEE Std 1003.1b-1993 synchronous I/O:
* in the read vnode operator, check for IO_SYNC being set in the ioflag and
  synchronously update the file's meta-data if appropriate.
* in the write vnode operator, update the appropriate checks for IO_SYNC being
  set in the ioflag to reflect that IO_DSYNC is now inclusive-or'ed into
  IO_SYNC, and require all IO_SYNC bits to be set for operations defined by
  synchronized I/O file integrity completion but not by synchronized I/O data
  integrity completion.
1998-08-02 18:57:23 +00:00
kleink b7877d3fc0 Implement support for IEEE Std 1003.1b-1993 syncronous I/O:
* if synchronized I/O file integrity completion of read operations was
  requested, set IO_SYNC in the ioflag passed to the read vnode operator.
* if synchronized I/O data integrity completion of write operations was
  requested, set IO_DSYNC in the ioflag passed to the write vnode operator.
1998-08-02 18:39:14 +00:00
kleink d8b09acbf7 Per IEEE Std 1003.1b-1993, Synchronous I/O Option, add O_DSYNC (synchronized
I/O data integrity completion) and O_RSYNC (complete read operations at the
same level of integrity requested for write operations).
1998-08-02 18:31:09 +00:00
kleink 5e466df173 Add a new I/O flag, IO_DSYNC, which requests the operation do to synchronized
I/O data integrity completion and change IO_SYNC (synchronized I/O file
integrity completion) do inclusive-or it, since it's a superset of the former.
1998-08-02 18:26:30 +00:00
sommerfe 6ee9772e54 Fix PR5898: ppp delays last packet. 1998-08-02 15:09:50 +00:00
drochner 0dc548ce7d Adapt to wskbd interface changes; add dummy enable/disable function. 1998-08-02 14:22:25 +00:00
drochner 86b0985e69 Adapt to wskbd interface changes; implement enable/disable function.
Disable the keyboard on attach if not console.
1998-08-02 14:21:02 +00:00
drochner 4ee71fe4f4 Split the wskbd_attach arguments into console and autoconfiguration parts
(again); put some constant data into shared structures. This makes it
more look like the mouse part, and it helps USB integration.
Implement wskbd_enable() to enable/disable the keyboard.
1998-08-02 14:18:07 +00:00
thorpej a4c7bab10e Use the pool allocator for sockets. 1998-08-02 04:53:11 +00:00
thorpej 0e28b643e9 Use a pool for proc structures. 1998-08-02 04:41:32 +00:00
thorpej 6f739e1a66 Fix a braino in the idle page instrumentation. 1998-08-02 04:34:46 +00:00
thorpej 833061914a Use the pool allocator for tcpcbs. 1998-08-02 00:36:19 +00:00
thorpej d319e4b419 Use the pool allocator for syn_cache entries. 1998-08-02 00:35:51 +00:00
thorpej 47e9dcf841 Use the pool allocator for inpcbs. 1998-08-02 00:35:31 +00:00
thorpej 7c61b8cdd8 Instrument "idle pages" (i.e. pages which have no items allocated from
them, and could thus be freed back to the system).
1998-08-01 23:44:20 +00:00
thorpej bf8f319d0e Remove some lint. 1998-08-01 21:12:32 +00:00
augustss eba74b9369 Abort interrupt pipe on disconnect. 1998-08-01 20:52:45 +00:00
thorpej 8eeb95fce4 Implement pci_intr_disestablish(). 1998-08-01 20:25:12 +00:00
augustss 6aff95b06c Make sure to abort the interrupt pipe on disconnect of a mouse or keyboard.
Improve some error messages.
1998-08-01 20:11:38 +00:00
thorpej 92fa3a68ad In sio_intr_disestablish, also make sure that IRQs 0, 1, 8, and 13
default to edge-triggered, just like in the setup.
1998-08-01 19:38:29 +00:00
thorpej 0b60fda7c8 Implement sio_intr_disestablish(), and ensure that an initially-enabled
interrupt is never disabled and an initially-level-triggered interrupt
never becomes untyped.
1998-08-01 18:54:21 +00:00
thorpej 528dab6808 Implement alpha_shared_intr_disestablish(). Simply removes the handler
fromthe list, allowing the caller to manipulate the sharing type,
if appropriate.
1998-08-01 18:52:36 +00:00
augustss f654e0188e Switch from a global flag to tell if the host controller should use
polling to a local one for each controller.
1998-08-01 18:16:19 +00:00
augustss 5a1f4dd6bc Complete the scancode conversion table.
Tell the keyboard not to send idle reports.
1998-08-01 17:46:22 +00:00
scw aec399e36f Changes to keep lint happy.
In particular, fix some Makefiles so the include
paths are passed to lint.
1998-08-01 11:22:51 +00:00
thorpej 3c658f1f41 Don't call the protocol drain routines if how == M_NOWAIT, which typically
means we're in interrupt context.  Since we can be called from a network
hardware interrupt, we could corrupt the protocol queues we try to drain
them at that time.
1998-08-01 01:47:24 +00:00
thorpej 45d17e02f7 We need to be able to specify a uvm_object to the pool page allocator, too. 1998-08-01 01:39:03 +00:00
thorpej c56c24f4fd Initialize the mbuf allocator _before_ autoconfiguration; it might be
called when devices attach, take two.

Note that it is necessary that mbinit() NOT allocate memory, since it
is called before mb_map is created.  This is not a problem with the
pool allocator that is now used for mbufs and mbuf clusters.
1998-08-01 01:36:35 +00:00
thorpej e7521693c1 Use the pool allocator for mbufs and mbufs clusters (two pools, one for
each).  Partially from pk@netbsd.org.
1998-08-01 01:35:20 +00:00
thorpej e8b92fa131 Oops, back out previous. I need to attack that problem differently. 1998-08-01 01:20:43 +00:00
augustss ce69d417a2 Make it compile without DIAGNOSTIC 1998-07-31 23:54:09 +00:00
perry 2b8a659f68 make libkern build memmove() properly 1998-07-31 23:44:41 +00:00
perry 730baa7431 fix sizeofs so they comply with the KNF style guide. yes, it is pedantic. 1998-07-31 22:50:48 +00:00
pk 6c727e1651 dvma_malloc(), dvma_mapin() and dvma_mapout() are gone; all drivers
the use bus_dma(9) interface now.
1998-07-31 22:35:07 +00:00
pk 359cf8c23d Move `dvma_cachealign' here from vm_machdep.c 1998-07-31 22:23:30 +00:00
pk a0818b4b8b Use bus_dmamem_alloc/bus_dmamem_map. 1998-07-31 22:21:35 +00:00
thorpej 17e88cf50e Initialize the mbuf allocator _before_ autoconfiguration; it might be
called when devices attach.
1998-07-31 21:59:55 +00:00
thorpej fe7696eacb Un-static pool_head; vmstat wants to find it. 1998-07-31 21:55:09 +00:00
thorpej 55bf1fd9ad Allow an alternate splimp-protected map to be specified in the pool page
allocator routines.
1998-07-31 20:46:36 +00:00
mjacob 6e34b79e01 Suggestion from Matthias Drochner: If at close you decide to write
filemark 'coz you opened write only and didn't do anything else,
call st_check_eod to possibly write TWO furshlugginer filemarks.

Also- return any errors from writing filemarks out of stclose.
1998-07-31 17:25:55 +00:00
thorpej 0869d8f714 Blargh, deal with some fallout from the ISA PnP goo, this will go away once
we can pull in files.isa properly.
1998-07-31 16:42:01 +00:00
pk 519f1f7f0e Convert to bus dma. 1998-07-31 15:53:11 +00:00
kleink 17de9df6c1 Reject an iovcnt argument of 0 to readv(), writev(), preadv() and pwritev()
as invalid.  This has been stated by the respective manual pages at least
since Net/2, and is the behaviour specified by XSH5.
1998-07-31 15:38:58 +00:00
ross 22554e01a9 Following discussions with eeh and mrg, change most of these types so
that they should make an ILP32 setup with an ILP32 compiler and an LP64
setup if run through an LP64 compiler. None of the data sizes actually
change right now, and any type errors that show up would have to be fixed
eventually anyway.
1998-07-31 15:30:40 +00:00
augustss 6b407a79c6 Major cleanup of the ESS driver. It now sorta works. More to come. 1998-07-31 15:17:17 +00:00
mycroft a24dbc8065 (Always) (practice) (safe) (macro expansion). 1998-07-31 15:07:41 +00:00
pk c206cad36e Convert to bus_dma. 1998-07-31 12:45:48 +00:00
thorpej 53878c1925 Change one word to be consistent w/ a previous message. 1998-07-31 05:37:02 +00:00
thorpej 99d64ae1ca Oops, unused variable. 1998-07-31 05:29:48 +00:00
thorpej 4ea9132164 Rearrange isapnp_callback() slightly. 1998-07-31 05:28:24 +00:00
thorpej c489673819 Ensure we're probed only once per ISA bus. 1998-07-31 05:26:15 +00:00
wrstuden 06761b1ed4 Merge in a register definition mentioned only in passing in one place in
the Zilog docs.
1998-07-31 05:08:38 +00:00
thorpej 6ec566abd2 Add BeBox support. 1998-07-31 04:56:55 +00:00
thorpej 46c7e2fa53 ISA PnP goo. 1998-07-31 04:55:30 +00:00
thorpej 2e33e4c2fa First-cut support for ISA PnP for NetBSD/bebox. 1998-07-31 04:54:38 +00:00
thorpej c46ad7a0cc Add NetBSD/arm32 support. 1998-07-31 04:50:54 +00:00
thorpej 29ad6dac50 ISA PnP goo. 1998-07-31 04:50:01 +00:00
thorpej 6f3b1afe37 First-cut ISA PnP support for NetBSD/arm32. 1998-07-31 04:48:42 +00:00