christos
3996b53189
PR/4162: Chris Jones: make cleandir does not work properly; it does not
...
remove the object files and the .depend file in the kernel build directory.
1997-09-30 22:39:49 +00:00
is
d5e867bb03
Build the 68060 support package in the kernel build dir.
...
XXX PCB_ONFAULT is still hardwired to 64 in netbsd060sp.S.
1997-09-28 20:49:56 +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
409812c25c
Define isabus by default on the Hades.
1997-09-15 10:51:20 +00:00
mycroft
a9155c5057
Set the status word as well, and remove a bogus comment.
1997-09-12 10:29:20 +00:00
mycroft
49f0bbb105
Nuke Locore.c. It's way too out of date to be useful at this point.
1997-09-12 07:59:20 +00:00
mycroft
982f24e698
Always initialize all registers in setregs().
1997-09-12 07:00:30 +00:00
mycroft
16a8787248
Fix execve(2) and *setregs() interfaces so emulations can set registers in a
...
more correct way. (See tech-kern.)
1997-09-11 23:01:44 +00:00
leo
225274f8b4
Add BUS_SPACE_MAP_* macro's.
1997-09-02 11:19:02 +00:00
leo
42c4123e4d
Define 2 md devices.
1997-08-29 19:52:08 +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
bouyer
6f3bab1f59
Merge scsipi branch in the mainline. This add support for ATAPI devices
...
(currently only CD-ROM drives on i386). The sys/dev/scsipi system provides 2
busses to which devices can attach (scsibus and atapibus). This needed to
change some include files and structure names in the low level scsi drivers.
1997-08-27 11:22:52 +00:00
leo
c9f11609e3
According to Andre Lange, the Hades has the DTR/RTS lines exchanged on
...
the 68901 UART-port due to a PCB error. Take care of this.
1997-08-27 06:59:19 +00:00
leo
a905a75ff7
Number the slots 0&1 instead of 1&2 .
1997-08-27 06:56:14 +00:00
leo
c8c7fe38ca
Add the isa-bus.
1997-08-27 06:52:46 +00:00
leo
2ca332c7bc
Add a char entry for md and add it to the chartoblk table. This fixes
...
the problem that kernfs was unable to determine the root device while
booting from the install floppy.
1997-08-27 06:21:06 +00:00
leo
d0301b58ee
Don't enable the dma-interrupt while polling for dma to end. This sometimes
...
caused a system panic on the Hades while probing the SCSI devices.
1997-08-27 06:16:49 +00:00
mjacob
6ac7f6248f
add a before tab to SCSIVERBOSE
1997-08-23 19:16:06 +00:00
mjacob
1a7afa3853
add commented out reference SCSIVERBOSE option
1997-08-20 18:38:13 +00:00
leo
032fb7a2d9
Remove 030 support, add 060 support instead.
1997-08-02 12:12:25 +00:00
leo
6ad4ee1142
lpt -> lp
1997-08-02 10:04:44 +00:00
leo
83c69491b2
Add second md device.
1997-07-30 15:45:33 +00:00
leo
baa16e912c
Rename lpt to lp on some places to avoid botches between files.isa and
...
files.atari.
1997-07-30 15:43:23 +00:00
leo
89ac8e71d2
Use a buserror handler that just tests for 'nofault' being set when the
...
MMU is not yet initialized. This behaviour is necessary when probing
for the machine type - because we need the type before we can setup the
tables....
1997-07-30 15:37:48 +00:00
leo
b61a48cef7
Include 'locators.h'
1997-07-30 15:32:37 +00:00
jtk
ca1bba150a
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 03:16:39 +00:00
jtk
b9370d116d
use locator defines in "locators.h" to index cf_loc[]
...
still to be done and/or decided not to be done: replace all *UNK uses in
vme code with the native names from locators.h
1997-07-17 01:56:29 +00:00
jtk
b4777471db
use locator defines in "locators.h" to index cf_loc[]
1997-07-17 01:52:54 +00:00
leo
9eb01ced39
Install key-maps only and forget about the program generating them.
1997-07-15 08:42:21 +00:00
leo
ec7ce2c9f8
Isabus support.
1997-07-15 08:25:39 +00:00
leo
3adf93ecde
isabus support
1997-07-15 08:17:39 +00:00
leo
38071fa916
Use '0' instead of NULL when talking about int's
1997-07-15 06:51:15 +00:00
leo
ce96a8a2e4
Implement bus_space_subregion()
1997-07-15 06:49:56 +00:00
leo
de78b4c0e9
Garbage collect bell-ioctl's.
1997-07-15 06:48:05 +00:00
leo
198bd713f2
Generate assym.h dependencies when making 'depend'.
1997-07-12 22:07:36 +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
1c21c4994d
Make sure the card is probed once.
1997-07-09 14:38:02 +00:00
leo
89325630dd
Introduce 'bootversion' in locore.s. Check this to decide if installing
...
a bootstrap with the running installboot makes sense.
1997-07-09 14:31:12 +00:00
kleink
96914606be
From sun3:
...
Correct handling for Trap #2 in SunOS executables,
now that we know it is supposed to flush the cache.
(Was thought to be "some obscure FPU operation".)
1997-07-08 16:56:31 +00:00
leo
cd3ee4b310
If booted with RB_ASKNAME, don't go looking for a root device.
1997-07-05 20:57:40 +00:00
leo
a323500b0f
Pull in latest Amiga bus/address error handling.
1997-07-05 20:50:41 +00:00
is
e03fce55ed
addql does set condition codes, so we are not allowed to put it in between
...
the andl and the jeq.
Mea maxima culpa.
1997-07-04 20:52:50 +00:00
leo
d4c5e4e6fe
Add code to set pitch and duration of the keyboard bell. (Thomas Gerner).
1997-06-29 20:30:49 +00:00
leo
1f92b460a0
Add 'libsa/atari_stand.h' that defines atari specific things. This allows
...
for a removal of our own copy of stand.h which was out-of-date by definition.
1997-06-28 21:36:28 +00:00
is
f3efbb406a
The recent buserr handler cleanup in the Amiga locore.s made the label
...
_buserr point to the 68020/030 buserr code _only_. This has broken access
error handling in the 060 support code.
This is repaired by jumping to _buserr60 from the 060SP, and by providing
a _buserr60 label identical to the _buserr in the unchanged m68k ports
using the 68060.
1997-06-26 22:28:42 +00:00
leo
b61541d6c2
Be consistent with more pedantic bus.h.
1997-06-25 12:15:54 +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
thorpej
afe2bc9b9e
In wdsize():
...
- If the partition is already open, skip the open/close step. (Sync with
other disk drivers).
- foosize()'s return value is in DEV_BSIZE units; adjust the size obtained
from the disklabel accordingly.
1997-06-24 00:41:29 +00:00
mrg
c86a511276
move man pages into share/man.
1997-06-22 05:48:14 +00:00
mrg
552af779d2
bring mrg-vm-swap2 onto mainilne.
1997-06-12 15:46:19 +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
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