Changeset 657 for trunk/user/ksh/ksh.c
- Timestamp:
- Mar 18, 2020, 11:16:59 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/user/ksh/ksh.c
r656 r657 413 413 " display barrier pid\n" 414 414 " display mapper path page nbytes\n" 415 " display fat page entries\n"416 " display fat cxy 0\n" );415 " display fat min nslots\n" 416 " display fat cxy 0\n" ); 417 417 } 418 418 //////////////////////////////////// … … 581 581 if( argc != 4 ) 582 582 { 583 printf(" usage: display fat page_id nb_entries\n");583 printf(" usage: display fat min_slot nb_slots\n"); 584 584 } 585 585 else 586 586 { 587 unsigned int page_id= atoi(argv[2]);588 unsigned int nb_ entries = atoi(argv[3]);589 590 if( display_fat( page_id, nb_entries ) )587 unsigned int min_slot = atoi(argv[2]); 588 unsigned int nb_slots = atoi(argv[3]); 589 590 if( display_fat( min_slot, nb_slots ) ) 591 591 { 592 printf(" error: cannot display page %d of fat\n", page_id);592 printf(" error: cannot display fat\n"); 593 593 } 594 594 } … … 1234 1234 else 1235 1235 { 1236 strcpy( cmd , "load bin/user/ kleenex.elf" );1236 strcpy( cmd , "load bin/user/transpose.elf" ); 1237 1237 printf("[ksh] %s\n", cmd ); 1238 1238 execute( cmd );
Note: See TracChangeset
for help on using the changeset viewer.