Commit Graph

6542 Commits

Author SHA1 Message Date
mycroft b9e30291a4 Fix oversight in previous change. 1995-03-10 10:56:16 +00:00
chopps b3f539b09c add prototypes before each inline 1995-03-10 04:13:52 +00:00
gwr 91c5750c11 Add bwtwo, cgfour, fb 1995-03-10 02:31:29 +00:00
gwr d8b3f42519 Declare ee_console (for drivers). 1995-03-10 02:29:16 +00:00
gwr 7dc7eb1364 Fix PA_PGNUM for high addresses (cast to unsigned). 1995-03-10 02:28:01 +00:00
gwr 72fe3a22d4 Fix sunos compat code in sigreturn (from Chuck Silvers) 1995-03-10 02:24:42 +00:00
gwr fd555db42e Add bwtwo, cgfour, and fb 1995-03-10 02:22:21 +00:00
gwr f7f7ec9278 Treat high physical addresses like "device" space,
so frame-buffer devices don't go into the pv_lists.
1995-03-10 02:20:40 +00:00
gwr ee5c85f6a1 Synthesize KBD_L1|KBD_UP after return from zsabort.
Simplify PROM mapping stuff, use ee_console.
1995-03-10 02:15:03 +00:00
gwr 8119e6377d Add kdcnpollc so it can call fb_unblank 1995-03-10 02:09:35 +00:00
gwr 151da5e380 Provide ee_console for drivers. 1995-03-10 02:06:54 +00:00
gwr 376432783f Set speed on open (from Chuck Silvers). 1995-03-10 01:57:02 +00:00
gwr 63c3c68de4 New frame-buffer support from Chuck Silvers (plus some tweaks from me) 1995-03-10 01:50:28 +00:00
gwr d0dba9b2d2 Add missing break in switch (not that it mattered 8^) 1995-03-10 01:43:05 +00:00
mycroft fab1d8444c Update to match syscalls.master. 1995-03-09 17:33:07 +00:00
mycroft 57e6889435 Make memory map syscalls consistently use size_t. 1995-03-09 17:28:28 +00:00
mycroft 5e754ab356 Change bcopy() and bzero() prototypes to use size_t. 1995-03-09 15:47:44 +00:00
mycroft 2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft d004d5d34c Remove something I don't use. 1995-03-09 11:32:33 +00:00
mycroft b880de68c5 ifconf() takes a u_long, not an int. 1995-03-09 09:47:25 +00:00
mycroft dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft 1f5c42f54c Update types. 1995-03-09 08:55:47 +00:00
mycroft 7f1e89164d Update types, and fill in missing debug switch entries. 1995-03-09 08:54:37 +00:00
mycroft cf5fea3430 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
1995-03-09 08:03:51 +00:00
mycroft db7371a9b7 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Undo some of the differences between this syscall() and the hp300 version.
1995-03-09 07:57:42 +00:00
mycroft 75556e2e34 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Add syscall debugging hooks.
1995-03-09 07:47:33 +00:00
cgd f6589edbc7 spaces -> tab 1995-03-09 02:20:34 +00:00
pk 03b9b4a4bb Add a CR. 1995-03-08 20:58:05 +00:00
brezak 83fffa3985 Cleanup for SB16 (From Jan Sparud) 1995-03-08 18:27:35 +00:00
fvdl 9e7e8cd294 Add missing structure conversion for IPC_RMID. 1995-03-08 17:27:42 +00:00
pk d61b2703ef Allow for multiple virtual PROM addresses. 1995-03-08 15:51:03 +00:00
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