Changeset 538


Ignore:
Timestamp:
Mar 27, 2015, 5:28:15 PM (10 years ago)
Author:
alain
Message:

Fix a bug in XCU arguments checking.

File:
1 edited

Legend:

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

    r527 r538  
    10981098            if ( xcu->arg0 < xcu->irqs )
    10991099            {
    1100                 _printf("\n[BOOT ERROR] Not enough HWI inputs for XCU[%d,%d]\n",
    1101                          x, y );
     1100                _printf("\n[BOOT ERROR] Not enough HWI inputs for XCU[%d,%d]"
     1101                        " : nb_hwi = %d / nb_irqs = %d\n",
     1102                         x , y , xcu->arg0 , xcu->irqs );
    11021103                _exit();
    11031104            }
     
    11171118            }
    11181119            // check nb_irq_out
    1119             if ( xcu->arg3 < (nprocs * header->irq_per_proc) )
     1120            if ( xcu->channels < (nprocs * header->irq_per_proc) )
    11201121            {
    11211122                _printf("\n[BOOT ERROR] Not enough outputs for XCU[%d,%d]\n",
Note: See TracChangeset for help on using the changeset viewer.