Changeset 628 for trunk/user/ksh/ksh.c


Ignore:
Timestamp:
May 6, 2019, 1:28:01 PM (6 years ago)
Author:
alain
Message:

Introduce teh page_min / page_max mechanism in the fatfs_release_inode()
function, to avoid to scan all pages in FAT mapper.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/user/ksh/ksh.c

    r626 r628  
    11781178#endif
    11791179
    1180 /*
    1181 // Lauch one or several commands without interactive mode
    1182 
    1183 // 1. first command
     1180
     1181/* 1. first direct command
    11841182if( sem_wait( &semaphore ) )
    11851183{
     
    11891187else
    11901188{
    1191     printf("\n[ksh] display fat 0 32\n");
     1189    printf("\n[ksh] load bin/user/sort.elf\n");
    11921190}
    11931191
    1194 strcpy( cmd , "display fat 0 32" );
     1192strcpy( cmd , "load bin/user/sort.elf" );
    11951193execute( cmd );
    1196 
    1197 // 2. second command
     1194*/
     1195
     1196
     1197
     1198/* 2. second direct command
    11981199if( sem_wait( &semaphore ) )
    11991200{
     
    12031204else
    12041205{
    1205     printf("\n[ksh] load bin/user/pgcd.elf\n");
     1206    printf("\n[ksh] rm home/fft_1_2_1_4096\n");
    12061207}
    12071208
    1208 strcpy( cmd , "load bin/user/pgcd.elf" );
     1209strcpy( cmd , "rm home/fft_1_2_1_4096" );
    12091210execute( cmd );
    1210 
    1211 // end non-interactive mode
    12121211*/
     1212
     1213
    12131214
    12141215        enum fsm_states
Note: See TracChangeset for help on using the changeset viewer.