Commit Graph

282 Commits

Author SHA1 Message Date
leo 35d120d71d Some extra range-tests on the RTC values. 1996-02-11 12:42:19 +00:00
leo 2bbdc4b9c7 Be a bit more carefull when accessing the proc structure on a kernel buserror. 1996-02-11 12:41:25 +00:00
leo 8d7918526b Various small fixes. 1996-02-10 22:10:45 +00:00
leo 063216ccfd Remove reference to setjmp.h 1996-02-09 20:53:59 +00:00
leo 89bbb8b2fb Catchup with the future. 1996-02-09 20:52:04 +00:00
mycroft 753fe3a25a Fix mkdep problems due to missing flags. 1996-02-09 02:21:13 +00:00
christos 2c8314f73c vm prototype changes 1996-02-05 02:06:38 +00:00
mycroft 5bc076e17e Use `-traditional-cpp' when building .s and .S files. 1996-02-03 00:43:50 +00:00
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
mycroft 9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
gwr c2c1c1b11a Move struct definitions to MD code. 1996-01-24 19:21:40 +00:00
leo ae2b8aaf1f STANDALONE -> TOSTOOLS 1996-01-23 20:34:07 +00:00
leo 1481622cdb Fixes 'hanging' problem when closing a serial port. 1996-01-23 09:35:15 +00:00
leo 88a221b7fb BBSIZE -> BBMINSIZE 1996-01-20 13:54:46 +00:00
leo 567396ea78 Use symbolic constants for ATARI_ANYCPU instead of dropping in a hex-value. 1996-01-19 13:54:12 +00:00
leo a946c7f421 Special handling for 2 and 4 byte sized transfers. The makes accessing
device registers work in a sane way. (gwr)
1996-01-19 13:51:11 +00:00
leo 58758809e5 - Remove FPU defines, the FPU-type is no longer determined by the loader.
- Add some forgotten CPU-types (Waldi Ravens).
1996-01-19 13:46:56 +00:00
leo cb560ce386 Move things around a bit to make all names fit into the [8.3] namespace
of msdosfs.
1996-01-16 15:14:53 +00:00
thorpej 57219ebad3 Remove vnode_if.[ch] during a "make clean", per PR#536 from
Dan Carosone <danielce@ee.mu.oz.au>.
1996-01-14 21:06:47 +00:00
leo 9186c7668f The changes frpm Paul Goyette with respect to the driver trace require
DBG_PID to be defined to an interger value....make it so.
1996-01-14 13:06:37 +00:00
leo 485b90b6f1 Fix the same typo in all files. Yanking is soooo beautiful.... 1996-01-09 09:55:06 +00:00
leo 7ab5688547 Remove a stray MAXPARTITIONS definition. 1996-01-07 22:30:41 +00:00
leo 783817cc8b Part of the tostools reorganization. All directories now contain a Makefile
and the user interface to the various tools has been standarized.
1996-01-07 22:05:31 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
leo 94bf233ae9 Atari partion table checker. Checks the validity of AHDI and/or NetBSD/Atari
partition tables. (Waldi Ravens)
1996-01-07 21:54:15 +00:00
leo b24ea33cac Common library for all tostools. (Waldi Ravens and myself) 1996-01-07 21:50:49 +00:00
leo 125fcfc979 These files can now be found in tostools. 1996-01-07 21:10:37 +00:00
leo aadb005f6a Reorganization of the stand-directory. All tools that are TOS specific and
can (probably) only be compiled under TOS are now being grouped in the
sub-directory 'tostools'.
1996-01-07 20:57:03 +00:00
leo 57a3b5b00c Keep more debugging history (Paul Goyette). Synced with mac68k version. 1996-01-06 20:17:15 +00:00
leo 356a61ab95 Add an nvram-driver. This driver makes it possible to read/write the
configuration info stored in the nvram on the mc146818.
1996-01-06 20:10:41 +00:00
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
leo c8574c59f7 Allow selection of Falcon (videl) video modes other than the mode selected
on startup (Thomas Gerner).
1996-01-02 20:59:20 +00:00
leo b46db7160c - Remove an unwanted interference between the 2 channels.
- Allocate the ringbuffer on a channel's first open.
1995-12-25 14:16:50 +00:00
leo 608b4cc605 Fix possible integer overflow when allocating PT map. 1995-12-25 14:13:53 +00:00
leo 7682dd538b Add doshutdownhooks 1995-12-25 14:09:13 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
leo ea5c7dd80d Oops, forgot to change one fixed address into a define. 1995-12-18 20:40:59 +00:00
leo 1e5442c0ba Fixes for devices that don't support linked commands. (Paul Goyette) 1995-12-18 20:37:51 +00:00
leo 64f1b42bb4 Correct PCLK value. 1995-12-16 21:45:31 +00:00
leo 987f8774c3 Make an NMI activate the debugger. This only works on a TT and needs a small
hardware patch. This makes it easier to debug drivers that hang on an ipl
> splsoft.
1995-12-16 21:40:28 +00:00
thorpej de6dad9228 Move bcopy/ovbcopy/memcpy into m68/m68k/copy.s, which is used by all
m68k ports already anyhow.  No use in keeping 6 identical copies of this
function around.
1995-12-11 02:37:55 +00:00
leo 8dff161947 Make sure that the motor will be turned off when a floppy is inserted. 1995-12-10 14:25:12 +00:00
mycroft 0e0ac5ed68 cpu_fork() now returns void. 1995-12-09 04:37:23 +00:00
leo fc587cf917 Something forgotten in the namespace changes. 1995-12-03 14:34:24 +00:00
leo 70875fa68f Return a more sensible errno when someone is trying to set the unsupported
mdmbuf option.
1995-12-03 14:32:39 +00:00
leo 5f2ab2109f Use files.fpe 1995-12-01 19:53:07 +00:00
leo ca1cc64e20 Remove forgotten #endif 1995-12-01 19:51:53 +00:00
leo e267646321 KNF-ify 1995-11-30 21:55:01 +00:00
leo 291d8cbf3a Add kernel option for separate {stat,prof}clock 1995-11-30 21:52:46 +00:00
jtc 0cd793449e merge in changes from 1.1 release branch 1995-11-30 00:56:23 +00:00
leo 3b8542c63a The Falcon needs a delay after writing the dma_data register (Thomas Gerner) 1995-11-06 21:13:38 +00:00
leo ebc6d5a705 Use general bound-check function. 1995-10-14 20:17:46 +00:00
leo 79053fd0de Allow only transfers that are a multiple of DEV_BSIZE when doing 'raw' I/O. 1995-10-14 13:04:19 +00:00
leo 0e5fe20560 - Cleanup the arbitration
- Make sure the MON_BUSY flag is cleared after a DMA transfer. Otherwise
  we might end up with a 'lost-busy' situation unexpectedly. This will
  prevent the 5380 from driving the bus, which is not funny during
  reselections.
1995-10-08 13:34:23 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
leo 7d3bc89420 Get in sync with the mac68k version to incorporate Allen Briggs' changes
- emit MSG_ABORT/MSG_REJECT at the right times:
 - make MIN_PHYS machine dependent.
1995-10-05 08:52:53 +00:00
leo 1c107bd3e6 Add CD9660 option. 1995-09-30 12:48:12 +00:00
leo 44561deb01 Add support for the FX-card - Falcon mem. extension - (Nat!) 1995-09-23 20:31:21 +00:00
leo 7af927b56d Make sure the prototypes and inline definitions are included. 1995-09-23 20:29:16 +00:00
leo afea10f476 Correct mapping for new (iso-8859-1) fontsets (Thomas Gerner). 1995-09-23 20:27:15 +00:00
leo f28a41635b Make them compliant to iso-8859-1 (Thomas Gerner). 1995-09-23 20:25:34 +00:00
leo c150cc4d37 PROF -> GPROF 1995-09-23 20:23:28 +00:00
leo e44fc4282e Use -msoft-float as suggested by Gordon Ross. 1995-09-23 20:22:01 +00:00
thorpej 2d61359f60 Compile the kernel with -Werror and -fno-builtin. 1995-09-19 23:33:12 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
leo dff8e2275e Fix segment table reference bug (Michael Hitch) 1995-09-16 14:18:09 +00:00
leo a2a0fe9c66 - Handle devices that do not support identify messages (Allen Briggs)
- Add pdma_ready() hook (Allen Briggs)
- Increase timeout to 1000 (Matthias Pfaller)
1995-09-16 14:15:10 +00:00
leo e34d65cb12 - Fix a timing bug in the loop, that was introduced in the previous version.
- Added some code to reject unsupported messages correctly.
1995-09-12 19:58:53 +00:00
leo 7640742d5b Fix possibly endless loop (mycroft) and add fix requested by Allen Briggs. 1995-09-05 07:02:21 +00:00
leo eb9d1db57a Right align color values in the bytes. 1995-09-04 19:41:39 +00:00
leo eee0dbbda7 Allow chars > 0x7f to be displayed on the ite's 1995-09-04 19:39:21 +00:00
leo 75dfa4a054 Add memcpy entry as suggested by gwr. 1995-09-04 19:37:45 +00:00
leo 4eb595b1d2 Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs. 1995-09-02 19:44:45 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
leo 33a26fbd65 Remove FPU detection and report on stdout instead of stderr. 1995-08-29 20:35:15 +00:00
leo 8f5551f5fd Fix rule for manual page. 1995-08-29 20:26:39 +00:00
leo bd699fca29 Fix typo in previous commit 1995-08-28 20:07:04 +00:00
leo dd73a31ed8 Detect type and precence of an FPU in the kernel instead of relying on GEM. 1995-08-28 19:31:06 +00:00
leo 9c9abeb6c3 Add Falcon video support. Thanks to Thomas Gerner. 1995-08-20 18:17:09 +00:00
leo 34e65502e7 - make sure that there is 1 pending software interrupt max.
- read status before character, so the status won't be lost (Thomas Gerner)
- accumulate as much interrupts as possible in zshard()
1995-08-20 13:28:10 +00:00
leo 6b9a15416a - Add 'restbyte' handling for TT.
- Don't _ever_ do DMA for less than 512 bytes on the Falcon
- Fix bug in autosense-handling. Now asks for the correct number of bytes.
  Now it won't read ghost bytes on the tape anymore.
- Add missing braces as suggested by Matthias Pfaller
- Make it possible to debug requests on a specified number of targets
- Add debug option to show only transaction with error code != 0
1995-08-19 12:36:21 +00:00
leo db846246ba Add video registers and other defines for Falcon video. 1995-08-17 20:34:04 +00:00
leo 44d433786d Remove 2 wrong proto-types. 1995-08-17 20:32:50 +00:00
leo a1fe704278 Initialize the YM sound-chip to a sane state. 1995-08-17 20:31:31 +00:00
thorpej 66dcd8fd69 Add entries for the ccd. 1995-08-17 17:40:42 +00:00
mycroft ddd123a7c5 Replace splnet() with splsoftnet(). Add splnet(). Make splimp() > spltty(). 1995-08-13 00:21:54 +00:00
mycroft c5ec5c3003 Add splsoftnet(). 1995-08-13 00:03:11 +00:00
mycroft 80d7b0695a minphys() functions really should return void. 1995-08-12 20:30:45 +00:00
leo 24644e5151 New version of NCR5380-SCSI driver. This version is far more generic than
the previous version. The machine dependent part contains the configuration
for both the TT and FALCON. The configuration files have been changed to
select SCSI-support for either TT, Falcon or both.
The configuration file for the Atari-Falcon will only get _really_ usefull
when the Falcon video part is finished.
1995-08-11 20:01:15 +00:00
leo 3f76d2e7eb Add disklabel support. In addition to the 'faked' disklables NetBSD/Atari
now also supports native NetBSD labels. When a NetBSD label is found it
overrules the Atari AHDI-partitioning.
1995-08-05 20:24:16 +00:00
leo cd73c9f0cb Add middle button emulation. 1995-07-27 06:35:46 +00:00
leo 2826d4fa30 A forgotten file for the kbdmap fixes. 1995-07-25 13:49:26 +00:00
cgd ffe4785a58 update SCSI minphys routines' definitions to match standard minphys()
definition and usage.
1995-07-24 07:33:32 +00:00
cgd da9c1b5e48 fix minphys so that it actually works properly 1995-07-24 07:31:45 +00:00
leo 052e19d7fd Change and fix the way of keyboard mapping. Each virtual console has it's
own private keymap, initialized on open from the system-keymap. Both
system and private keymaps are settable.
1995-07-24 05:56:06 +00:00
leo a4578576c6 Added -f option to reload system-wide keymap (instead of current screen one). 1995-07-24 05:47:48 +00:00
leo 5f98065492 Use the right includes 1995-07-24 05:44:43 +00:00