Ignore:
Timestamp:
Jun 6, 2013, 5:39:18 PM (11 years ago)
Author:
brejon
Message:
  • Update malloc (remote free)
  • bugfix in spin_lock (bad register used in asm inline)
  • memo/Makefile clean rule : added "-f" option to rm command
  • main Makefile :
    • added spin_lock.o in dhrystone object files
    • added rules to compile spin_lock
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/xml/mapping_info.h

    r238 r244  
    101101///////////////////////////////
    102102
    103 typedef struct mapping_header_s
     103typedef struct __attribute__((packed))  mapping_header_s
    104104{
    105105    unsigned int signature;          // must contain MAPPING_SIGNATURE
     
    138138
    139139////////////////////////////////
    140 typedef struct mapping_cluster_s
     140typedef struct __attribute__((packed))  mapping_cluster_s
    141141{
    142142    unsigned int psegs;          // number of psegs in cluster
     
    155155
    156156/////////////////////////////
    157 typedef struct mapping_pseg_s 
     157typedef struct __attribute__((packed))  mapping_pseg_s 
    158158{
    159159    char         name[32];       // pseg name (unique in a cluster)
     
    167167
    168168///////////////////////////////
    169 typedef struct mapping_vspace_s
     169typedef struct __attribute__((packed))  mapping_vspace_s
    170170{
    171171    char         name[32];       // virtual space name
     
    181181
    182182/////////////////////////////
    183 typedef struct mapping_vseg_s
     183typedef struct __attribute__((packed))  mapping_vseg_s
    184184{
    185185    char         name[32];       // vseg name (unique in vspace)
     
    196196
    197197/////////////////////////////
    198 typedef struct mapping_task_s
     198typedef struct __attribute__((packed))  mapping_task_s
    199199{
    200200    char         name[32];       // task name (unique in vspace)
     
    214214
    215215/////////////////////////////
    216 typedef struct mapping_vobj_s
     216typedef struct __attribute__((packed))  mapping_vobj_s
    217217{
    218218    char         name[32];       // vobj name (unique in a vspace)
     
    228228
    229229/////////////////////////////
    230 typedef struct mapping_proc_s
     230typedef struct __attribute__((packed))  mapping_proc_s
    231231{
    232232    unsigned int irqs;           // number of IRQs allocated to processor
     
    236236
    237237/////////////////////////////
    238 typedef struct mapping_irq_s
     238typedef struct __attribute__((packed))  mapping_irq_s
    239239{
    240240    unsigned int type;           // 0 => HW_IRQ  / 1 => SW_IRQ
     
    246246
    247247///////////////////////////////
    248 typedef struct mapping_coproc_s
     248typedef struct __attribute__((packed))  mapping_coproc_s
    249249{
    250250    char         name[32];       // coprocessor name
     
    256256
    257257////////////////////////////////
    258 typedef struct mapping_cp_port_s
     258typedef struct __attribute__((packed))  mapping_cp_port_s
    259259{
    260260    unsigned int direction;      // TO_COPROC == 0 / FROM_COPROC == 1
     
    265265
    266266///////////////////////////////
    267 typedef struct mapping_periph_s
     267typedef struct __attribute__((packed))  mapping_periph_s
    268268{
    269269    unsigned int type;           // IOC / TTY / TIM / DMA / FBF / NIC / IOB
Note: See TracChangeset for help on using the changeset viewer.