comparison packages/redboot/current/src/main.c @ 196:9b55e9c69693

Merge from eCos master repository on 2001-11-23-15:32:03-GMT
author jlarmour
date Fri, 23 Nov 2001 17:12:52 +0000
parents 67850532eebb
children ea3f0bd33a73
comparison
equal deleted inserted replaced
195:67850532eebb 196:9b55e9c69693
512 bool wait_time_set; 512 bool wait_time_set;
513 int wait_time, res; 513 int wait_time, res;
514 struct option_info opts[1]; 514 struct option_info opts[1];
515 char line[8]; 515 char line[8];
516 516
517 entry = (unsigned long)entry_address; // Default from last 'load' operation 517 entry = entry_address; // Default from last 'load' operation
518 init_opts(&opts[0], 'w', true, OPTION_ARG_TYPE_NUM, 518 init_opts(&opts[0], 'w', true, OPTION_ARG_TYPE_NUM,
519 (void **)&wait_time, (bool *)&wait_time_set, "wait timeout"); 519 (void **)&wait_time, (bool *)&wait_time_set, "wait timeout");
520 if (!scan_opts(argc, argv, 1, opts, 1, (void *)&entry, OPTION_ARG_TYPE_NUM, "starting address")) 520 if (!scan_opts(argc, argv, 1, opts, 1, (void *)&entry, OPTION_ARG_TYPE_NUM, "starting address"))
521 { 521 {
522 return; 522 return;