blob: 9ca25c86f7444ff6d5676510c6a7d376ecc8c64a (
plain)
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
46
47
48
49
50
51
52
53
54
55
|
#
# m68k/uc5282 Qemu Support
#
bspUsesGDBSimulator="no"
# bspGeneratesGDBCommands="yes"
# bspSupportsGDBServerMode="yes"
if [ -r ${HOME}/qemu-coverage/install/bin/qemu-system-m68k ] ; then
runBSP=${HOME}/qemu-coverage/install/bin/qemu-system-m68k
else
runBSP=qemu-system-m68k
fi
bspNeedsDos2Unix="yes"
runARGS()
{
if [ ${coverage} = yes ] ; then
rm -f trace ${1}.tra
COVERAGE_ARG="-exec-trace ${1}.tra"
fi
echo "-M uc5282 -nographic ${COVERAGE_ARG} -kernel ${1}"
}
checkBSPFaults()
{
# faulty thread may be deleted or suspended
for pattern in \
"^PC:.* SR:.*"
do
grep -E "${pattern}" ${logfile}
if [ $? -eq 0 ] ; then
return 1
fi
done
return 0
}
bspLimit()
{
tname=$1
case ${tname} in
*stackchk*)limit=5 ;;
*fatal*) limit=1 ;;
*minimum*) limit=1 ;;
*psxtime*) limit=270 ;;
*) limit=60 ;;
esac
echo ${limit}
}
bspGeneratesDeviceTree="no"
|