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


Ignore:
Timestamp:
Jul 1, 2019, 9:34:16 AM (5 years ago)
Author:
alain
Message:

Fix a bug in list_remote_add_first() and list_remote_add_last() functions,
used by the physical memory allocator, that corrupted the PPM state.

File:
1 edited

Legend:

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

    r635 r636  
    66// This application implements a minimal shell for ALMOS-MKH.
    77//
    8 // This user KSH process contains two POSIX threads:
     8// This user process contains two POSIX threads:
    99// - the "main" thread contains the infinite loop implementing
    1010//   the children processes termination monitoring, using the wait() syscall.
     
    11861186        char           cmd[CMD_MAX_SIZE];               // buffer for one command
    11871187
    1188 /* 1. first direct command
     1188// 1. first direct command
    11891189if( sem_wait( &semaphore ) )
    11901190{
     
    11991199strcpy( cmd , "load bin/user/sort.elf" );
    12001200execute( cmd );
    1201 */
    1202 
    1203 
    1204 
    1205 /* 2. second direct command
     1201//
     1202
     1203
     1204
     1205// 2. second direct command
    12061206if( sem_wait( &semaphore ) )
    12071207{
     
    12161216strcpy( cmd , "load bin/user/fft.elf" );
    12171217execute( cmd );
    1218 */
     1218//
    12191219
    12201220
Note: See TracChangeset for help on using the changeset viewer.