Files
zzy c98a19c586 NJU-ProjectN/abstract-machine ics2023 initialized
NJU-ProjectN/abstract-machine c383159000a2975dabde43f221deae3d54bc48b0 am,npc: add uart config function
2024-08-16 20:17:51 +08:00

11 lines
383 B
Makefile

include $(AM_HOME)/scripts/isa/x86.mk
include $(AM_HOME)/scripts/platform/nemu.mk
CFLAGS += -mstringop-strategy=loop -DISA_H=\"x86/x86.h\"
# overwrite _pmem_start and _entry_offset defined in nemu.mk
LDFLAGS += --defsym=_pmem_start=0x0 --defsym=_entry_offset=0x100000
AM_SRCS += x86/nemu/start.S \
x86/nemu/cte.c \
x86/nemu/trap.S \
x86/nemu/vme.c