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
scottr
738faf922f
Add ^^ and ^_ codes to default keyboard layout
1996-02-23 05:43:48 +00:00
briggs
f851e3e8b3
Move spl stuff from param.h to psl.h. Prototype delay() in param.h.
1996-02-17 14:50:40 +00:00
mycroft
9d9a70a5a2
Fix #includes.
1996-02-02 18:05:36 +00:00
briggs
46c929801f
Move splimp to 2 and spltty to 1.
1996-01-13 01:41:05 +00:00
briggs
1b99515858
Add #defines for some more machines.
1996-01-09 15:26:02 +00:00
mycroft
ce000f04ef
Remove deprecated cpu_setstack().
1995-12-21 05:01:32 +00:00
briggs
13c1f2d48b
Shuffle MACH_CLASSes around a tad and add IIvx as a seperate class because
...
it may have a different method for accessing the 'via2' functions.
1995-09-14 02:48:09 +00:00
briggs
7d55e1196e
Document spl()s a bit, order the splfoo()s in splX() order.
1995-08-13 01:52:16 +00:00
mycroft
7a9cad50cd
Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty().
1995-08-13 00:23:56 +00:00
briggs
1fd03600dd
Get rid of cpu040 for good.
1995-08-12 04:08:29 +00:00
briggs
84ee954356
Change NBSBASE to 0x90000000 and let it and NBSTOP be defined.
1995-07-06 13:25:30 +00:00
briggs
1040af3492
Add missing interface for getting a grfmode structure from kernel.
1995-07-02 05:26:27 +00:00
briggs
af7f31e30a
Add a couple elements to the grfmode structure.
1995-07-02 00:29:03 +00:00
briggs
303845a487
Remove this define--we're using the new dump type.
1995-07-01 18:47:51 +00:00
cgd
2d49c3885b
clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
...
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd
1c0be437b1
define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
...
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
briggs
4f05f7e8f6
pmap_page_index isn't a macro.
1995-06-24 16:18:50 +00:00
briggs
4a9e8ef39f
Raise MAXTSIZ, double DFLDSIZ and quadruple MAXDSIZ. Lower USRPTSIZE.
...
Remove unused mapin() macro. Update VM_MAX* macros to look like the
amiga's (easier to read than hp300's).
1995-06-21 03:17:06 +00:00
briggs
5dd8297b11
Cleanup some and make these look more like hp300 versions.
1995-06-21 03:14:06 +00:00
briggs
23622438bf
Get rid of pcb_cmap2.
1995-06-21 03:10:44 +00:00
briggs
c2184f6f5b
Update to look more like hp300. Clean up a lot.
1995-06-21 03:08:29 +00:00
briggs
04834fb800
Remove cpu_set_init_frame() define.
...
Remove BROKEN_SWAP
Change cpu_swapout() to null-op.
Remove profile_tick() define.
Add some 040 stuff and make other 040 stuff compat. with hp300 port.
Cleanup a bit.
1995-06-21 03:06:33 +00:00
jtc
55fbbc705d
Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif.
1995-06-20 20:45:22 +00:00
briggs
0521ad83a0
Make comment fit reality.
1995-05-17 00:45:55 +00:00
briggs
a43ca9e742
Nuke cpu_exec and remove extra semicolon on cpu_swapout() panic string
...
(preparing for more changes in a bit...)
1995-05-17 00:30:16 +00:00
cgd
8703076975
define BROKEN_SWAP and/or cpu_swapout as appropriate.
1995-05-05 03:41:51 +00:00
briggs
59b4da2b39
Add new nubus handling that's much more robust.
...
Update via, if_ae, and grf accordingly.
Revamp grf.
1995-04-29 20:23:36 +00:00
christos
de42a28a1b
- added sunos_machdep.c for sun3, atari, amiga and mac68k.
...
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
briggs
74b3f483db
Define DELAY.
1995-04-22 13:17:51 +00:00
jtc
4d37095e31
Fix typo: ieefp.h -> ieeefp.h.
1995-04-16 16:47:03 +00:00
mycroft
22cefc03bc
Bring back pmap_kernel(), for now always inlined as a pointer to
...
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
e957423a98
Move fp_except and fp_rnd definitions to machine/include.
1995-04-09 21:31:58 +00:00
briggs
7a557178ba
Get rid of some BARFs and assign some semi-reasonable spl()s...
1995-03-29 07:35:35 +00:00
briggs
bb035dee62
KERNEL -> _KERNEL
1995-03-23 20:19:16 +00:00
cgd
b8403d582b
don't be so quick to cast macro arguments to unsigned; if the
...
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft
4c34be6b52
Clean up deleted files.
1995-03-01 00:00:00 +00:00
jtc
9540190d45
This file, which will be included by <sys/cdefs.h>, will contain macros
...
such as __warn_references() and __weak_reference() which are actually
machine dependant. This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.
This change also introduces a new macro, _C_LABEL(x). _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.
For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
cgd
e5049f4d59
make the definition of _JBLEN mach. dep. header-dependent.
1994-12-20 10:36:27 +00:00
briggs
1c47e24828
Mac ROM Glue changes from grantham@tenon.com.
1994-12-03 23:33:55 +00:00
briggs
fc3961284c
Raise MCLBYTES to 2048.
1994-11-01 03:53:28 +00:00
cgd
4fdae7a0ae
new RCS ID format.
1994-10-26 08:45:48 +00:00
cgd
f501e4e128
make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files.
1994-10-15 04:57:29 +00:00
cgd
49c34d3337
move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS.
1994-10-14 18:26:22 +00:00
jtc
23ece5babc
asm -> __asm (PR #463 ).
1994-09-16 02:39:36 +00:00
briggs
cdcb12bf54
Add USPACE.
1994-08-23 20:48:09 +00:00
briggs
60df0b6e97
Add a serial console flag that's passed in from the booter.
1994-07-31 14:03:58 +00:00
lkestel
faf8faf32f
Added a few macros for keys; cleaned up; only define key array
...
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92
Different pa_index() ifdef MACHINE_NONCONTIG.
1994-07-31 06:26:34 +00:00
lkestel
f3c8dbbd87
Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
...
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
briggs
8fc0b8b26e
Add a field for cpu-dependent structure to flag if SONIC is on-board.
1994-07-21 00:33:54 +00:00
briggs
f8d560f187
Be somewhat better at machine dependence.
1994-07-10 16:55:53 +00:00