mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
scottr
5b4a54759d
Conform to spec, and make bus_space_copy() handle overlapping copies.
...
From Jason Thorpe.
1998-01-13 18:32:15 +00:00
perry
6f57e5c573
multiple include protect machine/limits.h, fixes pr 4473 (from Mika Nystrom)
1998-01-09 22:23:44 +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
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
briggs
c1ed70f0d8
NetBSD RCSIds.
1997-11-07 13:31:15 +00:00
scottr
13fa4227b1
Update from John Wittkoski: bug fixes for Cuda support.
1997-11-07 07:33:11 +00:00
ender
e38a307461
Recognize Apple Standard Keyboard (ISO layout)
1997-11-05 08:21:47 +00:00
briggs
e658b8b476
Add in the if_mc ethernet driver for the AMD "MACE" part. This is the
...
internal ethernet on the Quadra/Centris 660av/840av.
Add initial support for the PSC (DMA controller) to support the above
(DMA SCSI remains unsupported). This involved also changing the way
that several interrupts are handled.
Above from David Huang <khym@bga.com>
Since the interrupts changed somewhat, we must also make the ipls
dynamic, defaulting to their prior levels and adjusted for the AVs.
I modelled this on the hp300.
1997-11-04 03:44:42 +00:00
is
a16fd7d74e
Make these compile after m68k/m68k.h 1.4->1.5.
1997-10-26 21:41:34 +00:00
scottr
8630149cba
Convert to MI 8530 SCC driver, from Bill Studenmund. The new front end
...
also supports DTR/CTS flow control.
1997-10-20 08:13:26 +00:00
lukem
28558b28eb
rcsid fascism
1997-10-13 14:22:22 +00:00
scottr
a7515413d8
Remove advertising clause.
1997-10-10 05:54:48 +00:00
thorpej
030188061e
Copyright assigned to The NetBSD Foundation.
1997-10-04 17:36:56 +00:00
briggs
407e2e622f
port-mac68k/4158: current kernel doesn't recognize some adb devices.
...
Patch applied. Thanks to SUNAGAWA Keiki for the change-request.
1997-10-02 15:12:49 +00:00
briggs
13ceb16786
port-mac68k/4175: Need to add support for 33 MHz LC475/Q605.
...
Fix applied. Thanks to David Johnston for the PR and the reminder.
1997-10-02 13:31:13 +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
scottr
5dd9e25dca
For consistency: VIA_initialize() -> via_init()
1997-09-10 04:38:47 +00:00
ender
85f80dd2c7
o Fixed definition of PowerBook extended keyboard from previous commit
...
o Added recognition of some additional ADB device types
1997-08-09 20:21:45 +00:00
ender
f8f304c76c
Add recognition of more keyboard types (including ISO layouts)
1997-08-08 17:58:48 +00:00
scottr
6f33c6446c
Drop splsched() to spl3(), so that it no longer blocks serial interrupts.
1997-08-03 07:20:40 +00:00
scottr
ec622ce63c
GC unused MMSEG definition, from Erik Bertelsen <erik@erik-be.uni-c.dk>.
...
Closes PR 3898.
1997-07-23 06:33:53 +00:00
scottr
257d26f174
New implementation of _splraise(): use word-length operands where possible
...
by implementing entirely in assembly. This saves some 6 bytes on all MPUs,
and about 8 cycles on the 030.
Now that it's optimized, define spltty() in terms of _splraise() so that
we don't inadvertantly lower the SPL.
1997-07-23 06:24:33 +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
1450ec3f1b
Restore the define of NPTEPG.
1997-07-10 08:23:03 +00:00
scottr
6eb0e7c503
Prototype DCIS().
1997-06-29 18:56:11 +00:00
scottr
9dfb9a7f87
Add support for Mouse Systems A3 mouse. From Colin Wood.
1997-06-16 06:35:26 +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
d9f8fea042
The 'Mach derived conversion macros' are now in <m68k/param.h>
1997-06-10 19:15:03 +00:00
veego
6d72d4542c
s/mac68k_btop/m68k_btop/
1997-06-10 19:13:36 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
scottr
4f74abe8b7
Remove redundant cpu_set_kpc() prototype, found by Paul Goyette.
1997-05-22 18:40:10 +00:00
scottr
a777c246ad
Adjust for previous m68k/pcb.h change
1997-05-20 03:25:07 +00:00
scottr
d93126b350
Use common m68k/pcb.h; noted by Erik Bertelsen <erik@sockdev.uni-c.dk>,
...
closes PR 3650.
1997-05-19 17:36:45 +00:00
scottr
5842491f1c
Add en implementation of the Deferred Task Manager, contributed by Paul
...
Goyette <paul@pgoyette.bdt.com>.
1997-05-12 07:29:29 +00:00
scottr
c1c244e0a3
Implement new crash dump format. Mostly taken from hp300, extended to
...
support multiple physical RAM segments by me. Garbage collect functions
obsoleted by this change.
1997-04-23 19:15:16 +00:00
scottr
4ed2d4414f
Add copyright notice.
1997-04-14 06:25:32 +00:00
scottr
4765dedbf5
Move all splxxx() and softint-related macros and prototypes to intr.h,
...
and include it where appropriate.
1997-04-13 05:12:40 +00:00
thorpej
2550431af9
regdump() is prototyped in m68k/cpu.h now
1997-04-09 20:12:44 +00:00
scottr
63d0d33c86
Make C-\\ work; from Bill Studenmund, who noticed the swapped keycodes.
...
Closes PR #3294 .
1997-04-09 04:48:57 +00:00
briggs
3d16e320d6
Move physaccess/physunaccess prototypes.
1997-03-15 05:39:45 +00:00
scottr
a4b0e4c070
Protect MCLSHIFT definition so users can customize MCLBYTES, from Jonathan.
1997-03-01 06:57:45 +00:00
scottr
8f37a2983b
Generalize VIA1 and VIA2 interrupt registration a bit, and do a slight
...
optimization on the VIA interrupt handlers.
1997-02-28 07:41:41 +00:00
fvdl
115b6d92fa
Define ALIGNED_POINTER
1997-02-24 23:16:53 +00:00
scottr
5e77023e13
The bus space tag really isn't used; stop the compiler from complaining.
1997-02-24 05:55:14 +00:00
scottr
7524900a0f
Remove niggles that made it into the copyright, and correct the
...
license terms (added Jason Thorpe).
1997-02-22 04:56:17 +00:00
scottr
5c8de7766a
Implement bus_space_set_multi_N(), bus_space_set_region_N(), and
...
bus_space_copy_N(). Bus space support is now complete.
1997-02-20 05:53:00 +00:00
scottr
6066941306
Add prototypes for bus_space_alloc() and bus_space_free()
1997-02-14 06:02:57 +00:00
scottr
2a2a70d39c
Initialize and use extent manager for bus space mapping functions.
...
Tweak bus_space_{tag,handle}_t types slightly to facilitate this.
1997-02-11 07:37:41 +00:00
scottr
876ad8d706
Console bell callback support prototypes
1997-02-10 22:13:40 +00:00
scottr
f042e543c9
Implement basic bus space access macros/functions.
...
Note: we currently do not use the extent manager.
1997-02-03 17:32:54 +00:00
scottr
ea6b85a8db
copypage() is now declared in m68k/cpu.h
1997-02-02 18:19:55 +00:00
scottr
d19b3500e3
Define single-instruction implementations of setsoft*() and siroff(),
...
and declare ssir as volatile. This avoids the problem of lost softints
should a hard interrupt cause a softint to be flagged while we are
clearing a different one.
Idea from atari mtpr.h, modified/optimized by me.
1997-01-20 05:08:00 +00:00
scottr
a7dc02ac8a
Remove __BROKEN_INDIRECT_CONFIG, since we are no longer broken.
1996-12-17 07:00:12 +00:00
scottr
07bde0d4e7
Revamp mainbus and obio autoconfiguration, with some direction (and the
...
indirect bus code framework) from Jason Thorpe. This allows us to dump
bus_scan() and bus_print(), and move bus_peek() and bus_mapin() to the
NuBus code (since they'll eventually go away, anyway).
1996-12-17 06:47:37 +00:00
scottr
9b4055eb72
Convert all foo_match() functions to use a `struct cfdata *' for their
...
second argument. The NuBus autoconfig code had to be reorganized as a
result of this, and looks much more like a directly-attached bus now.
These changes eliminate __BROKEN_INDIRECT_CONFIG.
1996-12-16 16:17:02 +00:00
cgd
96acdadef7
First step inn removing config_scan() and the hacks that gave devices
...
on indirect-config busses a (permanent) softc that they could share
between 'match' and 'attach' routines:
Define __BROKEN_INDIRECT_CONFIG so that old autoconfiguration
interfaces are used, until drivers are converted to use the new
interfaces (actually, converted back to use the _older_ interfaces)
which prohibit indirect configuration devices from receiving a softc
in their match routine that they can share with their attach routine.
1996-12-05 00:13:47 +00:00
briggs
1372eab6c5
Include MACHINE_NONCONTIG here. It isn't needed on all macs, but it has been
...
used for all macs for quite some time.
1996-11-15 14:21:00 +00:00
briggs
cca82e59db
Remove scsi96 driver.
1996-11-15 14:16:42 +00:00
briggs
32e07b8b3a
Add prototype for mac68k_register_scsi_b_irq().
1996-10-29 05:42:16 +00:00
scottr
a6bbf8fc5b
Define MACH_CLASSQ2, used by Performa 575.
...
Remove susword() because of prototype conflict with <sys/systm.h>.
1996-10-15 14:42:49 +00:00
christos
40ecbf8e72
backout previous kprintf change
1996-10-13 03:21:13 +00:00
scottr
2903ee4df5
Add second Quadra class and machineid (gestalt value) for Color Classic II
1996-10-12 07:35:29 +00:00
christos
06555645c2
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:24:36 +00:00
cgd
e36e19cf1e
repoint at shared aout_machdep.h, not exec.h
1996-10-08 13:07:26 +00:00
cgd
472889f8e4
moved to aout_machdep.h (via repository copy)
1996-10-08 12:57:37 +00:00
scottr
4ddcca6bc8
Update prototypes to match Chris' cfprint_t change. Also, update comments
...
in autoconf.h to reflect the mainbus.c split.
1996-09-14 05:43:24 +00:00
scottr
027b51f1f9
Define spladb() (conservatively, at least for now).
1996-09-12 20:39:19 +00:00
thorpej
e469c7beca
Use <m68k/cpu.h>.
1996-09-11 00:11:42 +00:00
thorpej
de5110f41e
Use <m68k/exec.h>.
1996-09-08 01:00:35 +00:00
scottr
c92399979d
Back out previous; actually, this is never a problem for us. (Duh.)
1996-07-12 17:09:26 +00:00
scottr
73b545f8f1
Fix from Leo Weppelman: Change accesses to 'ssir' to inline asm macro's.
1996-07-10 18:31:49 +00:00
briggs
8d1606fcb9
Move splimp back to spl2 (from spl4).
1996-06-21 21:51:15 +00:00
scottr
3f231717ab
raise splimp() to spl4(); we need to block zs interrupts, too.
1996-06-14 04:42:50 +00:00
scottr
5057bf9c78
Add Powerbook 500 series machine ID
1996-06-11 02:52:54 +00:00
briggs
00c097a027
Changes from Bill Studenmund to support external clocks on the modem port.
1996-06-07 10:41:30 +00:00
briggs
4498ce3c90
Add constants for booter interface.
1996-06-07 10:27:19 +00:00
briggs
79309c78d8
Patches from Bill Studenmund to get serial default settings from the booter.
1996-06-07 00:15:24 +00:00
briggs
d6345a7855
More from Dave Huang (khym@bga.com)--set ROMLEN to 2MB and make another
...
class for AV machines (C660AV and Q840AV).
1996-05-25 14:48:38 +00:00
briggs
320adf52bf
Add MACH_CLASSDUO.
1996-05-22 17:53:24 +00:00
briggs
4029840249
Ooops. cut 'n' pasto. splzs should 4, not 2.
1996-05-19 04:30:32 +00:00
briggs
2635a9c602
Serial driver with interface to a slightly modified version of the machine-
...
independent z8530 driver. When that driver is updated, the local copy
of those files may be removed. From Bill Studenmund.
Compiler warnings fixed by me.
1996-05-18 18:53:50 +00:00
briggs
78c78f916e
Fixup a few prototypes and put 'em in their place.
1996-05-18 18:52:41 +00:00
scottr
c846476845
Update several comments.
1996-05-06 06:19:33 +00:00
briggs
513a0d293b
m68881_restore takes struct fpframe *, not int [].
1996-05-05 16:33:46 +00:00
briggs
30023f7acd
MicroSpeed mouse support from Taras Ivanenko <ivanenko@ctpa03.mit.edu>.
...
Also some updates to actually used #defined constants instead of numeric
constants.
1996-05-05 14:33:55 +00:00
briggs
1febcb957e
Prototype for sunos_sendsig() is now in sunos.h as suggested by veego.
1996-05-05 12:02:41 +00:00
briggs
eb2ad19d6d
Include pcb.h for prototypes.
1996-05-05 11:45:41 +00:00
briggs
c02d890ef9
Move a few prototypes into machine/cpu.h.
1996-05-05 06:54:09 +00:00
briggs
aad6e71194
Prototype for sunos_sendsig().
1996-05-05 06:43:33 +00:00
briggs
37163421a3
Prototype for -Wall -Wstrict-prototypes -Wmissing-prototypes -Wno-uninitialized
...
Also change the device probing scheme to use something a bit more rational.
A current side-effect is that nubus cards are double-mapped. I expect
to fix that shortly.
Also change splclock() to block everything but serial hardware interrupts.
1996-05-05 06:15:56 +00:00
scottr
c1c09c75e2
Add v2IRQ0 define for IIci-style internal video.
1996-04-04 06:55:29 +00:00
briggs
8326aadde5
via.h -> machine/viareg.h.
1996-03-29 02:27:42 +00:00
cgd
18ec26aa21
add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
...
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
1996-03-04 05:04:10 +00:00
briggs
db2f33c640
Clean out some unneeded constants.
1996-02-27 03:23:42 +00:00