Skip to contentSkip to conversation

ACE simple test program

PATCH In review Wink Saville 1 participant 1 message May 6, 2007 KVM

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 ACE simple test program

---
  test/ace_test/Makefile   |   19 ++++
  test/ace_test/ace_test.c |  224 ++++++++++++++++++++++++++++++++++++++++++++++
  2 files changed, 243 insertions(+), 0 deletions(-)

create mode 100644 test/ace_test/Makefile
create mode 100644 test/ace_test/ace_test.c

test/ace_test/Makefile new file +19 -0
Index: linux-2.6/test/ace_test/Makefile
===================================================================
@@ -0,0 +1,19 @@
+CFLAGS=-m64 -O2 -Wall -g -DDEBUG=0
+INCLUDE= -I../../include
+
+.PHONY: all
+all: ace_test
+
+ace_test: ace_test.c ace.o
+	gcc ${CFLAGS} ${INCLUDE} ace_test.c ace.o -o ace_test -lpthread -lrt
+	objdump -d ace_test > ace_test.dis
+
+ace.o: ace.S
+	gcc ${CFLAGS} ${INCLUDE} -c ace.S -o ace.o
+
+ace.S: ../../arch/x86_64/kernel/ace.S
+	cp ../../arch/x86_64/kernel/ace.S .
+
+clean:
+	rm -f ace_test.o ace.S ace.o ace_test.dis ace_test
+
test/ace_test/ace_test.c new file +234 -0

234 lines not on this page · raw message

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/