Commit Graph

6860 Commits

Author SHA1 Message Date
phil
374d83bd64 KTRACE and syscall debug clean up. 1994-04-06 06:33:21 +00:00
mycroft
dd708000e8 Fix column names, and shorten gaps a bit. 1994-04-06 05:29:32 +00:00
mycroft
1c340d9a3e More stylistic cleanup. 1994-04-06 04:46:55 +00:00
mycroft
62c628e14a Change two testl's to testb's. 1994-04-06 04:30:18 +00:00
mycroft
b9aee0da11 General style cleanup. 1994-04-06 04:22:40 +00:00
briggs
72eff49c03 Don't define DEBUG by default. 1994-04-06 03:10:13 +00:00
andrew
b55bc39b4e rwhod wasn't too happy after the off_t change - its lseek() to check the
boottime was broken.  Replaced this code with kvm_nlist()/kvm_read() to be
more efficient.
1994-04-06 03:01:46 +00:00
briggs
d04160dd34 Some cleanup--largely from amiga/trap.c. "Do" __syscall... 1994-04-06 02:59:52 +00:00
briggs
31d0809898 Bug pointed out by chopps (thanks!)
We were also lacking another copy in cpu_fork() for the struct mdproc.
1994-04-06 02:55:54 +00:00
cgd
df58009c91 serious perversion:
most of the 'off' arguments to Lseek() (the internal lseek() wrapper)
are unsigned longs.  we need them to be sign extended, though, so change
Lseek() to take a 'long' rather than an 'off_t', and let the compiler
do the dirty work via implicit casts.
1994-04-06 01:41:32 +00:00
mycroft
3d09f5597c Need to clear %fs and %gs early on. 1994-04-06 01:31:33 +00:00
mycroft
5fe1b5b538 Redo the last change; it was compltely bogus. 1994-04-06 00:43:57 +00:00
mycroft
8b1679d75d Remove spurious arg to printf(), per JT Conklin. 1994-04-06 00:27:49 +00:00
mycroft
87e831ef86 Try to detect garbage data from page 4 sense. 1994-04-06 00:23:31 +00:00
cgd
c9b86e9473 kill the evil U word! from Mike Long <mike.long@analog.com> 1994-04-06 00:08:58 +00:00
cgd
e104a4a2bc don't core if -b is given no argument. bug pointed out by nate williams,
fix by me.
1994-04-06 00:04:09 +00:00
deraadt
4b24a3521e rainse() -> raisestr(), per <arnej@fm.unit.no> 1994-04-05 23:57:26 +00:00
glass
e96e34d073 chopps fix 1994-04-05 23:45:01 +00:00
deraadt
65893ce47b TIOCGWINSZ 1994-04-05 23:35:16 +00:00
chopps
2e148c6734 remove old floppy thing. 1994-04-05 23:07:07 +00:00
mycroft
671bcb4e22 Clean up deleted files. 1994-04-05 23:05:09 +00:00
chopps
bdb52e02f8 fp -> fd, consistency good. [nameclash bad.] 1994-04-05 23:04:05 +00:00
deraadt
70fdc96e4c TIOCGWINSZ 1994-04-05 22:56:56 +00:00
mycroft
100fdbd6d1 This line is redundant for LD_UNLOAD (only one use, and it does this itself)
but breaks LD_RETEN, forcing a reload of the driver state on the next I/O
operation.  Therefore, it goes away.
1994-04-05 22:39:37 +00:00
mycroft
8d0730c420 Reload the tape after retension. 1994-04-05 22:18:00 +00:00
mycroft
44f11a89b3 Implement MTRETEN (untested). 1994-04-05 22:08:09 +00:00
mycroft
692dc0e998 Implement MTEOM, currently untested. 1994-04-05 21:59:49 +00:00
mycroft
b527513158 Add retension', erase', eom', and nbsf' subcommands. 1994-04-05 21:13:55 +00:00
mycroft
8e9b025479 Add MTRETEN, MTERASE, MTEOM, and MTNBSF, per SunOS. 1994-04-05 21:07:19 +00:00
mycroft
b2edbd1ccd Fix up #includes. 1994-04-05 19:52:16 +00:00
mycroft
d48a7c43fb Mostly cosmetic changes. 1994-04-05 19:47:45 +00:00
mycroft
71dd213832 Optimize _insque() and _remque(), and remove all the casts. 1994-04-05 19:09:14 +00:00
chopps
6484be3bf1 allow user to not use their retina board as the console. 1994-04-05 18:19:27 +00:00
chopps
41536d5615 add floppy. 1994-04-05 18:13:22 +00:00
chopps
c77b0c9958 added floppy driver from Brad Pepers, doesn't work on my machine, some
major cleanup by me no code changes ... yet.
1994-04-05 18:11:52 +00:00
chopps
602ef3f30f incorpaorated floppy code from Brad Pepers, needs work doesn't work on my
machine.  more clenaup in trap.c
1994-04-05 18:08:56 +00:00
mycroft
10466baa67 npxexit() doesn't need its arg. 1994-04-05 17:57:02 +00:00
mycroft
7d2ada5f79 Various cleanup. 1994-04-05 17:56:26 +00:00
phil
951784dda0 genassym.c: %c => %d
trap.c: added __syscall
1994-04-05 17:37:41 +00:00
mycroft
ae2e24c9ab Correct display of bit test insns. 1994-04-05 17:31:31 +00:00
mycroft
284797351b Garbage collect. 1994-04-05 17:23:39 +00:00
mycroft
670aa6914a Add some notes about swtch_exit(). 1994-04-05 15:08:46 +00:00
mycroft
25317c76f3 Increase ahb_send_mbox timeout. 1994-04-05 08:53:00 +00:00
mycroft
936d23aa7a Don't bother checking npxproc on exit. 1994-04-05 08:02:09 +00:00
mycroft
2fa4ce0376 Use swtch_exit(). 1994-04-05 08:01:12 +00:00
mycroft
8baa13db22 Add P_VMSPACE. 1994-04-05 08:00:21 +00:00
mycroft
e6afef6b33 Optimize setrq() and remrq(). Implement swtch_xeit(p), which switches to
proc0's context, deallocates p's adress space, and resumes the swtch() that
was suspended in proc0.
1994-04-05 07:59:55 +00:00
mycroft
b40fa7f850 p_regs fix from amiga. 1994-04-05 07:45:54 +00:00
chopps
c8a98e047a need to copy current frame pointer (p_regs), very subtle bug as you needed
to have a signal pending for a child process that has not yet returned
from fork(). fun.
1994-04-05 05:46:26 +00:00
cgd
0a4d67dd07 KNF, POSIX-ization, general cleanup, err/warn, etc. 1994-04-05 04:34:51 +00:00