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