blob: 4b1d29650fbfdd2a2bb7fd952cd2c85090c789ba (
plain) (
tree)
|
|
#! @KSH@ -p
#
# Shell script to ease invocation of the powerpc simulator
#
# COPYRIGHT (c) 1989-2008.
# On-Line Applications Research Corporation (OAR).
#
# The license and distribution terms for this file may be
# found in the file LICENSE in this distribution or at
# http://www.rtems.com/license/LICENSE.
#
# $Id$
#
TREE_FILE=psim_tree.${LOGNAME}
rtemsTarget=@target_alias@
progname=${0##*/} # fast basename hack for ksh, bash
USAGE=\
"usage: $progname [ -opts ] test [ test ... ]
-v -- verbose
-h -- this message
-s -- force System V IPC support on (default=auto)
-l limit -- specify time limit (default is 'no limit')
-d -- generate device tree as 'test'.device and exit
-n -- enable NIC support ***REQUIRES PATCHED PSIM***
"
# log an error to stderr
prerr()
{
echo "$*" >&2
}
fatal() {
[ "$1" ] && prerr $*
prerr "$USAGE"
exit 1
}
warn() {
[ "$1" ] && prerr $*
}
|