Ignore:
Timestamp:
Aug 12, 2012, 1:35:34 PM (12 years ago)
Author:
karaoui
Message:

+ removing some bugs from:

  • xml_parser.c: check that strcmp == 0 for coproc direction
  • mwmr_channel.c: mwmr->ptr to ptr.
  • utils.h double definition of memcpy fonction.

+ mapping_info.h : naming the enums
+ boot_init.c: changing the order of initialisation in order

to initialise the coproc with the mwmr channel values( depth, width...).
Note that the vobjs are now physically initialised.

+ mwmr_channel.h: changing the order argument definition to suit vci_mwmr_channel Soclib componnent.
+ hwr_mapping.h: adding the register description of the vci_mwmr_controller .

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/libs/srl.h

    r189 r200  
    77   @short SRL Api main header
    88 */
     9
     10#include "mapping_info.h"
     11#include "stdio.h"
     12#include "utils.h"
    913
    1014#include "libsrl/srl_public_types.h"
     
    1923#include "libsrl/srl_hw_helpers.h"
    2024
     25#include "libsrl/srl_args.h"
     26
    2127//kernel use!
    2228//#include "libsrl/srl_mwmr_sys.h"
    2329
    24 /* port, APP_NAME, TASK */
    25 # define GET_MWMR(port)                                                                       \
    26 ({                                                                                            \
    27     srl_mwmr_t  _mwmr;                                                                      \
    28     if( vobj_get_vbase( APP_NAME , #port, MWMR, (unsigned int*)&_mwmr ) )                   \
    29     {                                                                                         \
    30         srl_log_printf( NONE, "\n[ERROR] in "TASK" task :\n");                              \
    31         srl_log_printf( NONE, "          undefined <"#port"> channel: %d\n", _mwmr);           \
    32         srl_log_printf( TRACE, "*** &"#port" = %x\n\n", (unsigned int)_mwmr );                 \
    33         exit();/*srl?*/                                                                     \
    34     }else                                                                                         \
    35         srl_log_printf( TRACE, "%s:%d: arg of %s for %s,from %s; &"#port" = %x\n\n", __FILE__, __LINE__, APP_NAME, TASK,#port, (unsigned int)_mwmr ); \
    36     _mwmr;\
    37 })
    3830
    3931#endif
Note: See TracChangeset for help on using the changeset viewer.