#@TYPE: Machine
#@NAME: ml605-qemu-microblazeel
#@DESCRIPTION: MicroBlaze QEMU machine support ('petalogix-ml605' model)

TUNE_FEATURES:tune-microblaze ?= "microblaze v8.50 barrel-shift reorder pattern-compare divide-hard multiply-high fpu-hard"

require conf/machine/microblaze-generic.conf

USE_VT = ""

# Use the networking setup from qemuarm
MACHINEOVERRIDES:prepend:pn-init-ifupdown = "qemuall:"
FILESOVERRIDES:append:pn-init-ifupdown = ":qemuarm"

# This machine is a targeting a QEMU model, runqemu setup:
QB_MEM = "-m 256"
QB_MACHINE = "-machine petalogix-ml605"
QB_OPT_APPEND = "-nographic -serial mon:stdio"
QB_NETWORK_DEVICE = "-net nic,netdev=net0,macaddr=@MAC@"

