mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 05:39:20 +00:00
726f45b33d
When attempting to set all flags except trap flag, the EFLAGS value should be 0x00244ED7, I've tested this on Windows and here https://ideone.com/WQAvk1 which is presumably Linux. Unicorn however has the value 0x00000ED7, bits 11-21 are not set. Bit 21 is the ID bit indicating whether or not CPUID is available.
27 lines
535 B
Makefile
27 lines
535 B
Makefile
CFLAGS += -I../include
|
|
LDFLAGS += ../../libunicorn.a $(shell pkg-config --libs glib-2.0) -lpthread -lm
|
|
|
|
TESTS = map_crash map_write
|
|
TESTS += sigill sigill2
|
|
TESTS += block_test
|
|
TESTS += ro_mem_test nr_mem_test
|
|
TESTS += timeout_segfault
|
|
TESTS += rep_movsb
|
|
TESTS += mem_unmap
|
|
TESTS += mem_double_unmap
|
|
TESTS += mem_protect
|
|
TESTS += mem_exec
|
|
TESTS += mips_kseg0_1
|
|
TESTS += eflags_nosync
|
|
TESTS += 00opcode_uc_crash
|
|
TESTS += eflags_noset
|
|
|
|
all: $(TESTS)
|
|
|
|
clean:
|
|
rm -f $(TESTS)
|
|
|
|
%: %.c
|
|
$(CC) $(CFLAGS) $^ $(LDFLAGS) -o $@
|
|
|
|
.PHONY: all clean
|