Commit Graph

10485 Commits

Author SHA1 Message Date
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
cgd f59b086d9c one minor mod... 1994-10-20 04:37:09 +00:00
cgd 0da612d076 update rcsid 1994-10-20 04:32:39 +00:00
mycroft b7c9fb174f Clean up deleted files. 1994-10-20 04:29:36 +00:00
cgd 6f353db960 update for new syscall args description mechanism 1994-10-20 04:28:10 +00:00
cgd fa90479d67 update for new syscall args description mechanismcd 1994-10-20 04:27:44 +00:00
cgd 6b86130410 update for new syscall args description mechanism 1994-10-20 04:22:35 +00:00
cgd f0c1138373 update for new syscall args description mechanism, and deal safely
with wider types.
1994-10-20 04:20:55 +00:00
cgd 04a4b7684b make the sysv functions real syscalls. 1994-10-20 04:17:05 +00:00
mycroft e7a6fa4989 Clean up deleted files. 1994-10-20 04:17:01 +00:00
cgd ac8938c341 make the sysv functions real syscalls. 1994-10-20 04:16:58 +00:00
jtc 14c8a82a15 Fix zero padding when using the # format modifier. 1994-10-20 03:56:56 +00:00
mycroft b2d8a64ebd Make another printf() #ifdef FD_DEBUG. 1994-10-20 03:38:13 +00:00
mycroft 872999d392 Make the verbose diagnostics #ifdef FD_DEBUG. 1994-10-20 00:52:23 +00:00
mycroft 4b83d937e9 Allow `partitioning' of a regaular file. 1994-10-20 00:06:17 +00:00
cgd 36ac18735f fix pr 528; don't define struct if_data inside another structure. 1994-10-19 20:57:56 +00:00
pk 07c72b0e78 sparc handles `-c'. 1994-10-19 20:43:24 +00:00
pk f1b5aa458d Know more about symbols types. 1994-10-19 20:39:31 +00:00
pk 40401eba78 Define more symbol types which are in common use now. 1994-10-19 20:29:41 +00:00
pk c13cbefe95 Recognise more symbol types when complaining. 1994-10-19 20:16:38 +00:00
cgd b1a9e8ae70 fix a file name. 1994-10-19 20:16:05 +00:00
pk 633e8b717d Workaround a problem with alias symbols.
Add some more symbol trace points.
1994-10-19 20:15:35 +00:00
cgd a68b4e0ba4 add a mirror 1994-10-19 20:03:08 +00:00
phil 20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
cgd 7e99a94689 don't forget diskless.8 1994-10-19 05:26:47 +00:00