veego
b04f321b06
s/atari_round_page/m68k_round_page/
1997-06-10 18:45:05 +00:00
veego
48ac6b6866
s/atari_round_page/m68k_round_page/ s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:43:46 +00:00
veego
a4c1cd0649
s/atari_round_seg/m68k_round_seg/ s/atari_trunc_seg/m68k_trunc_seg/
...
s/atari_round_page/m68k_round_page/ s/atari_btop/m68k_btop/
s/atari_ptob/m68k_ptob/
1997-06-10 18:41:13 +00:00
veego
0fb1053663
s/atari_trunc_page/m68k_trunc_page/
1997-06-10 18:39:11 +00:00
veego
337441ce5f
s/atari_round_page/m68k_round_page/
1997-06-10 18:37:50 +00:00
veego
931d90fcee
Use the MI <m68k/param.h> include.
1997-06-10 07:54:35 +00:00
veego
a204fb7981
Initialize machine from MACHINE.
1997-06-08 23:54:19 +00:00
leo
3b2576ad3c
Guard agains multiple inclusion and pull in cpu.h to define clockframe.
1997-06-06 13:15:57 +00:00
mikel
d687e871c9
nuke bad MLINKS line; fixes PR port-atari/3605.
1997-06-06 05:26:38 +00:00
leo
f796b57669
* finalize 060 stuff.
...
For locore.s also nuke cacheop-functions now provided in m68k.
1997-06-05 19:45:29 +00:00
leo
327cf04b4b
Implement and use splraise().
1997-06-05 19:38:16 +00:00
leo
f42858310e
Use m68k cacheops
1997-06-04 14:33:49 +00:00
leo
60d8682a5b
Add the 68060 Software Support Package.
1997-06-04 13:51:48 +00:00
leo
75fe0ae7a5
Export vectab label (68060 changes).
1997-06-04 13:50:25 +00:00
leo
154afe5d70
Add ipfilter stuff.
1997-06-02 20:40:40 +00:00
leo
37325cfb41
More stuff for handling an 68060.
1997-06-02 12:03:40 +00:00
leo
45ae0c3916
Be a bit more robust when dealing with genassym failures (From mycroft).
1997-06-02 11:49:02 +00:00
cjs
7a66732d34
Back out BUILDDIR and NOINSTALL changes.
1997-05-31 21:21:13 +00:00
cjs
83498d7e88
Remove empty libinstall target and add NOINSTALL=1.
1997-05-30 13:43:06 +00:00
leo
1c5b9b33c7
Make the bootloader 68060 aware.
1997-05-27 10:28:30 +00:00
leo
c803f7baa9
Add serial driver for 68901 UART (modem1 port).
1997-05-25 12:41:27 +00:00
leo
c05eddf7f5
Fix the 'shifting screens' bug on the Falcon. This solution is not perfect
...
since it gives a bit of flicker while switching frame buffers. From
Thomas Gerner.
1997-05-19 21:07:05 +00:00
veego
a078a4be55
Fix lossage from the latest vm_pmap changes.
1997-05-19 10:14:47 +00:00
gwr
a8af683eb9
Eliminate references to vmspace.vm_pmap
1997-05-13 18:00:49 +00:00
mycroft
cc4a1553a1
Eliminate bogus redefinitions of standard targets.
1997-05-09 07:50:03 +00:00
mycroft
185b24dd5b
Use libinstall::, not install:, to prevent instaling LIB.
1997-05-07 16:20:26 +00:00
lukem
8c57ea0789
clean up use of whitespace
...
remove unnecessary quotes around options
1997-05-07 00:23:43 +00:00
leo
7c2c0c846c
- Provide the reasonable size that can/may be mmap-ed. This might differ
...
from the current frame buffer size.
- The et-driver now allows for a 16Kb io-region (was 8Kb) that can be
mapped. The XFree server uses this.
1997-04-25 19:25:38 +00:00
leo
d5733f126e
Allow formatting of 360Kb floppies.
1997-04-25 19:18:04 +00:00
leo
d1c63a4095
Changes to bounds_check_with_label:
...
- Take care of the case where d_secsize < DEV_BSIZE (From Waldi Ravens)
- Don't check if an unsigned value <= 0. This was the cause of various
panics when savecore(1) was reading at bogus offsets because the crash
dump format was changed. Thanks to Jason for unintently revealing the
bug ;-)
1997-04-25 19:16:30 +00:00
leo
ef06b2e55d
Use info on the actual RAM-segments to check the validity of /dev/mem
...
accesses. Reformat some comments.
1997-04-25 19:07:45 +00:00
thorpej
6a00a9aa75
Adjust for <m68k/m68k/trap_subr.s>
1997-04-25 01:35:45 +00:00
gwr
021d7c2fe5
s/REGENTS/FOUNDATION/
1997-04-24 22:37:11 +00:00
thorpej
6a2fc99857
STRIP -> STRIPFLAG
1997-04-17 07:27:46 +00:00
thorpej
f05b58b229
Use common m68k sigcode.
1997-04-13 02:37:15 +00:00
cgd
cc93b2c4eb
pass memory- and i/o-enabled flags down via the PCI bus and device attach
...
arguments, so that a device can tell if its memory and I/O spaces are
enabled. The flags are cleared, depending on the contents of devices CSR
registers, in the machine-independent PCI bus code.
1997-04-10 23:12:16 +00:00
thorpej
06e6038b3f
regdump() is prototyped in <m68k/cpu.h> now
1997-04-09 19:46:04 +00:00
thorpej
74c3023038
Remove redundant file directives.
1997-04-09 19:44:47 +00:00
thorpej
b6eb01fa72
Remove extra "options FPU_EMULATE"
1997-04-09 19:44:13 +00:00
thorpej
ef79334f24
regdump() takes a struct trapframe *
1997-04-09 19:41:08 +00:00
thorpej
31b105f845
Garbage-collect regdump() and friends.
1997-04-09 19:40:20 +00:00
thorpej
28a9417279
Use <m68k/m68k/proc_subr.s>
1997-04-09 19:39:14 +00:00
thorpej
0e5ab3b5f1
Adjust for new <m68k/kcore.h>
1997-04-09 19:37:53 +00:00
leo
9c9b9aefc9
Make Hades DMA transfers work in polling mode with all interrupts
...
disabled. This makes dumps to scsi work.
1997-04-06 12:42:44 +00:00
leo
79987d75ee
Calculate dumpsize correctly (in pages).
1997-04-06 12:39:41 +00:00
leo
c3d261e977
Add chrtoblk table entry for wd device.
1997-04-04 21:02:39 +00:00
leo
fd52d826aa
Add IDE driver (Markus Kilbinger).
1997-04-04 08:17:30 +00:00
christos
e0443987e7
Add netatalk netisr
1997-04-02 21:48:55 +00:00
leo
ff152e48d5
The atari-TT really has no IDE-interface.
1997-04-02 20:33:10 +00:00
leo
a6f5608814
Make it possible to remove the lpt device by making it 'needs-flag'.
...
Remove lpt-device from the BOOT kernel.
1997-04-01 20:14:06 +00:00
leo
061e737731
Add wd-driver. The driver is basically the driver present in the arm32
...
port (Thanks Mark!) with a few atari specific things and the bad block
handling disabled.
1997-04-01 08:17:44 +00:00
leo
67c47d4b56
Remove a hardcoded interrupt handler. Now uses intr_establish() for the
...
SCSI-drq handler on the Hades.
1997-03-30 21:08:19 +00:00
leo
103e8967c4
Add a space to the attach message.
1997-03-30 21:04:13 +00:00
thorpej
cb24b0200a
Don't allocate mclrefcnt[]; it's dead and gone.
1997-03-27 21:01:20 +00:00
gwr
37b247edde
Renames: /dumpconf/cpu_dumpconf/, /boot/cpu_reboot/
1997-03-26 22:42:13 +00:00
gwr
71e43d14ab
Move findroot/setroot stuff from configure() to cpu_rootconf().
1997-03-26 22:38:40 +00:00
leo
27228d890b
Apply optimizations suggested by gwr & mycroft.
1997-03-26 15:50:39 +00:00
leo
c28576c255
Close disk after opening it to read the disklabel. The previous code did 2
...
opens...
1997-03-26 15:49:31 +00:00
leo
16bc86449a
Use m68k/sig_machdep.c
1997-03-26 15:46:12 +00:00
leo
1bca40723b
Add missing 'break'.
1997-03-26 15:44:03 +00:00
gwr
08f7a407f9
Separate bcopy and copypage stuff from copy.s
1997-03-17 19:46:36 +00:00
leo
175e17b45f
Catchup with arp changes.
1997-03-17 13:29:05 +00:00
leo
2f50159652
Revert to new method of generating assym.h.
1997-03-17 13:23:14 +00:00
thorpej
1d987a161b
#include <net/if_media.h>
1997-03-17 03:17:34 +00:00
thorpej
b6f3695cd1
Use <m68k/m68k/support.s>
1997-03-16 11:04:52 +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
mycroft
f868dff8d3
Define the `cleankernel' target consistently with other ports.
1997-03-14 23:27:29 +00:00
leo
e4a48696a6
Add member to bitmap struct that gives the size of mappable memory.
1997-03-13 12:37:08 +00:00
leo
f99aabbca1
Push out some 060 support. It's all untested and mostly copied in from the
...
amiga-port.
1997-03-10 14:44:26 +00:00
leo
7e288e08c3
Use vme_mask, not sys_mask to enable the SCC interrupt.
1997-03-10 14:41:43 +00:00
leo
2e85636c46
$NetBSD -> $NetBSD$ Sigh.
1997-03-10 10:22:34 +00:00
leo
b9595171f0
Add support for the Lance ethernet card on the VME-bus (Riebl/PAM)
1997-03-10 09:44:52 +00:00
leo
d3c11c558c
Enable SCC & MFP interrupts through the vme_mask register instead of
...
using the sys_mask register.
1997-03-07 21:45:41 +00:00
leo
224221401b
Ooops. Add cvs-id + copyright.
1997-03-03 13:55:50 +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
301f6163bb
Addition of VME bus code.
1997-03-03 12:26:20 +00:00
leo
485c62188c
VME bus code
1997-03-03 12:20:57 +00:00
leo
60bde8d1ca
Fix a kernel-dump that occurred when accessing a grf-device that was configured
...
in the config file but not found by the autoconfig code.
1997-02-26 12:28:40 +00:00
leo
5e2ca8918d
Use generic date conversion module.
1997-02-26 12:26:36 +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
leo
e123072427
:: -> :
1997-02-16 13:00:49 +00:00
leo
b974335693
Fix some typo's from the setroot mega commit and re-order the device
...
preferences.
1997-02-16 12:59:56 +00:00
perry
19d153fc48
Nuke some options GENERIC residue.
1997-02-04 04:57:10 +00:00
perry
0b3a46d6b3
Nuke some GENERIC residue.
1997-02-04 04:31:55 +00:00
thorpej
f10c97e7e7
zeropage -> devzeropage, and make it static.
1997-02-02 07:29:35 +00:00
thorpej
2a1f46c2d5
Gerbage-collect extra copypage()
1997-02-02 07:27:48 +00:00
thorpej
41a9e723e3
Adopt for new file system and root spec grammar.
1997-01-31 05:46:09 +00:00
thorpej
739f23a219
This file is obsolete; this information is now generated by config(8).
1997-01-31 05:12:49 +00:00
thorpej
8496115a38
Adopt for new file system and root spec grammar.
1997-01-31 01:48:24 +00:00
thorpej
3e47546598
Use new machine-independent setroot()
1997-01-31 01:47:25 +00:00
leo
eb6f94c925
Print a new-line in attach function.
1997-01-27 10:19:33 +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
leo
a6b3b4a841
Add option to sleep until ST_DMA becomes available.
1997-01-27 07:54:40 +00:00
leo
dc32e39a7e
Use bus_space_tag when calculating the physical address.
1997-01-27 07:53:29 +00:00
leo
a955088aa3
Correct comment.
1997-01-27 07:50:17 +00:00
leo
43795f8930
Don't set the PA_SER2 bit by default, this has the nasty side effect that
...
it disables the IDE hardware on the Falcon (Thanks Markus ;-) ). A function
is provided to toggle the bit.
1997-01-21 20:41:07 +00:00
leo
c79dcb7c8c
Add a 'size' argument to badbaddr(). This is very useful on busses that
...
only accept certain size accesses on a specific address range. Like the
VME bus.
1997-01-21 20:37:03 +00:00
thorpej
7b40f5228e
"md" is declared in sys/conf/files, now.
1997-01-21 09:39:20 +00:00
gwr
4479ccc534
Use db_regs_t instead of struct mc68020_saved_state
1997-01-16 15:30:57 +00:00
leo
81fd2d7dc6
This should have been part of the keyboard-modifier changes.
1997-01-12 22:15:24 +00:00
leo
3e345f741d
Use the mask register to block the interrups, not the enable register. This
...
enables the interrupt to be shared (with IDE for example ;-) ).
1997-01-12 15:46:37 +00:00
leo
4b8a9a883c
Fix return value of the interrupt function.
1997-01-12 15:44:45 +00:00
leo
41a0638c86
Another part of the rd->md saga...
1997-01-12 15:41:24 +00:00
leo
c4ad7060c1
Fix the machine-type detection, the Falcon was detected as a Hades. Regroup
...
the hardware initialisations in a separate function and make sure
that the Midi-ACIA is properly initialized. This prevents MIDI traffic
to lockup the keyboard.
1997-01-12 15:40:14 +00:00
leo
7a0c8fa119
Handle keyboard modifiers *before* handing the keycodes to either the
...
console driver or the DDB keyboard functions. This prevents annoyances
with out of sync modifier stati.
1997-01-10 21:24:25 +00:00
leo
2fa61d9691
Allow the control registers to be mapped too.
1997-01-10 21:00:36 +00:00
leo
1f4324fd52
Record physical addresses in the bitmap structure instead of VA's. The
...
latter breaks the mmap-functions.
1997-01-10 20:59:27 +00:00
leo
7e22e8338d
Adjust 'fill'.
1997-01-08 12:57:22 +00:00
leo
5df535d814
Handle DTYPE_ESDI like ST506.
1997-01-08 12:55:41 +00:00
leo
d1538cb3c0
Don't try to init the keyboard interrupts in cngetc(). This caused the
...
keyboard to hang when booting directly into the debugger.
1997-01-08 11:28:03 +00:00
leo
1d1bc2cb98
Bump version.
1997-01-08 10:18:39 +00:00
leo
1b2f4a364c
grf? -> grfcc?
1997-01-04 23:32:08 +00:00
leo
0713c0ee88
Fix a rather nasty thinko that made the keyboard useless on the Falcon.
...
Thanks to Markus Kilbinger for finding it.
1997-01-04 23:30:21 +00:00
leo
a5eb9c92ec
Use the [HD|WR]FAULT macro's from the hp300 version of trap.c and use
...
cputype where appropriate.
1997-01-04 00:10:30 +00:00
leo
9f5f6ada1b
Remove ST-DMA handler, this interrupt now uses the glue code. Count the
...
clock interrupts in the new counter set.
1997-01-04 00:08:46 +00:00
leo
cafb680cf1
Oops, the declaration of cputype was gone...
1997-01-04 00:06:21 +00:00
leo
da93afbd05
Get rid of 'cpu040' variable. Use 'mmutype' or 'cputype' for testing
...
instead.
1997-01-03 22:54:22 +00:00
leo
54608785fb
The ST-DMA driver now uses intr_establish.
1997-01-01 21:14:47 +00:00
leo
493e4aaebb
The Hades floppy driver now uses intr_establish(). Also the interrupt
...
accounting is fixed (ie. counted as the right interrupt).
1997-01-01 21:12:56 +00:00
leo
b3e93de260
The ST-DMA driver now uses intr_establish.
1997-01-01 21:11:44 +00:00
leo
139d65ffa2
Fix some leftovers from rd -> md rename.
1997-01-01 21:08:02 +00:00
pk
c4a0dfb011
omission in last commit: ramdisk.h => md.h
1996-12-28 23:50:44 +00:00
leo
aae827a845
- The Hades bios does not pass a 'bootpreference' in d5. Deal with it by
...
getting the 'bootpreference' ourselves when it is not set to any legal
value.
- Because the relation between memtop/membot and the video base does not
hold on the Hades, skip testing on it.
1996-12-28 23:37:53 +00:00
pk
a8b4babc16
rename: ramdisk => md
1996-12-28 23:37:26 +00:00
leo
223682435b
Oops, this one was missed in the BROKEN_INDIRECT_CONFIG cruisade.
1996-12-28 23:26:36 +00:00
pk
114271a083
rename: ramdisk => md
1996-12-28 23:10:44 +00:00
leo
c4b08fe059
Add intr_establish/disestablish functions. Currently only the lpt-driver
...
is converted to use them...
1996-12-26 23:25:01 +00:00
leo
112a968fb4
Make sure that the caches are pushed and turned off before jumping into
...
the kernel image. This makes booting a 040 kernel finally reliable.
1996-12-26 15:07:33 +00:00
leo
0b4a540e3b
Correct the IDE port-addresses and data transfer method so this will work
...
both Hades & Falcon.
1996-12-26 14:55:16 +00:00
leo
c6e901c459
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 16:20:57 +00:00
leo
291ced55a4
Get rid of BROKEN_INDIRECT_CONFIG
1996-12-20 12:49:35 +00:00
leo
421158437b
Tweak the clockframe structure a bit so we are able to save a few cycles
...
at interrupt time. (From Gordon Ross).
1996-12-18 12:35:19 +00:00
leo
9f8a5d9694
Move up the initialisations for the delay routine in the initialisation
...
process. It's now also available to the different device probes.
1996-12-16 22:03:23 +00:00
leo
dff699a434
The file hdfd_intr.s should only be included in conjunction with the
...
Hades floppy driver.
1996-12-16 21:25:45 +00:00
leo
de3b8c8e4b
Implement an rtc-device. Credits for the idea goes to Wolfgang Solfrank.
...
Because there is no way yet to tell init(1) to execute commands before
single user-mode is entered, the inittodr() function is still partly
functional. It retrieves the value of the RTC and sets the time as if
the RTC was running at UTC. The resettodr() function is a No-Op. The
RTC can only be changed by a write to /dev/rtc.
The TIMEZONE and DST options are no longer needed and removed from the
config files.
1996-12-16 21:24:00 +00:00
leo
c473681077
Remove some code accidently checked in on previous commit.
1996-12-14 13:52:01 +00:00
leo
2d4e2c3931
Fix type (COPT -> COPTS).
1996-12-14 13:48:29 +00:00
leo
ae092ee765
Merge the formatting code from the i386-port.
1996-12-14 13:47:12 +00:00
thorpej
d502e68402
Fill in sc_link.max_target
1996-12-10 21:27:16 +00:00
thorpej
ef5333043b
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:46:44 +00:00
thorpej
66cbbf68ff
Copyright assigned to The NetBSD Foundation.
1996-12-09 17:35:24 +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
jonathan
4c1d96de78
* Replace explicit -O2 in CFLAGS with COPTS macro. Default COPTS?= -O2.
...
Lets users over-ride with makeoptions COPTS="..." in kernel config files.
Leave `mandatory' flags (like -msoft-float which on m68k enforces no
FP in kernel) in CFLAGS.
1996-12-01 06:12:25 +00:00
leo
f9ace39811
Plug some spl-holes in the lp-driver. Also be more strict in protecting
...
the register access to the psg-chip. The combination of those bugs
caused the printer to print garbage sometimes.
1996-11-17 13:47:09 +00:00
leo
d3ef248436
Shift screen a bit to the left.
1996-11-17 13:39:40 +00:00
leo
643abfa146
Make splbio really splbio. All holes now seem to be plugged. At least
...
on the Hades & TT030.
1996-11-17 13:38:03 +00:00