leo
b821c044e6
Add isapnp stuff (Thomas Gerner)
1998-04-22 07:57:52 +00:00
leo
5a784cc595
Fix prototype of interrupt function.
1998-04-22 07:53:22 +00:00
leo
f7d6d7c9b8
Don't clear the 'd_partitions' before starting to read the disklabel. Some
...
filesystems (iso9660) depend on the info they had already setup there.
1998-04-15 09:02:06 +00:00
leo
ae019435eb
Probe the 'mainbus' before the other busses. This gives less surprises when
...
adding things like SCSI controlers to the pci-bus.
1998-04-15 09:00:19 +00:00
tv
b21bfbde11
Add -Wno-main conditional on compiler being gcc 2.8 or egcs. (This adds
...
a HAVE_GCC28 check-variable that can now be used to add other gcc-2.8
flags in cases where they may be useful, or to remove gcc 2.7.2 "bug
workaround" flags.)
1998-04-12 23:47:41 +00:00
leo
85966e661a
Use MI wdc-driver.
1998-04-10 10:37:04 +00:00
leo
bc2d7f642e
le_bus.c is dependent on pci & isa.
1998-04-10 10:28:47 +00:00
leo
bc9ebf17a7
Major overhaul of the atari bus_space implementation.
1998-04-10 08:19:53 +00:00
leo
e32073cbb1
Sync with latest tty changes.
1998-03-25 09:46:09 +00:00
bouyer
9f50fca1fd
Add commented out "options FFS_EI"
1998-03-18 16:34:41 +00:00
leo
4e466a839d
Move the bus_* functions from machdep.c to bus.c .
1998-03-13 21:05:10 +00:00
leo
0dd40d6952
Bus-dma implementation for the atari. Heavily based on the i386
...
implementation.
1998-03-10 11:42:53 +00:00
fvdl
6e434a4386
Make this compile again.
1998-03-06 09:06:51 +00:00
perry
1ed8ea9966
note second parm of sysarch() is now void *, + trivial KNF, etc.
1998-02-25 21:41:55 +00:00
leo
25811c51ea
Declare 'fd_cd'.
1998-02-24 13:02:54 +00:00
leo
e4b379c7c1
Only try to initialize the PCI-bus when NPCI > 0.
1998-02-24 13:02:06 +00:00
leo
c281cb0e23
Update Hades PCI support:
...
- Initialize the PCI bus and hand-out mem and i/o addresses. (there is
still lots of room for improvements here...)
- Implement the interupt functions
1998-02-19 16:16:51 +00:00
thorpej
772da350d4
Disable the message buffer during crash dumps by clearing msgbufenabled,
...
not msgbufmapped.
1998-02-19 04:18:30 +00:00
cgd
3bbb7f7d45
Move pmap_map() function definition to MD headers, as appropriate. It's
...
an internal function, and the VM system shouldn't try to prototype it.
(Note that some ports _don't_ prototype it.)
1998-02-18 02:05:32 +00:00
thorpej
8354e68508
Remove "class" declarations, and add "devclass" declarations where
...
appropriate. Fix several inconsistencies between device class and
attributes. Mostly from Chris Demetriou.
1998-02-16 22:12:45 +00:00
leo
301a4b3f87
Build the library before using it.... (Thomas Gerner).
1998-02-10 10:28:34 +00:00
leo
dda805c3d4
Accept an 68060 as cpu-type. (Thomas Gerner).
1998-02-10 10:25:08 +00:00
mycroft
b5c132e4d2
Prototype __flt_rounds() consistently.
1998-02-03 01:26:20 +00:00
is
b3fa451227
Amiga uses the common m68k/sig_machdep.c now. Also moved its definition from
...
the other 68k ports' files.${port} to arch/m68k/conf/files.m68k.
1998-02-01 21:23:24 +00:00
mycroft
15ae963bea
When dumping, print out the device number as major,minor.
1998-01-24 16:46:23 +00:00
leo
8d5fa0c992
Fix a bug in the colormap handling. (Thomas Gerner)
1998-01-21 09:07:46 +00:00
leo
123d97732f
Be more accurate with errors on read(2) (as suggested by Ted Lemon).
1998-01-16 09:19:37 +00:00
leo
bb4f2f4ebe
Add: bus_space_{read,write}_region_N() and bus_space_set_{multi,region}_N()
...
functions.
1998-01-16 09:17:48 +00:00
leo
dc8f785187
Make this compile again after the latest config changes.
1998-01-15 13:06:27 +00:00
thorpej
2d73f5ea18
Update for changes to config.
1998-01-12 18:03:58 +00:00
thorpej
6ac24f05df
Garbage-collect VM_PMAP.
1998-01-06 08:46:11 +00:00
thorpej
2317f9064e
Garbage-collect pm_stchanged.
1998-01-06 08:40:50 +00:00
thorpej
07f835de1f
Garbage-collect PMAP_ACTIVATE() call here; it's no longer necessary.
1998-01-06 07:49:36 +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
ab9b250a37
The user segment table pointer is no longer kept here. Change it to
...
a spare field.
XXX Should be changed to use generic m68k PCB!
1998-01-06 06:47:04 +00:00
thorpej
a8f80ad4fd
Fix a bogosity apparently inherited from when the Utah 4.3BSD code base
...
was converted to use Mach VM for Net2/4.4BSD. The user segment table
pointer was originally stored in the PCB. When Mach VM came along,
however, it was also stored in the pmap, and loaded into the PCB in
pmap_activate(). pmap_activate() would then note that the PCB's USTP
was now in sync with the pmap's USTP, and the low-level context switch
code would use the value from the PCB.
However, pmap_activate() would also load the hardware MMU context if
the pmap was the current pmap (or, in the case where pmaps can be shared,
such as in NetBSD, if the proc was the current proc). The low-level
context switch code would then reload the hardware _again_ using the
USTP from the PCB.
However, the optimization of not calling pmap_activate() if "stchanged"
was false ended up causing some processes to use stale USTP values from
the PCB when the low-level context switch code reloaded the hardware!
This was noticed by using a real vfork(2) (which worked for some time
before failing, surprisingly!)
Since I'm hard pressed to find any real optimization here (since the
hardware was always reloaded once, sometimes twice!), the code now always
calls pmap_activate(), which uses the correct USTP value (the one in the
pmap). The PCB's USTP is now ignored, and should eventually be g/c'd.
Another optimization can actually be performed, and I have added a comment
describing what it is, but have not yet implemented it.
Also note that most of the loadustp() functions where actually incomplete.
This has been corrected. These functions should probably be split up into
MMU-specific operations, and called indirectly, rather than doing constant
run-time decision making based on values that will never change during the
course of a boot's lifetime.
1998-01-05 23:16:21 +00:00
perry
015e898c02
RCSID Police.
1998-01-05 07:02:46 +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
mikel
733dae35bc
use ${SIZE} instead of "size" (somehow this one got missed)
1998-01-01 08:11:41 +00:00
leo
4702594559
Correct size of brwrite():trbuf[] (Mellon).
1997-12-15 09:21:04 +00:00
leo
18d2ccf637
Add '-H' option for writing High density floppies.
1997-12-10 09:32:35 +00:00
tv
0a558b3f1f
Standardize COMPAT_SUNOS -- remove all references to
...
sunos_exec_aout_makecmds() in machdep.c for various architectures and put
it in exec_conf.c like the other emulations; rename exec.h to
sunos_exec.h.
1997-12-04 15:33:17 +00:00
leo
9d09eab68e
Preserve the bootflags in the processor-type test (== make the loader
...
work again for the TT030).
1997-12-04 07:39:05 +00:00
kleink
c87631771e
Add COMPAT_13.
1997-12-01 14:52:51 +00:00
fair
315f8de9c2
add pseudo-device rnd, commented out
1997-11-20 08:11:14 +00:00
lukem
6c986561ee
* add commented out DDB_HISTORY_SIZE=100 if DDB exists in config file
...
* fix up use of 'options<SPACE><TAB>'
1997-11-17 01:57:23 +00:00
thorpej
ce4c770f88
Make sure CPP, AR, AS, and RANLIB are defined.
1997-11-12 23:11:50 +00:00
thorpej
a421995756
Define LORDER, NM, and TSORT here, like we do the rest of the tools.
1997-11-12 22:25:31 +00:00
lukem
3e8e744696
getopt returns -1 not EOF
1997-11-01 06:49:14 +00:00
is
a16fd7d74e
Make these compile after m68k/m68k.h 1.4->1.5.
1997-10-26 21:41:34 +00:00
leo
e1adcbe609
Do not relocate the kernel to TT-Ram by default. Some TT's choke on this. You
...
can now opt for relocation by either setting the RELOC_KERNEL config option
or patching 'reloc_kernel' to something other than zero.
1997-10-23 11:26:19 +00:00
leo
c289655641
Make this compile again by including <vm/vm.h> and moving sysctl.h below
...
that include.
1997-10-22 08:04:07 +00:00
explorer
80513cb5ae
o Make usage of /dev/random dependant on
...
pseudo-device rnd # /dev/random and in-kernel generator
in config files.
o Add declaration to all architectures.
o Clean up copyright message in rnd.c, rnd.h, and rndpool.c to include
that this code is derived in part from Ted Tyso's linux code.
1997-10-13 00:46:08 +00:00
mycroft
20b05a6bc4
Make these closer to working.
1997-10-11 09:10:25 +00:00
scottr
017e6c7f10
Address PR 4120 by synchronizing v{,un}mapbuf() with the i386 vm_machdep.c,
...
v 1.27, pulling in changes made there by Charles Hannum. Also, incorporate
a few tweaks made by Gordon W. Ross in the sun3 version of this change.
1997-10-11 06:38:45 +00:00
leo
6ecab62b97
VM_MAX_ADDRESS is the user max address -- adjust (From Chris Hopps).
1997-10-10 11:05:53 +00:00
is
9f6d6708f4
Help crosscompiling, by as -> $(AS). Define AS?= as in the calling
...
Makefile.$(ARCH)es. Will hopefully fix the (remaining) part or pr4010.
1997-10-09 20:40:18 +00:00
jtc
324ce8d6cb
Fix tipo inherited from old version of TNF copyright template.
1997-10-09 07:37:50 +00:00
thorpej
e3834cc351
Implement DIOCGDEFLABEL.
1997-10-08 23:37:50 +00:00
is
37fce9c90f
Oops, forgot to commit this when doing the recent 060SP Makefile change.
1997-10-07 19:26:11 +00:00
thorpej
92a347c574
Copyright assigned to The NetBSD Foundation.
1997-10-04 09:38:47 +00:00
lukem
7d508b124f
define SIZE?=size, and use ${SIZE} instead of size. makes cross
...
compilation easier
1997-10-03 07:17:00 +00:00
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
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
leo
a5d68d8e59
Move SWAPPAGER, VNODEPAGER and DEVPAGER options to std.atari.
1996-11-17 13:33:36 +00:00
thorpej
490126b07a
Use bitmask_snprintf().
1996-11-13 06:48:24 +00:00
leo
27c222f3e8
Add frequency table for Hades.
1996-11-10 21:52:37 +00:00
leo
1fcf303e02
Config file for the Hades.
1996-11-09 22:32:10 +00:00
leo
5d058e1b22
Add the Hades floppy driver.
1996-11-09 22:30:55 +00:00
leo
795ac1e7e2
Count in the Hades floppy driver.
1996-11-09 22:28:53 +00:00
leo
76cc53af70
Hades floppy driver.
1996-11-09 22:27:25 +00:00
leo
d1e1b34b28
Move the vector-table to kernel data space, so we can write to it.
1996-11-09 22:24:49 +00:00
leo
8481cf5e5b
Adapt to changes in the bus-interface; bus_[mem|io] -> bus_space. Thanks Jason.
1996-11-08 14:21:02 +00:00
leo
fb386a941d
pba_bc -> pba_pc
1996-11-08 14:18:20 +00:00
leo
758e7a3708
Adapt to the change in the floppy minor-number sceme.
1996-11-08 14:17:08 +00:00
leo
489c388d79
Clear d0 before using it to turn off the 040 MMU. Clearing d0 was a side-effect
...
of the code removed in my previous commit.
1996-11-08 14:15:36 +00:00
leo
626210d212
Move the definition for the floppy device from std.atari to the different
...
config files because the Hades needs another driver for it.
1996-11-08 14:12:19 +00:00
cgd
8a3333b2a9
Fix an inconsistency that came in with Lite: setrq() was renamed to
...
setrunqueue(), but remrq() was never renamed. Rename remrq() to
remrunqueue().
1996-11-06 20:19:19 +00:00
leo
dce3bea50b
Add msconfig to SUBDIRS.
1996-11-06 15:35:47 +00:00
leo
8d079317a6
pmap_changebit() no longer static.
1996-11-06 15:33:56 +00:00
leo
f2501673f5
Prototytpe bus_mem_map/bus_mem_unmap functions.
1996-11-06 15:33:05 +00:00
leo
44263b4564
Add the external drive to the standard setup.
1996-11-06 14:05:31 +00:00
leo
5f28db13df
- Make it's behaviour on minor numbers identical to that of the Hades
...
floppy driver.
- Fixup format types in the debug-printf's
- Don't print empty lines on unconfigured drives.
- When a drive is detected, show it's default format.
---- Warning: minor numbers are shifted! ---
1996-11-06 14:03:15 +00:00
leo
8bad301566
Re-arrange the order in which devices are scanned for a root filesystem.
...
It's really bogus to try a floppy before a harddisk.
1996-11-06 13:57:12 +00:00
leo
37ae30708a
pmap_changebit() can no longer be static since the bus_mem* functions use
...
it.
1996-11-06 13:55:38 +00:00
leo
bc03497d55
Add bus_mem_(un)map functions.
1996-11-06 13:53:35 +00:00
leo
11a4058f20
Remove fdopen->Fdopen cruft. This is no longer necessary.
1996-11-06 13:51:49 +00:00
leo
291d9eabda
These shouldn't have been imported...
1996-11-06 13:46:10 +00:00
leo
e285606c68
mouse configuration, by Thomas Gerner.
1996-11-06 13:38:12 +00:00
leo
0cda663b65
Make installboot work for 1.2 & 1.2A (should be part of 1.2 patches).
1996-10-25 20:05:04 +00:00
leo
599db9a26c
Nuke declaration of susword(). It's declared in systm.h now.
1996-10-25 20:02:34 +00:00
leo
819ba49d29
Nuke 2 useless instructions that only cause _doboot to panic now that
...
page zero is *properly* protected.
1996-10-25 20:00:39 +00:00
leo
a93d33fb93
db_memrw.c:
...
- Sync with hp300 version.
Machdep.c:
- Notify the vm-system that kernel-text is read/execute
- Notify the vm-system that page zero isn't mapped
[ Grrr.. How do you cancel a check-in when you find out too late they
should have different comments ]
1996-10-25 19:58:42 +00:00
leo
86c616102f
select -> poll
1996-10-16 12:57:11 +00:00
leo
226d874081
Add '-Wall -Wstrict-prototypes -Wmissing-prototypes' to CFLAGS.
1996-10-16 12:53:46 +00:00
leo
4a6637f783
Add EXEC_SCRIPT and EXEC_AOUT options.
1996-10-16 12:52:47 +00:00
leo
b87085e3a0
Update pathnames of included files for new version of config.
1996-10-16 12:50:30 +00:00
leo
b0b9a3e82c
locore.s now needs FR_SIZE.
1996-10-16 12:42:45 +00:00
leo
1bd559103e
Sync trace traps with the hp300.
1996-10-16 12:41:50 +00:00
leo
5038453647
Initialisation of proc0->p_addr. (Gordon Ross)
...
This, in conjunction with the trap.c changes, solve the crashes when
referencing illegal addresses in the debugger. Thanks Jason for providing
the trigger and solution ;-)
1996-10-15 20:51:59 +00:00
leo
a51538a2c6
- Some re-arrangements that make tracking of the hp300 version easier.
...
- Re-write panictrap() so that faults generated by the debugger can be
handled by the debugger.
- Add a small bit of extra checking to the MMU_FAULT case, to make it more
robust against pieces of the proc-structure being NULL (Jason Thorpe)
- If p == NULL at the entry of trap(), assign proc0 to it. Fixes a *lot* of
NULL-pointer dereferences. (Gordon Ross)
1996-10-15 20:46:45 +00:00
christos
17f5b2a175
backout previous kprintf changes
1996-10-13 04:10:34 +00:00
leo
3d5284e11e
- Fix configuration name of 'lpt'
...
- add 'pcibus' as a mainbus device.
1996-10-11 21:07:02 +00:00
leo
64096bf6d1
- add a iteet_ioctl function so iteconfig(1) can be used to select the
...
screen geometry.
- Re-arrange et_loadmode() and et_inittextmode() to write into shadow
register set instead of writing to the card-registers directly.
- provide et_hwsave()/et_hwrest() functions to transfer the card-registers
to and from the shadow set.
1996-10-11 21:02:48 +00:00
leo
6cfe8836c4
*** empty log message ***
1996-10-11 21:01:26 +00:00
leo
b88d6013b6
Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
...
per ite-type.
1996-10-11 20:50:34 +00:00
christos
60dd5ceebe
printf -> kprintf, sprintf -> ksprintf
1996-10-11 00:06:28 +00:00
thorpej
b1b86c0c98
Merge the netbsd-1-2 branch into the mainline.
1996-10-08 23:40:40 +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
leo
84ed172edb
Minimal bus.h. Together with the minimal pci implementation, we have just
...
enough functionality to find a VGA card....
Will be expanded when I buy more pci-cards ;-)
1996-10-05 21:45:30 +00:00
leo
080ee49d98
minimal pci support
1996-10-05 21:41:36 +00:00
leo
3b5c181c8b
Checkpointing my et4000 work. Note that the et-console will not be
...
functional until the minimal pci-support is checked in.
1996-10-04 07:27:52 +00:00
leo
f5fd8ff1f9
Additions for the et4000 driver & pci-bus.
...
Note that there are still missing pieces so both et4000 & pci can not yet
be used.
1996-10-04 07:12:39 +00:00
leo
982a1c25f7
Add the COMPAT_12 options. For GENERIC, also add the ch/ss/uk devices.
1996-10-04 07:08:28 +00:00
leo
c2f94265a2
Only prototype the writeback() function when the M68040 option is defined.
1996-10-04 07:04:46 +00:00
leo
8eb8b97265
Grok the broken ICD partition format. This should be part of the 1.2 patches.
1996-10-04 07:02:17 +00:00
leo
d8a6bb6779
Add ch/ss/uk devices.
1996-10-04 06:56:25 +00:00
leo
ffd121b446
More preps for et-driver.
1996-09-25 15:15:07 +00:00
leo
f97dcb95be
The KDASSERT macro is now defined in libkern
1996-09-25 15:10:15 +00:00
leo
d9ec4b0569
Second arg to print function is now 'const char *'
1996-09-25 15:07:40 +00:00
leo
8e7f6c2cf5
Catchup with -current:
...
- Extra argument to boot()
- select -> poll
1996-09-25 15:03:20 +00:00
leo
0e805391a3
Prepare for (soon to come) et4000 PCI console
1996-09-16 06:49:03 +00:00
leo
ef074b3031
Prepare for (soon to come) et4000 PCI console.
1996-09-16 06:43:32 +00:00
leo
edc2de87d0
Initialize MFP2 on both TT&HADES.
1996-09-16 06:28:41 +00:00
leo
11c0ef7354
atari_realconfig now defined in <atari/device.h>
1996-09-16 06:27:11 +00:00
leo
1b4ecd8255
Fix bootcode to work on the 68040.
1996-09-16 06:25:45 +00:00
leo
72c7d3589f
Get it into sync with the previous changes to locore.s
1996-09-16 06:24:36 +00:00
leo
7a128f0c7e
Sync with changes in the grf/ite/view system.
1996-09-16 06:22:27 +00:00
leo
70747dc24f
Add support for Hades platform.
1996-09-16 06:20:44 +00:00
leo
4f51ebc528
- Add M68040 option where appropriate
...
- Reflect changes on the grf/ite/view system for et4000 console support
- Set timezone to 0
- Document FPSP option
1996-09-16 06:14:21 +00:00
thorpej
e469c7beca
Use <m68k/cpu.h>.
1996-09-11 00:11:42 +00:00
leo
0f821f9aa6
Conform to the hp300 style of trap.c as suggested by Jason.
1996-09-10 09:05:40 +00:00
leo
2340b495ce
- Add suline() for the new trap.c (Shouldn't this move to m68k/copy.s?)
...
- Fix some bugs in the interrupt handlers introduced by the new mapping
of the st io-area.
1996-09-10 08:58:42 +00:00
leo
7a87b91e9b
Add suline/susword prototypes for new trap.c
1996-09-10 08:45:16 +00:00
mycroft
b3ffba62a6
Move strip(1) flags into a separate variable, so that $STRIP can
...
be passed to subordinate make(1)s. Remove $TOUCH. Add HOSTED_CC,
HOSTED_CPPFLAGS, and HOSTED_CFLAGS, and use them when depending genassym.
1996-09-09 21:06:55 +00:00
thorpej
de5110f41e
Use <m68k/exec.h>.
1996-09-08 01:00:35 +00:00
mycroft
e6dd44f034
Use SIGBUS iff we get a legitimate bus fault. Use SIGSEGV for page protection
...
violations (per Solaris, SVR4, AIX, Linux, Irix, and SunOS).
1996-09-07 22:26:41 +00:00
mycroft
2bc736661a
Implement poll(2).
1996-09-07 12:40:22 +00:00
mycroft
fc3def4096
Remove duplicate declarations of LKM functions and macros.
1996-09-05 15:46:22 +00:00
mycroft
b3eac79b64
tty stop functions really should return void, not int, and certainly not both.
1996-09-02 06:43:16 +00:00
mycroft
30a617c634
Wrap the default definition of `S' in `.ifndef'.
1996-08-31 21:40:47 +00:00
cgd
71ad30d0e9
(1) set scsi_link channel to either the appropriate channel (if a
...
multi-channel driver), or to SCSI_CHANNEL_ONLY_ONE if a
single-channel driver.
(2) use scsiprint() rather than a locally-defined autoconfig print
function, and kill any locally-defined print function.
1996-08-28 18:59:15 +00:00
cgd
2a73ef60b7
change cfprint_t type definition to take a const char *, rather than
...
a char *, because that's what was really intended, and because
if the print function modifies the string, various things could become
unhappy (so the string should _not_ be modified).
1996-08-27 21:53:46 +00:00
mrg
b8e9f36083
add COMPAT_12.
1996-08-26 23:39:36 +00:00
leo
4c996d1a2a
Fix a compiler error.
1996-08-23 20:06:29 +00:00
leo
2df99561c9
- Make the Hades a valid machine type
...
- Add some 68040 specific prototypes.
1996-08-23 11:21:01 +00:00
leo
0f6a2c3cef
- Make all definitions relative to 'stio_addr'
...
- Add the PCI areas.
1996-08-23 11:17:00 +00:00
leo
3a68f68754
Don't use an absolute I/O adress.
1996-08-23 11:14:59 +00:00
leo
26039da980
Fix some compiler warnings.
1996-08-23 11:12:51 +00:00
leo
dd183a092a
Recognize the Hades as a valid machine type.
1996-08-23 11:11:51 +00:00
leo
d546be9627
Make the fpu config info print somewhat nicer.
1996-08-23 11:10:10 +00:00
leo
6ab410f919
- Make it compile & work for the 68040
...
- Map the various I/O areas just below Sysmap
- Cleanup a bit
- Fix machine-type detection to recognize the Hades.
1996-08-23 11:07:56 +00:00
leo
6aab91675e
Revert to polled-DMA on Falcon.
1996-08-16 08:25:46 +00:00
mycroft
558d72128e
Put into . Remove hooks for `config-dependent' and
...
`device-driver' flags.
1996-08-12 00:51:24 +00:00
mycroft
cf67f29afe
* Add a HOSTED_C_C variable, which strips `-p', `-pg', and
...
`-nostdinc', and use it when building genassym.
* Use `-nostdinc' just to be sure we're self-contained.
1996-08-10 06:07:57 +00:00
mycroft
f94052ed3a
* Define CWARNFLAGS and MKDEP in some moderately consistent fashion.
...
* Make S expand to an absolute path at compile time.
* Use `-S' rather than `-x' to remove debugging symbols.
* Garbage collect unused variables.
* Reverse a handful of port-specific changes that do not correspond to
the common build model and are not needed.
1996-08-10 05:29:24 +00:00
mrg
5abbf990f3
Change reboot(2) to take two arguments: bootopt like normal and also
...
a boot string for firmware that can do this, such as the SPARC and
the sun3 models. It is currently silently ignored on all other
hardware now, however. The MD function "boot()" has been changed to
also take a char *.
1996-08-09 10:30:23 +00:00
leo
1285fe171c
Checkpoint integration of 68040 MMU support. Also fix oversight in allocation
...
of (virtual) I/O area address range.
1996-07-20 20:52:30 +00:00
leo
95c6d227a5
Add a prototype.
1996-07-20 20:48:36 +00:00
leo
5a1a623e41
keymap -> keymaps
1996-07-15 06:35:43 +00:00
leo
50bb4b170b
Sync with cleanup of atari_init.c
1996-07-12 13:27:37 +00:00
leo
5d0677fbdf
Fix a prototype warning.
1996-07-12 13:17:45 +00:00
leo
38cbb4640f
Sync with atari_init cleanup
1996-07-12 13:16:31 +00:00
leo
a6a57e8631
- Cleanup a bit
...
- Remove mapping of page zero
- Remove hackery around the first 8 bytes that were mapped to ROM by hardware
1996-07-12 13:14:23 +00:00
leo
f8f011861e
- Cleanup a bit
...
- Remove the kernel-jump-to-zero code as page zero mapping is removed
- Weed out cpu040 usage, use mmutype instead
- Fix doboot code
- add fill for page zero
- use m68k/sigreturn.s
1996-07-12 13:12:40 +00:00
leo
4b5bff0d0f
During a rather lengthy debug session with Markus Kilbinger (Thanks again!),
...
we managed to kill the following SCSI-driver bugs for the Falcon:
- The Byte_Count_zero bit of the falcon DMA controller does not always
tell the truth! This caused the SCSI-driver to choke on devices that
disconnected in the middle of a DMA-transfer (mostly removables).
- Printing debug info about the 5380 on the Falcon is *only* permitted
when DMA is not active.
- Some functions forgot to remove possibly pending sofware interrupts
- Some debug options didn't allow debugging a single target while they
could easily be made to do so. This is fixed.
1996-07-05 19:35:35 +00:00
leo
f1af6a2252
Add missing spl0() call.
1996-07-05 19:22:21 +00:00
leo
ec3f2031a8
Change accesses to 'ssir' to inline asm macro's.
1996-07-04 07:25:13 +00:00
leo
3fa481b30d
Update to match NetBSD version.
1996-06-29 20:51:58 +00:00
leo
1ed5af88ee
Define LIBCRT0. This tries to defeat the attempts of bsd.prog.mk to add
...
${DESTDIR}/....crt0 to the link rule when $DESTDIR is set.
1996-06-29 20:48:41 +00:00
leo
4b558a4b6a
Remove references to kern_extern.h
1996-06-29 20:24:25 +00:00
leo
1cf023be2b
s/keymaps/keymap/
1996-06-22 21:01:29 +00:00
leo
d7160491e3
Install loadkmap in the default distribution. The keymap files are moved
...
to ..../stand/keymaps and have their own Makefiles there.
1996-06-22 20:21:55 +00:00
leo
323c486e74
Add the subdirs: binpatch, keymaps and loadkmap.
1996-06-22 20:18:15 +00:00
leo
1a5ae2120a
Atari keyboard maps
1996-06-22 20:14:09 +00:00
leo
e07a535f4e
Some minor nits.
1996-06-20 19:41:01 +00:00
leo
2c4c524e54
Use -S rather than -x for "normal" link flags.
1996-06-18 11:12:32 +00:00
leo
1301d25702
Pull down from release. Sorry, should have been the other way around....
1996-06-18 11:10:04 +00:00
leo
cf50b9a115
Add fpfault & bus error handling corrections from Ignatios Souvatzis.
1996-06-18 06:13:46 +00:00
leo
d84f4c4b18
Add tty_attach() calls.
1996-06-18 05:54:59 +00:00
cgd
352d972c94
locc() is unused. Remove it from the machine-independent kernel interface.
1996-06-10 15:33:33 +00:00
leo
e81bea0de0
Add loadkmap
1996-05-30 13:44:36 +00:00
leo
0b59a91269
Add missing spl(x). (Jason Thorpe)
1996-05-30 13:41:58 +00:00
leo
5d8d243a6e
Add UCONSOLE option.
1996-05-29 12:28:06 +00:00
leo
d48f93eef5
Add 'kernel_text' symbol (Gordon Ross).
1996-05-26 20:50:53 +00:00
leo
c4b5129d5d
Add edahdi to the subdirs.
1996-05-16 20:03:53 +00:00
leo
9e086936f3
Remove files commited in the wrong directory. Sorry.
1996-05-16 20:02:33 +00:00
leo
15f7f8dcfd
edahdi, an AHDI partition-id editor
1996-05-16 19:51:25 +00:00
leo
4001987d06
Make a BOOTX(tra) config file. It suits more people than BOOT and it allows
...
me to keep the BOOT config small.
1996-05-15 12:57:32 +00:00
leo
b4ca145026
Get in sync with the mac68k version of the 5380 driver. Also increase
...
the maximum values of wait_req_xx() functions so some old (slow) scsi-1 drives
will work.
1996-05-15 09:21:29 +00:00
leo
b0db2f6250
French keyboard map (Cedric Moreau).
1996-05-15 09:15:14 +00:00