Commit Graph

4952 Commits

Author SHA1 Message Date
mycroft 7fd3f9fac7 Pointers to arrays behave oddly in C... 1994-01-09 22:56:07 +00:00
mycroft 8d49c8420a Use db_recover. Print trap name when entering DDB. Use trap_type and
trap_types like m68k.
1994-01-09 22:53:16 +00:00
mycroft ebc818a088 Make trap_types a variable, so it can be imported by DDB. 1994-01-09 22:50:11 +00:00
mycroft 6b3e4e6b02 Push and pop db_recover for error handling, so we can set up temporary catch
points easily.  (Alluded to by m68k code, but not implemented yet for some
reason.)
1994-01-09 22:35:10 +00:00
mycroft 384b7f777a Fix jmp_buf definitions. 1994-01-09 22:28:50 +00:00
mycroft 1c1f7996c5 Fix some #includes. 1994-01-09 22:26:26 +00:00
mycroft 832cebd4cf Enable DDB. 1994-01-09 21:38:05 +00:00
mycroft 24aa7f14b4 Turn panic button into a debugger trap if DDB. 1994-01-09 21:36:55 +00:00
mycroft 65a81b945b KNFify, and fix a condition where we might miss the register saves if the
frame length is short.
1994-01-09 21:24:46 +00:00
cgd 5c3b96cd71 oops. fix that last 1994-01-09 20:17:06 +00:00
cgd 9f5ed8f1ef minor cleanup; kill a few assignments 1994-01-09 20:10:51 +00:00
mycroft 71c7280658 Thinko. code is always 0 on m68k; no need to print it. 1994-01-09 20:05:47 +00:00
cgd d0edbb3d59 add constants for a couple of disk types. suggested by downsj@CSOS.ORST.EDU 1994-01-09 20:05:38 +00:00
mycroft 11eb822fdf Add DDB hook. 1994-01-09 19:58:47 +00:00
ws 6202bab2db Bug fixes and enhancements:
Make NFS serving work (BUT DON'T USE "attach" TO /proc/*/ctl FOR NOW!!!)
Make `curproc' a symbolic link
Add `.' and `..' entries to the directories.
Return better guesses on the size of the files.
1994-01-09 19:44:03 +00:00
mycroft 8243207be1 Some more minor cleanup. 1994-01-09 19:39:23 +00:00
cgd 3f787778b2 LBL /dev/audio and soundblaster drivers, as ported by brad@fcr.com.
both should work with both old- and new-config i386 trees.
Some notes:
	bsd_audio.c has dependencies on the soundblaster.  This should
		be fixed, so that it can be used for the PC speaker
		(when its driver has been modified), as well.
	sb.c needs some cleanup, and will have sections trimmed, eventually
		(when new config becomse standard for i386).  additionally,
		the SBPro support needs some cleanup.
1994-01-09 19:35:00 +00:00
cgd cb875046b8 LBL "/dev/audio" include file.
probably will need to be hacked if "the right things" are done to bsd_audio.c
1994-01-09 19:30:17 +00:00
mycroft 642f2bffba Alias T_TRAP15 to T_BREAKPOINT globally. 1994-01-09 19:30:01 +00:00
mycroft e2662b6ceb Clean up a bit. 1994-01-09 19:28:53 +00:00
cgd 52778508b5 add 'audio' entries, at minor number 42 1994-01-09 19:28:27 +00:00
cgd 5b94c9652a add entries for the 'audio' pseudo-dev and for the new soundblaster driver 1994-01-09 19:27:36 +00:00
ws 30a6426c82 Fix typo in last 1994-01-09 18:46:17 +00:00
cgd a6ae806538 make /dev/audio and /dev/sound 1994-01-09 18:25:25 +00:00
deraadt 84ab77272a *chuckle* -- i ran out of bpfilters.... (don't ask) 1994-01-09 18:21:10 +00:00
deraadt 4d24126593 better error messages 1994-01-09 17:53:58 +00:00
deraadt 3416ce4d72 make bpf's BIO* ioctl's print nicely. from <Havard.Eidnes@runit.sintef.no> 1994-01-09 17:42:17 +00:00
ws 903f51e908 Note that NFS mounting of fdesc doesn't make sense 1994-01-09 17:33:06 +00:00
ws e33a014618 Use $(MAKE) instead of make 1994-01-09 17:22:54 +00:00
brezak 2dd2888263 Add HAS_POSIX_DIR to CFLAGS. 1994-01-09 17:14:53 +00:00
cgd 4c8ff3970f try until error != ENOEXEC, so that formats can report errros reasonably 1994-01-09 17:11:42 +00:00
cgd 8cdc8d997d define PT_STEP, and clean up some 1994-01-09 16:53:03 +00:00
cgd b0bc24471f PT_STEP is actually machine dependent. not all machines have it! 1994-01-09 16:52:11 +00:00
ws 528eaca557 Really observe lmc_loadbuf.cnt and
correct argument order on execsw restoration.
1994-01-09 16:47:40 +00:00
cgd 85144bf311 ddb code now common 1994-01-09 16:40:33 +00:00
cgd 849b864238 stub 1994-01-09 16:35:32 +00:00
cgd f77210debf add ddb files, and also make sure alphabetically ordered 1994-01-09 16:31:50 +00:00
cgd ba8d0fb00f kill logs, and minor cleanup 1994-01-09 16:26:51 +00:00
cgd 12d80e6797 stub. 1994-01-09 16:17:10 +00:00
cgd b29e20a007 kill logs, and clean up. some of this will need cpu-dependent hooks. 1994-01-09 16:13:04 +00:00
briggs fd601bd3d6 Ugh. Missed the other. mac=>mac68k... 1994-01-09 15:56:22 +00:00
briggs e53963b58b mac => mac68k 1994-01-09 15:54:20 +00:00
deraadt 92d5f7831c p_emu/ep_emul are u_char 1994-01-09 15:49:41 +00:00
mycroft f1be23e81a Add the infamous IOPL sanity check, and speed up some bits. 1994-01-09 15:02:24 +00:00
mycroft f8154a63c0 Don't bogusly save the supervisor stack on signals. Correct PSL checks. Fix
some return values from sigreturn().
1994-01-09 14:59:42 +00:00
mycroft 4eb1bbfb0b Use PSL_MBO and PSL_MBZ in the more traditional way. 1994-01-09 14:58:14 +00:00
mycroft 222ebaf50e Prototype the rest. 1994-01-09 01:06:02 +00:00
mycroft 321b0c6090 More prototypes. 1994-01-08 23:50:41 +00:00
mycroft 12c88c1841 Remove some extra prototypes. 1994-01-08 23:26:40 +00:00
mycroft 26b5333c74 Slight rearrangement. 1994-01-08 23:19:48 +00:00