4.104.115
Last change
on this file since 75ed329 was
c0b8d7b,
checked in by Joel Sherrill <joel.sherrill@…>, on 12/04/08 at 17:19:03
|
2008-12-04 Joel Sherrill <joel.sherrill@…>
- psim-bottom, psim-gdb-bottom, psim-shared, psim-top.in: Add ability
to force psim configuration to include System V IPC devices even when
the test does not appear to be multiprocessing. This is used by some
RTEMS application developers for system simulation and could be used
to simulate a framebuffer if a UNIX process mirrored the buffer.
|
-
Property mode set to
100755
|
File size:
502 bytes
|
Line | |
---|
1 | # |
---|
2 | # process the options |
---|
3 | # |
---|
4 | # defaults for getopt vars |
---|
5 | # |
---|
6 | |
---|
7 | verbose="" |
---|
8 | limit="0" |
---|
9 | use_sysv_ipc="auto" |
---|
10 | |
---|
11 | ## TODO: may want command line ability to turn on some psim tracing |
---|
12 | while getopts vsl: OPT |
---|
13 | do |
---|
14 | case "$OPT" in |
---|
15 | v) verbose="yes";; |
---|
16 | l) limit="$OPTARG";; |
---|
17 | s) use_sysv_ipc="yes";; |
---|
18 | *) fatal;; |
---|
19 | esac |
---|
20 | done |
---|
21 | shiftcount=`expr $OPTIND - 1` |
---|
22 | shift $shiftcount |
---|
23 | |
---|
24 | args=$* |
---|
25 | |
---|
26 | if [ $# -eq 0 ] ; then |
---|
27 | fatal |
---|
28 | fi |
---|
29 | |
---|
30 | gen_device_tree ${1} >${TREE_FILE} |
---|
31 | runone ${1} ${limit} |
---|
32 | rm -f ${TREE_FILE} |
---|
33 | exit $? |
---|
34 | |
---|
Note: See
TracBrowser
for help on using the repository browser.