perry
51ed105af6
comment out APM -- it hurts some systems during install.
1997-08-15 21:44:31 +00:00
mikel
d540ff911c
wrap bus_space I/O tag checks with #ifdef DIAGNOSTIC.
...
wrap actual read port map/unmap with #ifdef _KERNEL, so userland probe
code will still work.
1997-08-15 06:48:29 +00:00
cgd
efecf08fef
Sync with bus_space(9):
...
* make map and alloc take 'flags' rather than 'cacheable,' for
more flexibility.
* rename BUS_BARRIER_* to BUS_SPACE_BARRIER_*, for consistency.
* rename bus_space_copy_* to bus_space_copy_region_* and make their
defns match the updated spec.
Backward compatibility is provided by defining __BUS_SPACE_COMPAT_OLDDEFS,
which is currently defined by default.
1997-08-15 00:45:16 +00:00
briggs
2a83a9363a
Add interrupt handler for SuperMac GFX.
...
Tested by Kai-Yew Lum <kaiyewl@engin.umich.edu> back in May.
1997-08-15 00:15:32 +00:00
scottr
c7079260e5
More machine support:
...
- Add entries for the LC520, Color Classic, and PB150 to intvid_info[].
- Make the PB150 a Duo-class machine, as it seems to work better this way.
Now that we're doing the latter, it points out something I missed a long
time ago when I added Duo support: CLASSDUO was being ignored in
mac68k_set_io_offsets().
PowerBook 150 changes and bug fix provided by Dave Huang <khym@bga.com>
in PR 3970.
1997-08-14 18:23:20 +00:00
drochner
80a5032beb
Make new memory detection default.
...
Introduce a new option, "CONSERVATIVE_MEMDETECT", which disables the
new BIOS calls.
1997-08-14 17:00:18 +00:00
drochner
e3045dd1ce
Add prototype definitions for serial console and KGDB.
1997-08-14 16:23:41 +00:00
drochner
473b4f1222
Initialize system console from a central place (don't use cninit()
...
anymore). This makes the code cleaner (no more bus tag guessing in the
serial console driver) and it allows to share code with KGDB port
initialization.
The console device is now given as string ("pc", "com0".."com3").
Modelled after alpha port.
1997-08-14 16:21:49 +00:00
drochner
3bbb2f7b18
Export variables needed for system console initialization.
...
Do this in a separate file because pcvt_hdr.h contains too many definitions
which can cause namespace trouble. (eg, a structure element "m_len")
1997-08-14 16:07:12 +00:00
drochner
5a32b608a0
-Export variables needed for system console initialization.
...
-Because *cnputc()'s second argument is an "int" in cons.h, correct
pccnputc() accordingly.
1997-08-14 16:02:14 +00:00
drochner
c4af2e3042
Build the new memory detection stuff.
1997-08-14 15:40:28 +00:00
drochner
26f8c5bd65
Prepare definition for EXTENDED_MEMDETECT.
...
Not yet default.
1997-08-14 15:38:30 +00:00
drochner
a6d6ef3a20
Use traditional memory detect function (int15/88) as indication for
...
a XMS driver.
From Martin Husemann.
1997-08-14 15:28:47 +00:00
drochner
2092d92ef2
New, optional, method to get size of extended memory.
...
It will be used for getextmem() if EXTENDED_MEMDETECT is defined.
Worked on all tested machines.
Thanks to all testers, especially Martin Husemann!
1997-08-14 15:22:00 +00:00
scottr
f9904b191f
Recognize the Sigma Designs ColorMax card, and handle the interrupt. Code
...
provided by Brian Foley <bfoley@gpo.iol.ie> via Allen Briggs, updated for
bus.h by me.
1997-08-14 06:16:46 +00:00
jonathan
bf61f3291a
Add checks for DS 3100, 2100. Use more generous delay values, these
...
systems may be memory-bound.
1997-08-14 00:15:37 +00:00
cgd
9d532f482c
don't forget to set hwrpbsize to zero explicitly
1997-08-13 20:49:56 +00:00
cgd
bf596ddb89
don't define __BUS_SPACE_COMPAT_OLDDEFS if it's already been defined
1997-08-13 02:53:03 +00:00
perry
03c3f2c28f
fix spelling error, pr-3974 from Dave Huang
1997-08-12 23:53:54 +00:00
drochner
7427d7b340
Attach KGDB in early system startup.
1997-08-12 17:28:12 +00:00
drochner
e553e8219f
Enable single stepping with KGDB.
1997-08-12 17:26:57 +00:00
gwr
6b93a0192b
cosmetic
1997-08-12 16:52:11 +00:00
gwr
5c339e9f73
Resolve conflict with <m68k/cpu.h>
1997-08-12 15:47:00 +00:00
cgd
9b263847db
clean up RCS IDs
1997-08-12 06:08:21 +00:00
jonathan
a5266cdd64
Fix for mbufs that start on odd-byte-aligned boundaries, and use.
1997-08-12 06:05:28 +00:00
cgd
73596f5504
sort miata defs
1997-08-12 02:59:43 +00:00
cgd
5544e7e348
update for moved files, placeholder for miata flag header
1997-08-12 02:08:12 +00:00
jonathan
d3a3872e1a
Fix 3MIN model-string braino from PR# 3965.
1997-08-12 01:52:10 +00:00
cgd
0bc9a09170
cia_bus_* -> cia_swiz_bus_*
1997-08-12 00:58:01 +00:00
cgd
46d5a50540
rewire a few file dependencies for cleanliness
1997-08-12 00:46:11 +00:00
cgd
4b8f75045a
define a defopt for the miata systype
1997-08-12 00:04:14 +00:00
cgd
2d184c2262
clean up bootinfo v1 struct a bit: add a hwrpb size field (in a backward-
...
compatible way), and clean up the comments to make things a bit clearer.
1997-08-11 23:43:38 +00:00
scottr
c988c6f85f
Make #include directives consistent. All MD headers are of the form:
...
#include <mac68k/{dev,mac68k}/foo.h>
1997-08-11 22:53:26 +00:00
cgd
b38691223e
s/bogus/unknown/; just because we don't know about it doesn't mean it's wrong
1997-08-11 22:46:37 +00:00
jonathan
cfc1040a1f
Revert syscall interrupt re-enable of previous revision:
...
introduces a race in trap logging. Reported by Michael Hitch.
1997-08-10 01:14:49 +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
jonathan
85d2b918cd
Definition of cpu_mhz.
1997-08-09 19:06:45 +00:00
jonathan
baad4266be
Fix printf() format strings for VMFAULT_TRACE (see PR port-pmax/3777).
...
Re-enable interrupts in syscall() before doing anything else; marginal
impprovment (2ms?) in NTP accuracy on 5000/240.
1997-08-09 06:06:37 +00:00
jonathan
95a12ee943
MIPS cpu-speed detection using mc146818 clock.
...
Compute CPU speed(MHz) and loop multiplier for DELAY() based on
counting empty loop between mcclock ticks. New global: cpu_mhz.
Change pmax/pmax/machdep.c to build baseboard model names from cpu_mhz.
Set 'cpuspeed' for more realistic DELAY() on mips3 models.
Mips CPU constants, testing, and calibration from D. Sean Davidson
<davidson@zk3.dec.com> and Simon Burge <simonb@telstra.com.au>.
1997-08-09 05:51:56 +00:00
jonathan
003ccf3b1c
mips pmap_activate:
...
* prototype and definition for pmap_activate(p). Updates the segtab,
and changes the active ASID if p == curproc.
* Make reserved fixed-address (UADDR) kernelstack PTEs global,
so we still have a kernel stack after pmap_activate() on curproc.
* make KSEG2 mappings for p_addr global (see above.)
Seems to detune contextswitch and NTP resolution (by 60 ms), but
thepmap_activate() interface is mandatory. Needs more thought.
1997-08-09 03:41:02 +00:00
ender
f8f304c76c
Add recognition of more keyboard types (including ISO layouts)
1997-08-08 17:58:48 +00:00
jonathan
1c7fa31659
Add mips_read_causereg()
1997-08-08 06:52:59 +00:00
scottr
3aa6a4e333
Make the diagnostic panic message when we don't have a pcb consistent
...
with the message one normally gets when the kernel panics due to
some other unhandled trap.
1997-08-07 21:37:03 +00:00
scottr
740b91a80c
Add the Classic II to intvid_info[]
1997-08-07 21:30:20 +00:00
christos
a9be2ab366
PR/3954: Izumi Tsutsui: Add id for the ESS1868 joystick.
1997-08-07 19:44:54 +00:00
christos
7bd5c461f5
Check if we can map the read port, but don't really allocate it because it
...
will cause a conflict with the SoundBlaster Joysticks that say that they
require 200/8 and 207 is usually the read port. XXX: This is a hack.
1997-08-07 19:44:03 +00:00
pk
dd07701791
Do not use `rasterconsole' by default on this framebuffer.
1997-08-07 19:12:30 +00:00
scottr
c03541be22
Strip down to bare essentials for these machines.
1997-08-07 19:07:08 +00:00
mark
0efc44fd71
Cast the destination address for the cpu_cache_syncI_rng() function in
...
db_write_text().
1997-08-07 16:24:34 +00:00
veego
3dac730d96
French keymap. From Eric Delcamp in pr: port-amiga/3923
1997-08-06 17:08:15 +00:00