Changeset 564 for soft


Ignore:
Timestamp:
May 18, 2015, 6:48:02 PM (9 years ago)
Author:
alain
Message:

Cosmetic.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_boot/boot.c

    r557 r564  
    927927    unsigned int         slot;
    928928    unsigned int         entry;
     929    unsigned int         type;
     930    unsigned int         channel;
    929931
    930932    mapping_header_t*    header  = (mapping_header_t *)SEG_BOOT_MAPPING_BASE;
     
    944946                psched = _schedulers[cx][cy][lpid];
    945947       
    946                 _printf("\n[BOOT] scheduler for proc[%d,%d,%d]\n",
     948                _printf("\n[BOOT] interrupt vectors for proc[%d,%d,%d]\n",
    947949                        cx , cy , lpid );
    948950
    949951                for ( slot = 0 ; slot < 32 ; slot++ )
    950952                {
    951                     entry = psched->hwi_vector[slot];
    952                     if ( (entry & 0xFFFF) != 0 )     
    953                     _printf(" - HWI %d / isrtype = %d / channel = %d\n",
    954                             slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) );
     953                    entry   = psched->hwi_vector[slot];
     954                    type    = entry & 0xFFFF;
     955                    channel = entry >> 16;
     956                    if ( type != ISR_DEFAULT )     
     957                    _printf(" - HWI : index = %d / type = %s / channel = %d\n",
     958                            slot , _isr_type_str[type] , channel );
    955959                }
    956960                for ( slot = 0 ; slot < 32 ; slot++ )
    957961                {
    958                     entry = psched->wti_vector[slot];
    959                     if ( (entry & 0xFFFF) != 0 )     
    960                     _printf(" - WTI %d / isrtype = %d / channel = %d\n",
    961                             slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) );
     962                    entry   = psched->wti_vector[slot];
     963                    type    = entry & 0xFFFF;
     964                    channel = entry >> 16;
     965                    if ( type != ISR_DEFAULT )     
     966                    _printf(" - WTI : index = %d / type = %s / channel = %d\n",
     967                            slot , _isr_type_str[type] , channel );
    962968                }
    963969                for ( slot = 0 ; slot < 32 ; slot++ )
    964970                {
    965                     entry = psched->pti_vector[slot];
    966                     if ( (entry & 0xFFFF) != 0 )     
    967                     _printf(" - PTI %d / isrtype = %d / channel = %d\n",
    968                             slot , (entry & 0xFFFF) , ((entry >> 16) & 0x7FFF) );
     971                    entry   = psched->pti_vector[slot];
     972                    type    = entry & 0xFFFF;
     973                    channel = entry >> 16;
     974                    if ( type != ISR_DEFAULT )     
     975                    _printf(" - PTI : index = %d / type = %s / channel = %d\n",
     976                            slot , _isr_type_str[type] , channel );
    969977                }
    970978            }
Note: See TracChangeset for help on using the changeset viewer.