sakamoto
f93507970d
Use powerpc/reg.h
1999-06-22 01:39:43 +00:00
sakamoto
ade7d52fc9
Use powerpc/pmap.h.
1999-06-22 01:38:38 +00:00
cgd
7c02d93c04
nuke current definitions provided by __BUS_SPACE_COMPAT_OLDDEFS.
...
I'll do what I can to make new ones soon. 8-)
1999-06-18 04:49:24 +00:00
thorpej
0288ffb53a
pmap_change_wiring() -> pmap_unwire().
1999-06-17 19:23:20 +00:00
ws
5423093850
Modify syncicache on PowerPC from an inline to a real function.
...
Support different cache line sizes with the same object code in userland.
While here, move the function to implementation name space.
1999-04-17 21:16:45 +00:00
thorpej
e49833cd68
Now that we have direct-mapped pool pages, we can garbage-collect VM_MBUF_SIZE
...
and don't need to allocate mb_map.
1999-04-16 21:47:11 +00:00
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
thorpej
63b6321834
VM_MBUF_SIZE is in terms of MCLBYTES, not CLBYTES.
1999-03-23 00:31:59 +00:00
cgd
a4033465f4
Moved from arch/bebox/isa/isa_machdep.h,v
1999-03-19 05:02:02 +00:00
cgd
99633b3ef3
Moved from arch/bebox/pci/pci_machdep.h,v
1999-03-19 03:36:06 +00:00
cgd
0af0341ff6
Moved from arch/bebox/isa/isapnp_machdep.h,v
1999-03-19 03:18:33 +00:00
thorpej
cb8268a3a5
Use <sys/disklabel_mbr.h>.
1999-01-27 21:00:05 +00:00
chuck
32244a5a1a
MNN is now the default
1999-01-16 20:13:17 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
sakamoto
0bba7a7eca
Not used.
1998-12-04 00:17:49 +00:00
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
thorpej
ffa392cb7e
asm volatile -> __asm__ __volatile
1997-11-05 00:38:37 +00:00
thorpej
4730a8cbec
Bug fixes and cleanup from Chris Demetriou <cgd@pa.dec.com>:
...
- fix _C_LABEL so that it actually works.
- make __RENAME use _C_LABEL.
- fix __RENAME so that it expects an unquoted argument.
- fix __indr_reference and __warn_references so that they
supply their own final semicolon.
- define __warn_references to nothing if not GNU C (required
by the way it's used).
The __warn_references semicolon change has to be made
so that __warn_references can be defined into nothing.
(A ; all by itself isn't a great idea.) The __indr_reference
change was made for consistency.
1997-11-04 23:09:23 +00:00
thorpej
665f7d1a6e
Implement __RENAME() in <machine/cdefs.h>
1997-10-22 05:20:32 +00:00
sakamoto
8d05d254cd
__VM_PMAP_HACK delete.
...
if_ed and lpt temporary support.
1997-10-16 01:55:21 +00:00
sakamoto
fe3d055d41
Initial commit of NetBSD/bebox port.
1997-10-14 06:47:17 +00:00