Commit Graph

55 Commits

Author SHA1 Message Date
thorpej 10557b15d7 Add a private bounce threshold to the DMA map, initialized in a bus-dependent
fashion.
1998-10-03 21:24:00 +00:00
christos 449820f2ea Assign copyright to TNF. 1998-09-05 15:28:04 +00:00
sakamoto 67d65cd631 Sync with i386/include/bus.h. 1998-09-01 05:57:23 +00:00
sakamoto 0bbf57d7ec Eliminate ovbcopy define. 1998-09-01 05:55:14 +00:00
sakamoto 62ed825858 vm_offset_t --> [pv]addr_t. 1998-08-24 01:40:26 +00:00
mycroft 6dc903202f Assign my copyrights to TNF. 1998-08-15 10:10:47 +00:00
is 6054d626f9 Switching dev/ic/lpt.c to use spllpt() instead of spltty(). It doesn't use
tty structures, and on some machines (namely the DraCo internal lpt, and some
multi-i/o boards for Amigas and DraCos), tying spltty to the pretty high printer
interupt level would hurt serial performance.

On all affected ports but Amiga, spllpt() has been defined in machine/intr.h
to be spltty(), thus preserving old behaviour. Portmasters are encouraged to
change is, if they feel something else is better (e.g., one of its own were
possible).
1998-07-18 21:27:25 +00:00
thorpej 8f2575ec87 Use fixed-size types. 1998-07-07 04:29:42 +00:00
cgd 651b44e211 Rework the way kernel include files are installed. In the new method,
as with user-land programs, include files are installed by each directory
in the tree that has includes to install.  (This allows more flexibility
as to what gets installed, makes 'partial installs' easier, and gives us
more options as to which machines' includes get installed at any given
time.)  The old SYS_INCLUDES={symlinks,copies} behaviours are _both_
still supported, though at least one bug in the 'symlinks' case is
fixed by this change.  Include files can't be build before installation,
so directories that have includes as targets (e.g. dev/pci) have to move
those targets into a different Makefile.
1998-06-12 23:22:30 +00:00
sakamoto 949c52c154 add address conversion macro for MPC105 and some fix. 1998-06-09 05:53:30 +00:00
sakamoto 040581ceed Add UVM support. 1998-06-09 05:41:19 +00:00
thorpej 28486ff301 Remove the _cookie member of the DMA tag; it's not used by anything. (This
was already done to the i386 port.)
1998-06-03 06:47:41 +00:00
thorpej b5c2ecc231 Sync w/ i386 port:
Add a `bounce threshold' to the i386 DMA tag.
1998-06-03 06:40:45 +00:00
sakamoto 45439ad32b Use new PowerPC-generic stuff(sys/arch/powerpc). 1998-05-28 08:44:56 +00:00
kleink a97fc2f180 If any of _ANSI_SOURCE, _POSIX_C_SOURCE or _XOPEN_SOURCE are defined, don't
provide any identifiers other than sig_atomic_t.
1998-05-25 20:59:01 +00:00
thorpej 1686aca01d Pull in opt_gateway.h as appropriate. 1998-04-29 23:11:00 +00:00
kleink a53c1863fe Provide definitions for intptr_t and uintptr_t, signed resp. unsigned integral
types large enough to hold any pointer.
1998-04-27 17:39:10 +00:00
drochner f44d3a08e5 "spkr" is now MI. Keep this file for compatibility. 1998-04-15 21:53:47 +00:00
drochner abce54eaa2 spkr stuff is now in sys/conf.h 1998-04-15 21:48:51 +00:00
sakamoto a81efa33bc tell drivers that this port knows about the new wscons code
(and generates the NWSCONS etc include files)
1998-03-26 23:42:53 +00:00
sakamoto 3334a0d040 Add bus_space_copy_region_N(). 1998-03-26 23:41:51 +00:00
mycroft 2e55db84dd Sync with powerpc/include/vmparam.h; removes some things which are not used. 1998-02-18 11:11:24 +00:00
mycroft 3b9429b248 Minor changes to make all the float.h files match. 1998-02-18 11:01:27 +00:00
sakamoto eef219fd43 Sync with powerpc/include/endian.h 1998-02-12 01:28:48 +00:00
sakamoto 4a3839dbdd Sync with powerpc/include/ansi.h 1998-02-12 01:21:10 +00:00
sakamoto a2b24d5571 Change "__BUS_SPACE_NEED_STREAM_METHODS" to "__BUS_SPACE_HAS_STREAM_METHODS". 1998-02-04 14:13:40 +00:00
thorpej 8abe76d2f0 Add offset and length parameters to bus_dmamap_sync(), used for specifiying
partial syncs of a DMA mapping.
1998-02-04 05:12:46 +00:00
thorpej 99cc8482d1 Change the last argument of bus_dmamap_sync() from bus_dmasync_op_t to int,
and allow more than one synchronization operation to be specified in
a single call.  Dissallow mixing of PRE and POST operations.
1998-02-04 01:57:27 +00:00
thorpej a7c5c1ef3c Add dm_mapsize to bus_dmamap_t and rename BUS_DMAMEM_NOSYNC to
BUS_DMA_COHERENT.
1998-02-04 00:32:55 +00:00
sakamoto 484f3e93b1 Correct copyright notice. 1998-02-03 07:00:34 +00:00
sakamoto cf5d09dc82 Add bus_space_{read,write,set}_{,multi,region}_stream_{2,4,8}().
These methods would be used where "raw" data needs to
{read,write,set} unchanged.
Add define __BUS_SPACE_NEED_STREAM_METHODS.
1998-02-03 03:11:15 +00:00
sakamoto 7026df0613 remove unnecessary cast. 1998-02-03 03:10:24 +00:00
mycroft b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
sakamoto d5e690b8b7 Eliminate __BROKEN_INDIRECT_CONFIG 1998-02-02 05:54:20 +00:00
sakamoto 7bffb69b4c Add btinfo_clock for BUS FREQ information.
some fix.
1998-01-19 02:52:02 +00:00
sakamoto ea7c4f2cab Data structures passed from the boot loader to the kernel 1998-01-16 04:04:14 +00:00
sakamoto 38efb3ac5f add The Be interrupt controller setmask function(bebox_intr_mask).
change SINT_TTY to SINT_SERIAL
       splsofttty to splsoftserial, and so on.
1998-01-12 04:57:10 +00:00
perry 6f57e5c573 multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom) 1998-01-09 22:23:44 +00:00
perry 015e898c02 RCSID Police. 1998-01-05 07:02:46 +00:00
thorpej b9f1b716f3 Now that all ports have pmap_activate(), and it has an identical interface,
prototype it in <vm/pmap.h>
1998-01-03 01:12:59 +00:00
thorpej c162e92a71 Implement pmap_activate(). 1998-01-02 22:17:18 +00:00
sakamoto 15dd19ea29 use pmap.c of port-powerpc.
mem_regions support.
1997-12-18 09:07:58 +00:00
sakamoto caa702438d add bus_space_{read,write}_multi_N macros
some fix.
1997-12-12 03:08:28 +00:00
sakamoto 4a0b2d1b52 fix wrong variable declaration 1997-12-11 09:31:00 +00:00
sakamoto cddd6a97bc add ins/outs macros 1997-12-11 09:23:54 +00:00
sakamoto 8bdb67652b change order of interrupt description bit 1997-12-11 09:04:23 +00:00
sakamoto e9be44bb8d add bus_space_subregion macro. 1997-12-01 07:11:34 +00:00
sakamoto 972dc0b4d6 remove/import software interrupt model and external interrupt handler
from OpenBSD/powerpc.
move bus_space_* from bus_machdep.c to bus.h.
1997-11-27 10:17:45 +00:00
kleink 66c2794142 Add _BSD_SUSECONDS_T_ and _BSD_USECONDS_T_; do some space vs. tab formatting
cleanup
1997-11-23 20:20:53 +00:00
thorpej 0b04d28454 Mark uses of long long with /* LONGLONG */ for lint. From
Chris Demetriou <cgd@pa.dec.com>.
1997-11-05 04:36:08 +00:00