Commit Graph

120 Commits

Author SHA1 Message Date
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
thorpej
639cc899cf Basic elf_machdep.h for m68k; doesn't include relocations, yet. 1998-07-12 01:17:58 +00:00
thorpej
1ea93eea1c Define one page free list, and put all pages on it. 1998-07-08 04:35:23 +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
leo
b8dad8ab1f Fix some severe bogons in the pci and isa interrupt system. 1998-05-25 10:42:21 +00:00
leo
ef7f50804b Add bus_space_{read,write}_region_stream_N functions. 1998-05-25 09:08:08 +00:00
leo
4eb4a78df8 Implement MACHINE_NEW_NONCONTIG. Implementation is based on Ignatios' amiga
implementation and Chuck's conversion description.
1998-05-07 07:25:51 +00:00
leo
bc9ebf17a7 Major overhaul of the atari bus_space implementation. 1998-04-10 08:19:53 +00:00
leo
0dd40d6952 Bus-dma implementation for the atari. Heavily based on the i386
implementation.
1998-03-10 11:42:53 +00:00
leo
c281cb0e23 Update Hades PCI support:
- Initialize the PCI bus and hand-out mem and i/o addresses. (there is
    still lots of room for improvements here...)
  - Implement the interupt functions
1998-02-19 16:16:51 +00:00
cgd
3bbb7f7d45 Move pmap_map() function definition to MD headers, as appropriate. It's
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
mycroft
b5c132e4d2 Prototype __flt_rounds() consistently. 1998-02-03 01:26:20 +00:00
leo
bb4f2f4ebe Add: bus_space_{read,write}_region_N() and bus_space_set_{multi,region}_N()
functions.
1998-01-16 09:17:48 +00:00
thorpej
61567b54de Garbage-collect pm_stchanged; it's not used by anything. 1998-01-06 07:02:58 +00:00
thorpej
d11b109f2b Garbage-collect use of the PCB's copy of the user segment table pointer. 1998-01-06 06:51:40 +00:00
thorpej
ab9b250a37 The user segment table pointer is no longer kept here. Change it to
a spare field.

XXX Should be changed to use generic m68k PCB!
1998-01-06 06:47:04 +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
dd966fca05 Change an argument name to PMAP_ACTIVATE() to more accurately describe the
semantics of the argument.
1998-01-01 20:05:23 +00:00
thorpej
287b63b321 - Make pmap_activate() and pmap_deactivate() take a struct proc *.
- Define active_user_pmap() and use it in the appropriate places (from hp300
  port).
1998-01-01 19:52:50 +00:00
is
a16fd7d74e Make these compile after m68k/m68k.h 1.4->1.5. 1997-10-26 21:41:34 +00:00
leo
6ecab62b97 VM_MAX_ADDRESS is the user max address -- adjust (From Chris Hopps). 1997-10-10 11:05:53 +00:00
jtc
324ce8d6cb Fix tipo inherited from old version of TNF copyright template. 1997-10-09 07:37:50 +00:00
leo
c5ba7a3102 Move the definition of MSGBUFSIZE up to the machine-arch level if
possible. Pointed out by Bernd Ernesti.
1997-09-20 12:06:37 +00:00
leo
d4713d24c2 Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
1997-09-19 13:52:37 +00:00
leo
571340263d Small readability update. 1997-09-15 11:08:38 +00:00
leo
225274f8b4 Add BUS_SPACE_MAP_* macro's. 1997-09-02 11:19:02 +00:00
leo
16bdafc3a5 Pull in Scott Reynolds' version of _splraise(). Also do a bit of typographic
cleanup while visting this file.
1997-08-29 19:47:52 +00:00
leo
ec7ce2c9f8 Isabus support. 1997-07-15 08:25:39 +00:00
leo
ce96a8a2e4 Implement bus_space_subregion() 1997-07-15 06:49:56 +00:00
perry
ad1710ce1e update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson 1997-07-12 16:18:36 +00:00
veego
1c599835b4 Restore the defines of UPAGES and NPTEPG. 1997-07-10 08:22:36 +00:00
leo
61d060feec Add the types for 'bus_dma_tag_t' and 'bus_dmamap_t'. While here, be a bit
more precise in using types of the bus_space* address arguments.
1997-06-25 12:06:10 +00:00
mrg
dc6a98e92c bring mrg-vm-swap2 onto mainilne. 1997-06-12 15:09:23 +00:00
kleink
c41a940888 GC obsolete MDP_AST flag. 1997-06-11 08:58:09 +00:00
veego
6304388ee4 The 'Mach derived conversion macros' are now in <m68k/param.h> 1997-06-10 18:47:21 +00:00
veego
011ba826e7 s/atari_btop/m68k_btop/ 1997-06-10 18:46:30 +00:00
veego
931d90fcee Use the MI <m68k/param.h> include. 1997-06-10 07:54:35 +00:00
leo
327cf04b4b Implement and use splraise(). 1997-06-05 19:38:16 +00:00
leo
37325cfb41 More stuff for handling an 68060. 1997-06-02 12:03:40 +00:00
thorpej
06e6038b3f regdump() is prototyped in <m68k/cpu.h> now 1997-04-09 19:46:04 +00:00
is
07b064e02e New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.

For the detailed change history, look at the commit log entries for
the is-newarp branch.
1997-03-15 18:09:08 +00:00
leo
b170f473ba Add bus_space_peek_[1248] functions. These can be used by match/probe
functions.
1997-03-03 12:28:20 +00:00
leo
2d43c4a079 Allow MCLSHIFT to be overridden by a config option. 1997-02-26 12:22:06 +00:00
leo
9324e8d0ed Move all spl-related stuff to the new file intr.h. The latter file also
contains some generic defines used by the drivers in dev/[pci|isa].
1997-02-26 12:18:50 +00:00
fvdl
115b6d92fa Define ALIGNED_POINTER 1997-02-24 23:16:53 +00:00
perry
19d153fc48 Nuke some options GENERIC residue. 1997-02-04 04:57:10 +00:00
leo
eaf90deff5 Fix typo's in last commit. 1997-01-27 10:18:33 +00:00
leo
4a5570d41e Make MCLBYTES 2K. 1997-01-27 07:58:09 +00:00
leo
7145c74ac3 Change the type of bus_space_tag_t.
Add the bus_space_(read|write)* functions.
1997-01-27 07:57:12 +00:00