Commit Graph

6561 Commits

Author SHA1 Message Date
fvdl ad4540a424 Fix typo in comment. 1995-03-08 15:17:49 +00:00
mycroft 80d817b8de Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Small optimization to the Linux compat code, and don't blindly fail on if
the argument list size is invalid.
1995-03-08 07:12:28 +00:00
mycroft add762f71c Panic if the emulation type is invalid. 1995-03-08 06:49:22 +00:00
mycroft e10c1980be Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Some general cleanup, and undo many of the differences between this syscall()
and the hp300 version.
1995-03-08 06:46:03 +00:00
mycroft e518635e13 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Remove old notimp() kluge; replaced by a better mechanism.
Add some of the SunOS compat hooks.
1995-03-08 06:39:06 +00:00
cgd e363664703 fixed sized types, where appropriate. when casting pointers to
integers to do math on them, cast to long.  ioctl commands are
u_longs.
1995-03-08 02:56:49 +00:00
mycroft 4e7630d68f copy*() should use size_t, not u_int or u_long, and especially not a
combination of the two.
1995-03-08 02:48:20 +00:00
cgd 4df31d916c fix cd major number 1995-03-08 02:41:37 +00:00
cgd 95aec707ad fix major number for swap device 1995-03-08 02:40:34 +00:00
cgd d4c091877f cast pointers correctly, ioctl cmds are u_longs, most int \!= long
type bogons.  two on-inspection fixes.
1995-03-08 02:16:07 +00:00
cgd e7c1a9e7f9 cast pointers correctly, ioctl cmds are u_longs, most int != long type bogons 1995-03-08 02:14:50 +00:00
cgd 992d10a16e cast pointers correctly, ioctl cmds are u_longs. 1995-03-08 02:13:59 +00:00
cgd ad86c7f247 size for copyinstr should be u_long 1995-03-08 01:51:49 +00:00
cgd 32ec40eee8 cast pointer to long, not int 1995-03-08 01:51:38 +00:00
cgd 0597756675 size for copyinstr should be u_long 1995-03-08 01:49:37 +00:00
cgd 94d77171f9 need compat_43_getpagesize on COMPAT_OSF1 1995-03-08 01:46:53 +00:00
cgd aac6b08302 use u_long for copyin* 1995-03-08 01:33:20 +00:00
cgd 25b31ec7bc mount list is a circleq. 1995-03-08 01:28:55 +00:00
cgd 841ab5d975 size should be u_long, kill unneeded variable 1995-03-08 01:26:41 +00:00
cgd 6782442a8c use long for argc, envc, and u_long for len. 1995-03-08 01:23:00 +00:00
cgd 9c3af345b5 use NULL rather than casted zero 1995-03-08 01:21:30 +00:00
cgd 4f2d1996e7 needs systm.h 1995-03-08 01:20:50 +00:00
cgd c771cb43cf need COMPAT_OSF1 for some things 1995-03-08 01:20:19 +00:00
cgd b6dc9e0984 don't do things that should only be necessary for 'real' clists. 1995-03-08 00:54:44 +00:00
cgd 8c5643694c ecoff exec code needed for COMPAT_OSF1 1995-03-08 00:54:15 +00:00
cgd 0aa3387aad copy*'s last argument is a u_long pointer, not a u_int pointer.
make [fs]*word take/return longs as appropriate.  actually, these
functions need to be rethought, in general.
1995-03-08 00:52:59 +00:00
cgd 13b85385b4 add COMPAT_OSF1 to list of things which need stack gap 1995-03-08 00:51:42 +00:00
cgd a84fe027a2 make sysarch() look more like it should 1995-03-08 00:50:13 +00:00
cgd dd5a5290f2 update from my local tree; better CPU configuration, support for 3000/300. 1995-03-08 00:38:44 +00:00
mycroft e203e49ef5 Correct spelling of `fictitious'. Add patterns for optical memory devices.
From Alistair Crooks.
1995-03-07 21:46:06 +00:00
glass af55380e5a remove references to arptnew. fix spelling error 1995-03-06 19:06:05 +00:00
mycroft 3ab590b35f Undo an #include ordering change. 1995-03-06 10:58:25 +00:00
mycroft 8c5b80f538 Make this more type-safe for the Alpha. From the libpcap 0.0 distribution.
(Needs more work.)
1995-03-06 10:56:06 +00:00
fvdl 182c23c8bc Added a few more system calls.
More consistent alternate root file semantics throughout.
1995-03-05 23:23:37 +00:00
mycroft 6c30f4a892 Remove file systems. 1995-03-05 23:04:25 +00:00
mycroft d227b8e43c Update to reflect the state of the world. 1995-03-05 22:32:54 +00:00
mycroft 8868f2b126 Turn off writing to the message buffer before outputting dump information. 1995-03-05 22:20:37 +00:00
mycroft 3af978980c Make the dump code more consistent with i386. Mostly cosmetic. 1995-03-05 22:19:26 +00:00
mycroft 30a80c01af Make these consisteny with i386. Mostly cosmetic. 1995-03-05 22:06:42 +00:00
fvdl cb05b6a54b Two more "|| defined(COMPAT_LINUX)" that I somehow missed first time around. 1995-03-05 20:48:15 +00:00
chopps 5415d743fd add recognition of GVP 530 and change magnum scsi interrupt level to 6
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-03-05 13:01:24 +00:00
fvdl 7b5bd63e35 Extended a couple of defines with "|| defined(COMPAT_LINUX)" to make
things compile without requiring COMPAT_43 and/or COMPAT_09.
1995-03-05 08:52:17 +00:00
pk e924f34f97 Sync with sys/audioio.h for now, so SunOS compat works. 1995-03-04 09:58:45 +00:00
pk 26cb5d939f Move SunOS audio_info compat to <compat/sunos/sunos_ioctl.c>. 1995-03-04 09:55:40 +00:00
pk a1cfb5b325 Move SunOS audio_info compat stuff here (from sparc/dev/bsd_audio.c). 1995-03-04 09:50:00 +00:00
mycroft a6275a4782 Fix oversight in previous change. 1995-03-03 06:09:01 +00:00
cgd c9c62fc738 Follow suggestions put forth by Roger Ivie, and be a bit more careful
about setting and clearing bits in the CIR.
1995-03-03 01:38:56 +00:00
cgd e6e80015b0 use charles's cleaner message input code 1995-03-03 01:37:22 +00:00
cgd f877346baf don't reset the chip when setting paramters 1995-03-03 01:36:38 +00:00
cgd 940e25932e add support for more clock frequencies; use 1024 Hz. 1995-03-03 01:35:21 +00:00
cgd a3d2d64576 add config file for my 3000/400, macallan. 1995-03-03 01:35:03 +00:00
cgd 2ec5ed98e2 kill redundant 'cd' major number definition 1995-03-03 01:33:44 +00:00
cgd 03d9e9356e clean up machine type description comment. 1995-03-03 01:33:03 +00:00
cgd 41356f64e3 add support for clocks with hz > 1000, and for cases where 1000000 / hz != int 1995-03-03 01:24:03 +00:00
cgd b5d8c76eb5 copy down from libc. 1995-03-03 01:14:11 +00:00
pk 06e2052190 Update for 4/100 1995-03-02 20:53:11 +00:00
pk 35ef499ff3 Make more generic. 1995-03-02 20:48:17 +00:00
pk b14295f12d Tally interrupts. 1995-03-02 20:47:11 +00:00
pk 3edb6c02ff Rename audio*() functions to avoid conflicts with sys/dev/audio.c; this is an
emergency measure, driver needs to be converted to generic audio subsystem.
1995-03-02 20:37:46 +00:00
glass 14e57cebfa Fix for two bad tests in the raw IP socket input code. Only affected
raw sockets that were bound to a local address and/or connected to a
foreign address.   Fix from Dan McDonald <danmcd@itd.nrl.navy.mil>
1995-03-02 09:33:40 +00:00
chopps 7908b4858d add prototypes 1995-03-02 09:14:38 +00:00
chopps a55b765dd3 some cleanup.. 1995-03-02 09:12:27 +00:00
glass 1351103cc2 vn->vnd 1995-03-02 09:11:33 +00:00
cgd e0863b4e5a make b_pfcent go away. 1995-03-02 06:48:47 +00:00
cgd a44a276543 from jason thorpe: add ccdclose(), make it work with the MI scsi code,
and add knowledge of i386 disk device names (XXX).
1995-03-02 06:40:38 +00:00
cgd f694af6712 don't overload buffer structs; allocate and use a 'super-struct' instead. 1995-03-02 06:38:11 +00:00
chopps b87e0d85e6 allow 8 bit chars in ite. 1995-03-02 04:41:51 +00:00
chopps d6bb52b0c1 enable tun. 1995-03-02 03:33:02 +00:00
chopps 02437f14e8 enable tun support. 1995-03-02 03:30:14 +00:00
chopps c1a47078df fix long standing bug with A2091 and dma.
Move the copy from bounce buffer after dmafree() in the case of
the A2091 this allows the dma fifo to be flushed.
from osymh@gemini.oscs.montana.edu (Michael L. Hitch)
1995-03-02 02:23:50 +00:00
pk c897fc5127 Better 4/100 support. 1995-03-01 21:09:19 +00:00
chopps e3c2563328 Fixup (c)'s and ids. 1995-03-01 11:34:02 +00:00
pk e9df09cd2a Make setjmp/longjmp available on non-DDB kernels. 1995-03-01 09:26:29 +00:00
gwr ad3992c273 Call fpu_emulate to handle T_FPEMULI or T_FPEMULD traps. 1995-03-01 05:10:36 +00:00
gwr 04efad1126 Add option FPU_EMULATE 1995-03-01 05:07:39 +00:00
gwr bb34764434 Minor tweaks: avoid accidental FPU instructions,
allow DEBUG=-O override on the make command line.
1995-03-01 05:07:02 +00:00
gwr 54c3738c73 Add arch/m68k/fpe/fpu_emulate.c 1995-03-01 05:05:03 +00:00
gwr 6ca3d5b258 First cut at an mc68881 emulator. Works only for fmovem right now. 1995-03-01 04:56:27 +00:00
briggs 9940bbf358 Clean up via.c a good bit--still needs more. Get rid of some timing stuff
that we aren't using at all anymore.
1995-03-01 03:48:44 +00:00
briggs 50721bd46f Raise watchdog timer a tad. 1995-03-01 03:47:08 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
fvdl 3bf459f350 Added Linux compat code. 1995-02-28 23:24:35 +00:00
cgd 8bb0b6790c translate signal numbers for linux compat bins. 1995-02-28 23:21:45 +00:00
cgd 727c7f6f71 linux syscall arg gathering, handling, and return. 1995-02-28 23:18:03 +00:00
cgd 0e305fb3f7 add linux compat files, included on COMPAT_LINUX 1995-02-28 23:10:28 +00:00
cgd c7fde1470b various XXX changes that linux bins need to get their args correctly. 1995-02-28 23:09:01 +00:00
cgd b90bc60c78 switch entry for Linux a.out 1995-02-28 23:06:21 +00:00
cgd 5a282a7da1 linux compat needs stack space gap, too. 1995-02-28 23:05:18 +00:00
cgd 666e4f24a6 add an EMUL constant for Linux emulation 1995-02-28 23:04:47 +00:00
chopps 8449f292fa include new 2060 arcnet device 1995-02-28 22:06:05 +00:00
chopps 2ef7b2e7db new arcnet (2060) device from is@Beverly.Rhein.DE (Ignatios Souvatzis) 1995-02-28 22:03:59 +00:00
brezak 63d3904bce Use irq directly not as a mask 1995-02-28 21:47:42 +00:00
cgd 8f6f7fb7c9 use a buf-within-struct to avoid overloading b_pfcent. 1995-02-27 19:31:00 +00:00
cgd 504990e332 fill up device switches, clean up a couple of mistakes. 1995-02-27 16:36:07 +00:00
glass 48b5b94c4f fix some typos. from frank@fwi.uva.nl (Frank van der Linden) 1995-02-27 09:10:24 +00:00
cgd 2c0f263ee7 use wdc_softc in wdccd, rather than wd_softc; from chuck cranor. (pr 828) 1995-02-27 01:08:01 +00:00
gwr 60212a408a Use twiddle() in libsa (mycroft's changes) 1995-02-24 05:06:43 +00:00
gwr 776a63c347 Call trap() for FP faults (T_FPEMULI*) 1995-02-24 05:03:47 +00:00
gwr 9e1cc93d67 Fix mappings of PROM (ctlr,unit,part) to minor numbers. 1995-02-24 04:59:51 +00:00
gwr 3aca3d5d48 Make scsi device mappings Sun compatible. 1995-02-24 04:58:21 +00:00
ragge 09a91fa841 *** empty log message *** 1995-02-24 01:35:08 +00:00
mycroft cfe40d86f6 Move a couple of assignments from the parent to the child. 1995-02-23 23:41:43 +00:00
mycroft b39bd2f2d3 Move common code for finishing a buffer into a separate function. 1995-02-23 22:23:40 +00:00
mycroft ae95dc7533 More disks, tapes, MSDOSFS... 1995-02-23 22:22:07 +00:00
pk 98e7d1b075 Clean NONCONTIG stuff, allocate and map pv_table[] in pmap_init() entirely. 1995-02-23 20:00:57 +00:00
pk 02b0f2a929 floppy levels. 1995-02-23 19:58:16 +00:00
pk 6af8527cf9 cache_flush() only if vactype!=VAC_NONE 1995-02-23 19:56:24 +00:00
chopps 50278838af fix warnings (br#816) 1995-02-23 19:14:46 +00:00
ragge 389584724a Support for uVAXII, new tmscp driver added. 1995-02-23 17:53:16 +00:00
ragge 1e9d064a15 Def's for uVAXII added. 1995-02-23 17:51:41 +00:00
ragge 3841fa4dab Support for new CPU type (KA630 == uVAXII) added, tape driver. 1995-02-23 17:50:56 +00:00
glass f634dc196b preliminary arcnet support. uses lame but RFC address resolution 1995-02-23 07:19:49 +00:00
cgd 8976ed6a4b add an entry to the 'thanks' section. 1995-02-23 02:21:32 +00:00
pk e6e777cf5d Reorganize to use fast interrupt handler. 1995-02-22 21:37:15 +00:00
pk 7278038bbd add bsd_fdintr.s 1995-02-22 21:32:34 +00:00
pk f80c189dc5 Defines for floppy trap handler. 1995-02-22 21:17:53 +00:00
pk 366442b2e4 Really fix `call n'. 1995-02-22 21:16:51 +00:00
pk 171313384b Floppy trap handler. 1995-02-22 21:14:18 +00:00
pk 6b609180cd Have a variable point at the auxiliary-io register. 1995-02-22 21:13:01 +00:00
pk a9593288ee More on MACHINE_NONCONTIG: gain back wasted pages (and make it work).
Still more GC required.
1995-02-22 21:06:22 +00:00
mycroft 2986fc2fd0 Be less picky about revision numbers for some broken devices. 1995-02-22 19:32:33 +00:00
mycroft a01e93cf4e Use the twiddle() from libsa. 1995-02-22 08:18:18 +00:00
briggs 52c429f919 Clean up via.c a bit. Still needs lots of work. 1995-02-22 01:42:43 +00:00
mycroft e8f67573e2 Align the stack even if envp is NULL. 1995-02-22 01:39:56 +00:00
brezak 190e2004e6 New audio drivers 1995-02-21 21:49:10 +00:00
mycroft 3757efcbfc Clean up a little. 1995-02-21 10:14:53 +00:00
cgd 715c38c819 clean up a bit... 1995-02-21 09:52:58 +00:00
cgd 22fafded22 hyphenation foo. 1995-02-21 09:18:48 +00:00
mycroft f96a1945c5 Remove `nboot' completely. 1995-02-21 09:16:34 +00:00
mycroft 85eb2facec Use the libsa exec(). 1995-02-21 09:06:13 +00:00
cgd d56a14b9ae updated version of the readme 1995-02-21 08:24:52 +00:00
mycroft 97cf758f6d Add EFTYPE. 1995-02-21 07:52:45 +00:00
mycroft cba39e9e88 Correct some error strings, and add a few more. Don't print error messages in
exec(); let the caller do it.
1995-02-21 07:38:37 +00:00
mycroft 248e7ebfb0 Update prototypes. 1995-02-21 07:16:24 +00:00
mycroft d031ff677c exec() doesn't need to return a value. 1995-02-21 07:14:37 +00:00
mycroft 2af23945b3 Add the security check in the hp300 code, and clean a little. 1995-02-21 06:56:06 +00:00
mycroft 28983f9e3f Tweak to make the twiddler look better. 1995-02-21 06:39:01 +00:00
mycroft 906d699af5 Make the twiddler like libsa. 1995-02-21 06:34:58 +00:00
mycroft 2d7464c4b9 Add a generic twiddler. 1995-02-21 06:33:22 +00:00
brezak 559df5705c PSS driver; needs testing with config.new 1995-02-21 04:15:03 +00:00
brezak 39b8de8e12 Driver for Windows sound system; not extensively tested 1995-02-21 02:28:42 +00:00
brezak 32eec53a2d SoundBlaster driver for SB, SB16 and SBPRO 1995-02-21 02:28:06 +00:00
brezak a70ae7273c PAS driver; uses SB emulation for now 1995-02-21 02:27:18 +00:00
brezak 977594d1a9 Driver for ad1848 codec 1995-02-21 02:26:39 +00:00
brezak 1f5bdc75a9 New audio subsystem 1995-02-21 01:35:58 +00:00
mycroft 258efc53df Various:
* Fix some misused types.
* Encapsulate the protocols better.
* Rearrange the RPC stuff to work more like the kernel.  (Needs more work.)
* Remove a bunch of extra hair when reading a file over NFS.
* Use RPCAUTH_UNIX when talking to the NFS server.
1995-02-20 11:04:00 +00:00
chopps 41af5cf131 rtc now reads and writes erbe0011@FH-Karlsruhe.DE (Bernd Ernesti) 1995-02-20 00:53:42 +00:00
mycroft e9685fc52f Don't define netif_debug here. 1995-02-20 00:19:43 +00:00
mycroft fcf2c007f3 Define netif_debug in here. 1995-02-20 00:19:09 +00:00
mycroft 30b00f8878 Slight rearrangement. 1995-02-20 00:15:06 +00:00