#!/bin/sh ########################################################################## # Copyright (c) 2009-2015 ETH Zurich. # All rights reserved. # # This file is distributed under the terms in the attached LICENSE file. # If you do not find this file, copies can be found by writing to: # ETH Zurich D-INFK, CAB F.78, Universitaetstr. 6, CH-8092 Zurich, # Attn: Systems Group. # # Shell script for running Qemu with a Barrelfish image # ########################################################################## HDFILE=hd.img EFI_FLASH0=flash0.img EFI_FLASH1=flash1.img HAGFISH_LOCATION="/home/netos/tftpboot/Hagfish.efi" MENUFILE="" ARCH="" DEBUG_SCRIPT="" # Grab SMP from env, if unset default to 1 SMP=${SMP:-1} # Grab NIC_MODEL from env, if unset default to e1000 NIC_MODEL="${NIC_MODEL:-e1000e}" usage () { echo "Usage: $0 --menu --arch [options]" echo " where:" echo " 'arch' is one of: x86_64, a15ve, armv8, zynq7" echo " 'file' is a menu.lst format file to read module list from" echo " and options can be:" echo " --debug