Commit Graph

90112 Commits

Author SHA1 Message Date
augustss 972cd7f492 Change copyright date. 2001-12-24 18:27:09 +00:00
chs ed160d6aac make this compile again after -ffreestanding. 2001-12-24 18:20:50 +00:00
chs c356097d58 use ELF instead of a.out symbols now. 2001-12-24 17:57:19 +00:00
chs e5b36c6564 typo in last. 2001-12-24 17:56:59 +00:00
chs c5fffebac0 needed for ELF, just include the m68k common header. 2001-12-24 17:56:31 +00:00
dbj d91a86f994 revert revision 1.13
this turns single stepping back off since it doesn't correctly work
note that without single stepping, several things do not work as
expected, including continuing from interrupts
2001-12-24 16:57:40 +00:00
mycroft 913449a520 Disable the atexit(_IO_cleanup) for two good reasons:
1) There is already a destructor that does this.  The atexit() is superfluous.
2) If libstdc++ is loaded dynamically by dlopen() and then is removed by
   dlclose(), the pointer is no longer valid and the program would core dump
   at exit() time.  (This caused xmms to core dump at exit when xmms-sid was
   installed, for example.)
NOTE: THIS NEEDS TO BE APPLIED TO THE `TOOLCHAIN' VERSION.
2001-12-24 16:38:19 +00:00
augustss d9811dfdb5 Add a missing 4. 2001-12-24 13:54:11 +00:00
augustss bb14260c36 Note wd at umass. 2001-12-24 13:53:27 +00:00
augustss a6727606ec Add (commented out) wd at umass (for ISD adapters). 2001-12-24 13:47:13 +00:00
augustss ab7b323efa Add a preliminary version of a driver for In-System Designs non-standard
ATA-over-BulkOnly protocol.  The ISD chip can be found, e.g., in the
Archos MP3 player.
The driver still lacks real error handling.
2001-12-24 13:43:24 +00:00
augustss 45fc7e27e9 Regen. 2001-12-24 13:40:50 +00:00
augustss 0d60061a8b Add some more In-System based adapters. 2001-12-24 13:40:31 +00:00
augustss 56b5867371 Make the separation between wire protocol (umass.c) and command protocol
(umass_scsipi.c) more distinct.
It is now possible to add new command protocols with a minimum of change.
The umassbus.[ch] files have been renamed umass_scsipi.[ch] since this
reflects their purpose better.
2001-12-24 13:25:52 +00:00
jdolecek e71e5045dc Back off rev. 1.21, this is going to be handled via userland keymap file.
Discussed with Martin Husemann.
2001-12-24 12:39:55 +00:00
jdolecek d30b4c546d add uvm_loan(9) and uvm_unloan(9) 2001-12-24 12:30:38 +00:00
jdolecek 165f781c45 Some basic documentation of uvm_loan() and uvm_unloan() 2001-12-24 12:28:46 +00:00
christos 6e8072d607 enable the card before trying to establish an interrupt because we need the
ccr mapped on multi-function cards.
2001-12-24 12:07:27 +00:00
minoura 6894058edf ELF!! 2001-12-24 11:38:06 +00:00
minoura 09b4ffd576 ELF!!
Plus adopt my environment (TOKOCHAN is my development config as well
as an example).
2001-12-24 11:38:05 +00:00
minoura ebfadba677 ELF!! 2001-12-24 11:38:04 +00:00
augustss 26ea6daa53 Add a clarifying remark to the -a option. 2001-12-24 10:10:10 +00:00
christos d3d8a33acf change if defined foo to ifdef foo and change a c++ comment into a c comment. 2001-12-24 09:41:34 +00:00
christos d0b18148da make sure that we adjust the end of the subrange if we adjusted the beginning
of it, but the offset of the card. Fixes 'cannot map i/o space' on 3c562d
2001-12-24 09:37:53 +00:00
christos 0e9f2d7a35 when we disable, we first disestablish the interrupt and then the card.
when we enable, we first configure the card and then establish the interrupt.
This is so that the ccr is mapped on multifunction cards.
2001-12-24 09:30:40 +00:00
lukem 1c9f606d2a For dump_lfs(8), in getfstab(), only "lfs" (instead of "ufs" or "ffs").
Fix from Minoura Makoto in [bin/10525].
2001-12-24 03:02:34 +00:00
matt 46cf0c1543 Incorporate some gcc3.0 vax.md changes 2001-12-24 01:56:55 +00:00
matt c9073b0a26 Expand VAX ELF relocs into new style (with comments). Nuke OSABI shit. 2001-12-24 01:55:32 +00:00
lukem 6de0e99d81 change a lot of the "error" messages to display to stdout instead of
stderr, so that "sysctl -A" output is actually usable.  requested by perry
2001-12-24 01:30:38 +00:00
shin 3e560d975e make YBASE and EPOCHYEAR tunable. 2001-12-24 01:22:50 +00:00
shin f22f06769c fix debug printf() format string. 2001-12-24 01:21:27 +00:00
chs 529421342a update vm entries. 2001-12-24 01:07:06 +00:00
lukem 28073e3899 - use snprintf() instead of sprintf() when printing strerror.
(from openbsd via freebsd)
- use strtoll instead of strtoq()
2001-12-24 00:54:28 +00:00
chs 2981550892 update for changed vm knobs. 2001-12-24 00:49:36 +00:00
atatat 043e7e58b6 Redefine MENUC and MSGC so that non-new-toolchain platforms don't
lose.
2001-12-24 00:47:42 +00:00
mycroft cbfac6596e Make SNDCTL_DSP_POST a nop. It's explicitly *not* supposed to sleep, and as
it's merely advisory (and in fact is implemented as a nop in the OSS->ALSA
shim), it should be safe to ignore it.
2001-12-24 00:10:46 +00:00
jdolecek a89c5fcfcb Merge in changes sent by Michael Shalayeff, from OpenBSD port of this driver:
- use better default for DAC level (previous produced distorted output)
- preserve DAC setting in between openings
2001-12-23 23:14:59 +00:00
thorpej 030d89cdf0 Use ANSI declarations for static inline functions, and give them
the __unused__ attribute.
2001-12-23 23:08:41 +00:00
jdolecek c4e01300ad Add the AC97_HOST_SWAPPED_CHANNELS quirk for emuxki, and do some
whitespace cleanup. Streight from Yannick Montulet.
2001-12-23 22:54:08 +00:00
jdolecek 0a96b4c675 Whitespace cleanup, streight from Yannick Montulet. 2001-12-23 22:52:49 +00:00
thorpej 5ed948ecea The kernel is now built with -ffreestanding, so GCC built-ins are
disabled.  Explicitly re-enable some that we want to use, namely:

* memcpy() -> __builtin_memcpy()
* memcmp() -> __builtin_memcmp()
* memset() -> __builtin_memset()

* strcpy() -> __builtin_strcpy()
* strcmp() -> __builtin_strcmp()
* strlen() -> __builtin_strlen()

We might also consider some others for GCC 3.x.
2001-12-23 22:48:29 +00:00
thorpej d7536e1e95 Add -ffreestanding to kernel builds. It's not always safe to
use GCC's built-ins.
2001-12-23 22:45:07 +00:00
thorpej e6d41917cc Newlines in string literals are not supported by ANSI C, and some
preprocessors complain bitterly when they are encountered.

For now, terminate all lines with \n (and make each line its own
string literal).  The author of this code can figure out how to
do the sed trick another way.
2001-12-23 22:41:27 +00:00
thorpej c9dee7e411 Do not provide memcpy()/memset()/memcmp() macros as wrappers
around b*() functions (!!).
2001-12-23 22:36:16 +00:00
manu e398957bea more UNIMPL IRIX system calls in the table... 2001-12-23 20:57:30 +00:00
manu b8f46be2f6 Added getdents/ngetdents. 2001-12-23 20:15:03 +00:00
fvdl 08f29df58c As pointed out by mycroft and reflected in the comment, update the
directory inode before creating the new entry (not the freshly alloced
directory which isn't linked anywhere yet).
2001-12-23 16:16:59 +00:00
lukem b73cca7b92 clean up from time_t -> int32_t change in dumprestore.h 2001-12-23 14:42:22 +00:00
lukem f3017fa83a fix compile issues now that on-tape times are int32_t instead of time_t 2001-12-23 14:40:42 +00:00
lukem d7eda14fff Use "int32_t" instead of "time_t" for ``on tape'' times. (From FreeBSD.) 2001-12-23 14:38:03 +00:00