#                                                              -*- Makefile -*-
# Copyright (c) Virtutech AB, All Rights Reserved
#
# Simics module makefile
#

MODULE_CLASSES = spitfire-mmu

SRC_FILES = spitfire-mmu.c common-mmu.c

MODULE_CFLAGS = -DULTRA_HAS_PARTIAL_STORE        \
                -DULTRA_HAS_SHORT_FP             \
                -DULTRA_HAS_BLOCK_COMMIT         \
                -DTARGET_ULTRA                   \
                -DTARGET_ULTRAII                 \
                -DMMU_INCLUDE=\"spitfire-mmu.h\" \
                -DMMU_NAME=\"Spitfire\ MMU\"     \
                -DDEVICE_NAME=\"spitfire-mmu\"   \
                -DDEVICE_IS_BIG_ENDIAN

include $(SIMICS_BASE)/src/devices/common/device-makefile

ifneq ($(SIMICS_DISTRIB),yes)
MODULE_CFLAGS += -DUSE_STC_IFACE
endif
