Changeset 762 for soft


Ignore:
Timestamp:
Jan 19, 2016, 11:36:43 AM (8 years ago)
Author:
alain
Message:

Introduce the new MMAP type for vseg.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/mapping.py

    r742 r762  
    116116                  'SCHED',     
    117117                  'HEAP',
     118                  'MMAP',
    118119                 ]
    119120
     
    384385                 mode,                  # CXWU flags
    385386                 vtype,                 # vseg type
    386                  x,                     # destination x coordinate
    387                  y,                     # destination y coordinate
    388                  pseg,                  # destination pseg name
     387                 x        = 0,          # destination x coordinate
     388                 y        = 0,          # destination y coordinate
     389                 pseg     = 'RAM',      # destination pseg name
    389390                 local    = False,      # only mapped in local PTAB if true
    390391                 big      = False,      # to be mapped in a big physical page
     
    515516        byte_stream += self.int2bytes(4,   self.total_irqs)
    516517        byte_stream += self.int2bytes(4,   self.total_periphs)
     518        byte_stream += self.int2bytes(60,  0)                     # padding
    517519        byte_stream += self.str2bytes(256, self.name)
    518520
Note: See TracChangeset for help on using the changeset viewer.