Annotation of lucent/sys/src/9/pc/bootpccd.c, revision 1.1.1.1

1.1       root        1: #include <u.h>
                      2: #include <libc.h>
                      3: #include "../boot/boot.h"
                      4: 
                      5: Method method[]={
                      6:        { "local", configlocal, authlocal, connectlocal,  },
                      7:        { "il", configil, authil, connectil,  },
                      8:        { "tcp", configtcp, authtcp, connecttcp,  },
                      9:        { "9600", config9600, auth9600, connect9600,  },
                     10:        { "19200", config19200, auth19200, connect19200,  },
                     11:        { "incon", configincon, authincon, connectincon, "config 1 16 restart dk 256" },
                     12:        { 0 },
                     13: };
                     14: int cpuflag = 0;
                     15: void (*pword)(int, Method*) = userpasswd;
                     16: char* bootdisk = "#w/sd0";
                     17: extern void boot(int, char**);
                     18: void
                     19: main(int argc, char **argv)
                     20: {
                     21:        boot(argc, argv);
                     22: }
                     23: int (*cfs)(int) = 0;

unix.superglobalmegacorp.com

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