Files
xen/tools/tests/Makefile
T
kaf24@firebug.cl.cam.ac.uk c19d7d7430 Add support for MOVSX/MOVSXD/MOVZX (move-with-extend)
instructions to the generic x86 emulator. Also add
preliminary support for 16-bit addressing: decode the
ModR/M byte properly but still need to access and update
implicit memory operands (esp,esi,edi) with correct width.
Work is also needed to support real-mode addressing.

Signed-off-by: Keir Fraser <keir@xensource.com>
2005-12-21 14:29:23 +01:00

25 lines
443 B
Makefile

XEN_ROOT=../..
include $(XEN_ROOT)/tools/Rules.mk
TARGET := test_x86_emulator
CC := gcc
CFLAGS := -O2 -Wall -Werror -D__TEST_HARNESS__
all: $(TARGET)
$(TARGET): x86_emulate.o test_x86_emulator.o
$(CC) -o $@ $^
clean:
rm -rf $(TARGET) *.o *~ core
install:
x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
$(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
%.o: %.c
$(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<