Annotation of cci/sys/stand/vdfmt/start.c, revision 1.1.1.1

1.1       root        1: #include       "vdfmt.h"
                      2: 
                      3: /*
                      4: **
                      5: */
                      6: 
                      7: start_commands()
                      8: {
                      9:        register int    ctlr, drive, cur_op;
                     10: 
                     11:        indent();
                     12:        for(ctlr=0; ctlr<MAXCTLR; ctlr++)
                     13:                for(drive=0; drive<MAXDRIVE; drive++) {
                     14:                        for(cur_op=0; cur_op<NUMOPS; cur_op++) {
                     15:                                if(ops_to_do[ctlr][drive].op & (1<<cur_op)) {
                     16:                                        cur.controller = ctlr;
                     17:                                        cur.drive = drive;
                     18:                                        if(!_setjmp(abort_environ)) {
                     19:                                                load_verify_patterns();
                     20:                                                spin_up_drive();
                     21:                                                (*operations[cur_op].routine)();
                     22:                                        }
                     23:                                        ops_to_do[ctlr][drive].op&=~(1<<cur_op);
                     24:                                }
                     25:                        }
                     26:                }
                     27:        exdent(1);
                     28: }
                     29: 

unix.superglobalmegacorp.com

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