File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / sys / stand / vdfmt / start.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:29:50 2019 UTC (7 years ago) by root
Branches: bsd, MAIN
CVS tags: v121, HEAD
Power 6/32 Unix version 1.21

#include	"vdfmt.h"

/*
**
*/

start_commands()
{
	register int	ctlr, drive, cur_op;

	indent();
	for(ctlr=0; ctlr<MAXCTLR; ctlr++)
		for(drive=0; drive<MAXDRIVE; drive++) {
			for(cur_op=0; cur_op<NUMOPS; cur_op++) {
				if(ops_to_do[ctlr][drive].op & (1<<cur_op)) {
					cur.controller = ctlr;
					cur.drive = drive;
					if(!_setjmp(abort_environ)) {
						load_verify_patterns();
						spin_up_drive();
						(*operations[cur_op].routine)();
					}
					ops_to_do[ctlr][drive].op&=~(1<<cur_op);
				}
			}
		}
	exdent(1);
}


unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.