Ignore:
Timestamp:
Feb 3, 2016, 9:59:18 AM (9 years ago)
Author:
meunier
Message:
  • Ajout de l'application rosenfeld
  • Changement du nom du flag O_CREATE en O_CREAT
File:
1 edited

Legend:

Unmodified
Added
Removed
  • soft/giet_vm/giet_python/genmap

    r753 r772  
    4040# - raycast
    4141# - router
     42# - rosenfeld
    4243# - sort
    4344# - shell
     
    151152                   default = False,
    152153                   help = 'map the "router" application for the GietVM' )
     154
     155parser.add_option( '--rosenfeld', action = 'store_true', dest = 'rosenfeld',     
     156                   default = False,
     157                   help = 'map the "rosenfeld" application for the GietVM' )
    153158
    154159parser.add_option( '--shell', action = 'store_true', dest = 'shell',     
     
    204209map_raycast    = options.raycast     # map "raycast" application if True
    205210map_router     = options.router      # map "router" application if True
     211map_rosenfeld  = options.rosenfeld   # map "rosenfeld" application if True
    206212map_shell      = options.shell       # map "shell" application if True
    207213map_sort       = options.sort        # map "sort" application if True
     
    281287    print '[genmap] application "router" will be loaded'
    282288
     289if ( map_rosenfeld ):     
     290    appli = __import__( 'rosenfeld' )
     291    appli.extend( mapping )
     292    print '[genmap] application "rosenfeld" will be loaded'
     293
    283294if ( map_shell ):
    284295    appli = __import__( 'shell' )
Note: See TracChangeset for help on using the changeset viewer.