thorpej
52a2804a5c
Add a new function call to the ISA DMA API: isa_dmamaxsize(), which returns
...
the maximum transfer size for the specified DMA channel. Make all clients
of ISA DMA use this call to determine their maximum transfer size.
2000-02-07 22:07:27 +00:00
jdc
be5d89da1a
Add definition for default swap partition (libahdi uses this).
2000-02-05 21:14:55 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
tsutsui
b0fbaa33fb
Remove obsoleted macros.
2000-01-26 09:44:10 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
leo
4911054546
Allow storage-space to be passed to the alloc_bus_space_tag() functions. This
...
permits static tags to be used during early console init.
2000-01-19 13:12:54 +00:00
leo
a93741b5c7
Determine the default floppy type on the TT/Falcon by reading the config
...
switches. (Thanks to Michael Schwingen for the missing bits of information!).
2000-01-06 12:14:33 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
leo
ef4d7a827f
Change the copy_region function to shutup gcc's unused warnings in some
...
cases. Use the bus_space_tag without doing something useful... (idea from
Matthias Drochner).
1999-12-13 15:40:28 +00:00
leo
c9457413cb
Implement an allocator for VA-space using fixed extent maps. It is now
...
possible to allocate VA-space before uvm is initialized.
1999-12-06 16:06:24 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
kleink
1c2019b5a8
Rip protection against multiple inclusion from wrapper headers.
1999-11-09 21:34:03 +00:00
leo
4c4e4258e2
Use extent maps.
1999-10-28 13:38:35 +00:00
leo
64f9129eff
Add prototype of isa_intr_alloc().
1999-10-21 15:32:08 +00:00
leo
313488aee7
Reverse the order in which PCI cards are scanned. Now the order matches the
...
TOS-scan order. This causes TOS & NetBSD to use the same video card on
a system with multiple VGA cards.
1999-09-22 07:15:43 +00:00
mycroft
c3e1f6741d
A foolish consistency.
1999-08-30 18:58:01 +00:00
simonb
06a92524c2
Include <sys/bswap.h> for function prototypes. i386, pc532 and vax
...
still include <machine/byte_swap.h> and define macros for some of
the bswap*() functions.
1999-08-21 05:39:51 +00:00
leo
d7601eb1b1
Correct the argument order for memcpy(). This tremendously improves the
...
behaviour of wscons.... (Why did history create both bcopy & memcpy?)
1999-08-14 20:48:33 +00:00
thorpej
28fb7c1eb8
Define cpu_number() as discussed on tech-smp.
1999-08-10 21:08:05 +00:00
thorpej
eb20bbc780
Change the semantics of splsoftclock() to be like other spl*() functions,
...
that is priority is rasied. Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.
This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).
XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX. This platforms still have this bug until their
XXX spl*() functions are fixed.
1999-08-05 18:08:08 +00:00
kleink
e1529b8f93
Pull in the right generic m68k header. (Where was my mind?)
1999-04-29 14:38:39 +00:00
thorpej
b8073b401b
Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
...
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
kleink
ed74932033
Add COMPAT_SVR4 for m68k.
1999-04-19 21:22:56 +00:00
leo
98732be4ba
Export mtpr.h :-( This is because cpu.h depends on it. Probably userland
...
should not need cpu.h...
1999-03-31 10:48:00 +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
cgd
3f10df3001
Moved from arch/atari/isa/isa_machdep.h,v
1999-03-19 05:01:57 +00:00
cgd
bd032fb46a
Moved from arch/atari/pci/pci_machdep.h,v
1999-03-19 03:35:58 +00:00
cgd
096f58d900
Moved from arch/atari/isa/isapnp_machdep.h,v
1999-03-19 03:18:00 +00:00
minoura
e518820ca8
Pullin m68k/ieee.h.
1999-03-15 11:55:53 +00:00
leo
206c18b1cb
Dump max. datasize (MAXDSIZ) to 64MB and decouple the maximum stack size
...
(MAXSSIZ) from the MAXDSIZ.
1999-03-03 16:25:01 +00:00
is
f71d843a65
synchronize types, and s/curproc/p/ in one forgotten place
1999-02-26 22:37:57 +00:00
is
84971e3a6f
mac68k part of pr 6152 fix, and missing bits for the others
1999-02-25 23:13:39 +00:00
is
7cf63be6cb
Atari part of fix for pr 6152
1999-02-25 22:47:18 +00:00
mycroft
3e6e3322d8
Format consistency.
1999-01-24 12:56:51 +00:00
mycroft
082204fa3d
Standardize format.
1999-01-22 14:12:07 +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
leo
be84171b70
Make the abs_copy functions usable. The previous implementation caused
...
kernel "jump to zero" panics....
1999-01-08 09:25:33 +00:00
thomas
75c4b3bf70
Changed grf mmap that it is closer to XFree. VGA memory on et4000/et6000
...
is now at offset 0xa0000.
1998-12-20 14:32:34 +00:00
leo
7cce2beefa
Fix the __abs_copy() macro (wrong parameters to __abs_opname).
1998-12-01 15:32:28 +00:00
leo
dee282eb12
You also need intr.h, psl.h, pte.h and vmparam.h to build the world...
1998-11-24 15:16:48 +00:00
leo
c9971df573
Follow the amiga vmparam.h, from Ignatios:
...
Yet another workaround for pmap bugs. Several reports on the port-amiga
list claim this helps with some big-machine situations.
1998-11-20 13:01:12 +00:00
thorpej
49c62c4336
Changes to support fork_kthread():
...
- cpu_set_kpc() now takes void *arg third argument, passed to the
entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:41:23 +00:00
thorpej
b38544d99e
Oops, back out a buglet I didn't intend to commit in the last change.
1998-10-07 18:29:26 +00:00
thorpej
d681cf055a
configure() prototype is in <sys/device.h>
1998-10-06 20:50:15 +00:00
thorpej
5006dbf868
cpu_set_kpc() prototype is already in <sys/systm.h>.
1998-10-05 22:11:15 +00:00
mycroft
7b15b3b56d
Minor change.
1998-09-13 12:01:41 +00:00
leo
fcfae9e5df
Get rid of vm_offset_t/vm_size_t
1998-09-02 14:58:01 +00:00
leo
a3b886d834
Reorganize installation if include files. Nuke some from atari/include as
...
they make no sense out of the kernel add some from atari/dev (ioctl's).
1998-09-02 10:59:14 +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
veego
1b46ebe1d9
Add elf_machdep.h to the INCS list.
1998-07-12 17:53:29 +00:00