blob: 26796c3f37aa2c0f0be5b304edbbb3d867bc3c76 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#! @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 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 $*
}
|