source: trunk/IPs/systemC/processor/Morpheo/Script/lock.sh

Last change on this file was 138, checked in by rosiere, 14 years ago

1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...

  • Property svn:keywords set to Id
File size: 509 bytes
RevLine 
[85]1#!/bin/bash
2
[82]3#-----------------------------------------------------------
4# $Id: lock.sh 138 2010-05-12 17:34:01Z rosiere $
5#-----------------------------------------------------------
[2]6
[138]7#-----[ lock_usage ]----------------------------------------
8function lock_usage ()
[2]9{
[78]10    echo "Usage     : ${0} file";
11
[2]12    exit;
13}
14
15#-----[ lock ]----------------------------------------------
16function lock ()
17{
[138]18    if test ${#} -ne 1; then
19        lock_usage ${*};
[2]20    fi;
21
[138]22    lockfile -1 ${1};
[2]23}
24
25#-----[ Corps ]---------------------------------------------
[138]26lock ${*}
Note: See TracBrowser for help on using the repository browser.