Changeset 295 for soft/giet_vm/pgcd


Ignore:
Timestamp:
Mar 26, 2014, 6:44:44 PM (11 years ago)
Author:
alain
Message:

Introducing a major release, to suppoort the tsar_generic_leti platform
and the various (external or internal) peripherals configurations.
The map.xml format has been modified, in order to support the new
vci_iopic componentand a new policy for peripherals initialisation.
The IRQs are nom described in the XICU and IOPIC components
(and not anymore in the processors).
To enforce this major change, the map.xml file signature changed:
The signature value must be: 0xDACE2014

This new release has been tested on the tsar_generic_leti platform
for the following mappings:

  • 4c_4p_sort_leti
  • 4c_4p_sort_leti_ext
  • 4c_4p_transpose_leti
  • 4c_4p_transpose_leti_ext
  • 4c_1p_four_leti_ext
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/pgcd/main.c

    r254 r295  
    11#include "stdio.h"
     2#include "hard_config.h"
    23
    34/////////////////////////////////////////
     
    78    unsigned int opy;
    89
    9     giet_tty_printf("Starting task PGCD on processor %d at cycle %d\n",
    10                    giet_procid(), giet_proctime());
     10    unsigned int    procid     = giet_procid();
     11    unsigned int    cluster_xy = procid/NB_PROCS_MAX;
     12    unsigned int    lpid       = procid%NB_PROCS_MAX;
     13    unsigned int    x          = cluster_xy >> Y_WIDTH;
     14    unsigned int    y          = cluster_xy & ((1<<Y_WIDTH)-1);
     15
     16    giet_tty_printf( "*** Starting task pgcd on processor[%d,%d,%d] at cycle %d\n\n",
     17                      x, y, lpid, giet_proctime() );
    1118
    1219    while (1)
Note: See TracChangeset for help on using the changeset viewer.