ia64/xen-unstable

view tools/tests/Makefile @ 8423:c259492dfb43

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>
author kaf24@firebug.cl.cam.ac.uk
date Wed Dec 21 14:29:23 2005 +0100 (2005-12-21)
parents a01199a95070
children e5aba4f62131
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 TARGET := test_x86_emulator
7 CC := gcc
8 CFLAGS := -O2 -Wall -Werror -D__TEST_HARNESS__
10 all: $(TARGET)
12 $(TARGET): x86_emulate.o test_x86_emulator.o
13 $(CC) -o $@ $^
15 clean:
16 rm -rf $(TARGET) *.o *~ core
18 install:
20 x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
21 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
23 %.o: %.c
24 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<