summaryrefslogblamecommitdiffstats
path: root/sim-scripts/qemuppc.in
blob: 3ed7387c93c6cf98efd4f3a164666aa0b8f82a85 (plain) (tree)
1
2
3
4
5
6
7
8
9
 
                                    
 



                                
                     
                            






                                 
                                        


                                                               
                                                    

 







                
                     

                         
                         






                           
#
#  PowerPC/QemuPPC BSP Qemu Support 
#

bspUsesGDBSimulator="no"
# bspGeneratesGDBCommands="yes"
# bspSupportsGDBServerMode="yes"
runBSP=NOT_OVERRIDDEN
if [ ! -r ${runBSP} ] ; then
  runBSP=qemu-system-ppc
fi
bspNeedsDos2Unix="yes"

runARGS()
{
  if [ ${coverage} = yes ] ; then
    COVERAGE_ARG="--exec-trace ${1}.cov"
  fi

  echo "-nographic -M prep -boot n -no-reboot ${COVERAGE_ARG} \
	    -L `dirname ${1}` -bios `basename ${1}`"
}

checkBSPFaults()
{
  return 0
}

bspLimit()
{
  testname=$1
  case ${testname} in
    *stackchk*)limit=5 ;;
    *fatal*)   limit=1 ;;
    *minimum*) limit=1 ;;
    *psxtime*) limit=270 ;;
    *)         limit=60 ;;
  esac
  echo ${limit}
}

bspGeneratesDeviceTree="no"