mycroft
0ec2e0b85c
Attempt to deal with trace exceptions from single-stepping a trap instruction.
1994-10-25 15:33:40 +00:00
mycroft
7594210178
Slight optimization to remrq(); no need to use/save %esi.
1994-10-25 15:13:44 +00:00
mycroft
0b827ee8ee
Add some #defines for the offsets into the bootstrap tables.
1994-10-25 14:46:50 +00:00
mycroft
9f00060fdf
Map the kernel text read-only if !DDB. Also, shorten many parts of the page
...
table startup by judicious application of lea.
1994-10-25 14:31:24 +00:00
deraadt
dca2741d28
make SYS_* macros unique
1994-10-24 23:26:02 +00:00
mycroft
f3c9ca2e05
Make the termios convul^H^Hersion a little less ugly, and convert CSIZE correctly.
1994-10-24 22:01:35 +00:00
deraadt
b415eb1d1d
new from christos
1994-10-24 17:37:34 +00:00
mycroft
4bad1511b7
Fix a bug I introduced in the last commit, regarding a VTIME timeout causing
...
EWOULDBLOCK to be returned rather than looping again to see if any characters
are pending. Also, fix another bug in the original code; if someone changed
VMIN behind our back, last_cc might be uninitialized when we reference it.
1994-10-24 09:09:06 +00:00
deraadt
dc7de949e9
change exec_setup_fcn() to be more useful (from christos)
1994-10-24 05:32:19 +00:00
mycroft
260ddbefb7
Rearrange ed_init() slightly, to better correspond to the National manual.
...
Optimize ed_rint() slightly in the case of multiple packets. (Avoid an outb
and an inb for each packet).
1994-10-23 23:24:56 +00:00
cgd
2623b287e6
fix for numerous cut & paste errors in the last changes, from Christos.
1994-10-23 23:11:27 +00:00
cgd
a6426e2b27
oops; went overboard, and did the user_ldt calls the wrong way.
1994-10-23 21:57:12 +00:00
mycroft
603fe7b5a6
Slight optimization.
1994-10-23 21:38:00 +00:00
mycroft
0114159848
Fix the packet length correction for buggy chips so that it actually works,
...
and always use it (otherwise short packets could still be corrupted). Also
produce a diagnostic message if DIAGNOSTIC, since it *is* a hardware bug.
Add an ED_PAGE_SHIFT constant, and use it, to avoid GCC doing horrendous
things with divides and multiplies.
1994-10-23 21:22:13 +00:00
mycroft
28cbceeec7
Make this more likely to work.
1994-10-23 19:24:01 +00:00
phil
97ad3ec4b8
fixes from Matthias. splimp and other stuff.
1994-10-21 07:03:57 +00:00
mycroft
abc582b6d2
Return ppid and euid for COMPAT_IBCS2, too.
1994-10-21 01:12:13 +00:00
mycroft
f19afe34cb
Reran makesyscalls.sh.
1994-10-21 00:15:36 +00:00
mycroft
452508f874
Fix typos.
1994-10-21 00:14:36 +00:00
mycroft
a9ef20740a
Make this compile with USER_LDT again.
1994-10-20 23:48:21 +00:00
mycroft
425e5f67f0
Reran makesyscalls.h.
1994-10-20 23:23:46 +00:00
mycroft
be01ae1904
Fix typo in description of syscallarg.h.
1994-10-20 23:22:38 +00:00
mycroft
97c2b52714
Minor change; use proc_reparent().
1994-10-20 22:54:35 +00:00
mycroft
be18e790ff
Get the label sector right if there is no NetBSD partition in the MBR.
1994-10-20 22:44:37 +00:00
mycroft
79e18619fb
Add a cpu_cleanup() function, to support some experimental code.
1994-10-20 22:43:23 +00:00
briggs
a509897f98
Before I forget...
1994-10-20 21:21:02 +00:00
mycroft
d2b4ef0319
Don't try to load p_priority from the run queue head.
1994-10-20 20:47:53 +00:00
mycroft
e5d974c51f
First cut at making user-level SCSI commands work. This is untested.
...
Partly from John Brezak.
1994-10-20 20:31:23 +00:00
mycroft
3e30a415ae
Be careful not to stack multiple timeouts.
1994-10-20 19:22:01 +00:00
mycroft
4d072c5435
Remove the local timeout mechanism, and just use explicit timeout()/untimeout()
...
calls.
1994-10-20 18:37:45 +00:00
mycroft
c11a06cbc2
Always set d_secsize to 512 for now.
1994-10-20 17:03:09 +00:00
mycroft
b8ab5f65d1
Back out change to print geometry from label at boot; can't do this reliably.
1994-10-20 16:54:44 +00:00
mycroft
0862d07daf
Don't switch to single-sector mode just because we got a corrected error.
1994-10-20 16:36:21 +00:00
mycroft
d4153fff4d
Rearrange wdcstart() in a more logical fashion, and eliminate many redundant
...
calculations. Also, speed up bad block searching a little.
1994-10-20 16:19:08 +00:00
mycroft
7d391c250d
Fix minor omission.
1994-10-20 14:10:18 +00:00
mycroft
cd66683989
openpart -> openmask
1994-10-20 14:08:07 +00:00
mycroft
bb12b9c8a2
Trivial stylistic changes.
1994-10-20 14:05:08 +00:00
mycroft
caaeda044b
Similar changes to sd.c.
1994-10-20 14:03:38 +00:00
mycroft
b1568d887e
Use the block size in the label in most cases.
1994-10-20 13:50:38 +00:00
mycroft
cae71ba91d
Various changes:
...
* Add a dkdevice; move sc_*openpart, sc_label, and sc_cpulabel into it.
* Turn sc_wlabel into a flag, and don't set it automatically in DIOCWLABEL.
* If there is no label, disallow all I/O except to the raw partition.
* Don't allow I/O to `unused' partitions.
* Beginnings of support for block sizes other than 512 bytes.
Other minor changes.
1994-10-20 13:44:46 +00:00
mycroft
d5b3572f5c
Various changes:
...
* Get rid of unused `partflags'.
* Use dk_openpart, and remove `openparts'. Also, allow an open on both
the block and characters devices at the same time.
* If there was a label, print the geometry from the label at boot time.
* Turn `wlabel' into a flag, and *don't* set it automatically in
DIOCWLABEL; disklabel(8) does that.
Other minor changes.
1994-10-20 13:33:36 +00:00
cgd
70d91988ab
update for new syscall args description mechanism
1994-10-20 05:34:04 +00:00
cgd
d4bf824ec2
update for new syscall args description mechanism
1994-10-20 05:17:21 +00:00
cgd
fdc5c13d94
update for new syscall args description mechanism
1994-10-20 05:02:13 +00:00
cgd
74d7436a91
pay a small amount of lip service to the new syscall args mechanism.
...
In reality, none of these will compile.
1994-10-20 04:47:31 +00:00
cgd
5aea0d3fd2
update for new syscall args description mechanism
1994-10-20 04:46:23 +00:00
mycroft
cb4e5ecaa5
Print a single `soft error' message when an operation was retried and
...
eventually completed successfully. Also fix fsbn numbers in diskerr() calls.
1994-10-20 04:46:17 +00:00
cgd
77e4fe47ef
update for new syscall args description mechanism
1994-10-20 04:43:21 +00:00
deraadt
3c8b6feab0
better #ifdef's
1994-10-20 04:40:58 +00:00
cgd
9da8a598cd
update for new syscall args description mechanism
1994-10-20 04:38:33 +00:00