Commit Graph

6610 Commits

Author SHA1 Message Date
mycroft
b83b02cc20 Remove unneeded variable. 1995-03-12 12:09:18 +00:00
cgd
17d1e137e0 punt on using int8 types for chars, at least for now. char is 8 byts anyway. 1995-03-12 04:19:08 +00:00
mycroft
b9cb1cdd51 Update version number. 1995-03-12 00:13:47 +00:00
mycroft
40a71a0a2c Various minor cleanup. 1995-03-12 00:10:53 +00:00
ws
999d50b578 Initialize emulation in systems without NPX 1995-03-11 18:42:42 +00:00
briggs
5b07b9403e Nuke NEWCONFIG. It's not used anymore at all. 1995-03-11 13:56:36 +00:00
briggs
999ff6a003 Use M68030 and M68040 instead of MC... Thanks to Luke Mewburn for
pointing out this inconsistency.
1995-03-11 13:55:03 +00:00
glass
fc2c13bcb4 add COMPAT_LINUX 1995-03-11 10:12:25 +00:00
mycroft
aae5ebefc2 Add missing arguments to VOP_CLOSE() in some cases. From Frank van der
Linden.
1995-03-11 06:14:28 +00:00
gwr
91b78094fd Add more stuff! (/kern /proc bpf, ppp, sp, ...) 1995-03-10 23:52:10 +00:00
gwr
ac83684fb7 Define IS_MAIN_MEM(pte) better and explain it. 1995-03-10 23:45:02 +00:00
gwr
dc764bad7e Kill old declarations which now conflict... 1995-03-10 23:36:42 +00:00
fvdl
e0518ae749 Update automatically generated syscall files. 1995-03-10 23:10:35 +00:00
fvdl
faf1442285 Add the Linux pause() system call. Fix the arguments to sigsuspend(). 1995-03-10 22:55:04 +00:00
pk
5307cf957f Use pmap_pa_exists().
Allow read-only access to the prom via /dev/kmem.
1995-03-10 17:06:15 +00:00
pk
d374af4496 Prototype for pmap_pa_exists(). 1995-03-10 16:56:27 +00:00
pk
eedb392003 Missing #ifdef MACHINE_NONCONTIG.
Add function pmap_pa_exists() to assist /dev/mem.
1995-03-10 16:54:40 +00:00
mycroft
936d442143 Fix another oversight. 1995-03-10 12:20:37 +00:00
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
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