Index: trunk/minix/lib/i386/misc/Makedepend-ack
===================================================================
--- trunk/minix/lib/i386/misc/Makedepend-ack	(revision 9)
+++ 	(revision )
@@ -1,20 +1,0 @@
-depend-ack:
-	rm .depend-ack
-	touch .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' alloca.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' get_bp.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' getprocessor.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_inb.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_inl.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_insb.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_insl.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_insw.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_intr.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_inw.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outb.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outl.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outsb.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outsl.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outsw.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' io_outw.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
-	mkdep 'cc -O -D_MINIX -D_POSIX_SOURCE -E' oneC_sum.s | sed -e 's:^\(.\):../../obj-ack//./i386/misc/\1:' >> .depend-ack
Index: trunk/minix/lib/i386/misc/Makedepend-gnu
===================================================================
--- trunk/minix/lib/i386/misc/Makedepend-gnu	(revision 9)
+++ 	(revision )
@@ -1,20 +1,0 @@
-depend-gnu:
-	rm .depend-gnu
-	touch .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' alloca.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' get_bp.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' getprocessor.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_inb.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_inl.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_insb.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_insl.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_insw.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_intr.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_inw.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outb.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outl.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outsb.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outsl.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outsw.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' io_outw.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
-	mkdep 'gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I.' oneC_sum.s | sed -e '/<built-in>/d' -e '/<command line>/d' -e 's:^\(.\):../../obj-gnu/./i386/misc/\1:' >> .depend-gnu
Index: trunk/minix/lib/i386/misc/Makefile
===================================================================
--- trunk/minix/lib/i386/misc/Makefile	(revision 9)
+++ 	(revision )
@@ -1,181 +1,0 @@
-#Generated from ./i386/misc/Makefile.in
-all: all-ack
-
-all-ack:
-all-gnu:
-
-makefiles: Makefile
-Makedepend-ack Makedepend-gnu: 
-	sh ../../generate.sh ./i386/misc ../../obj-ack/ ../../obj-gnu
-
-Makefile: Makefile.in Makedepend-ack Makedepend-gnu
-	sh ../../generate.sh ./i386/misc ../../obj-ack/ ../../obj-gnu
-	@echo
-	@echo *Attention*
-	@echo Makefile is regenerated... rerun command to see changes
-	@echo *Attention*
-	@echo
-
-depend: depend-ack
-all-ack: ../../obj-ack//libc.a
-
-../../obj-ack//libc.a: ../../obj-ack//libc.a(alloca.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(get_bp.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(getprocessor.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_inb.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_inl.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_insb.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_insl.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_insw.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_intr.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_inw.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outb.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outl.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outsb.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outsl.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outsw.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(io_outw.o)
-../../obj-ack//libc.a: ../../obj-ack//libc.a(oneC_sum.o)
-
-../../obj-ack//libc.a:
-	ar cr ../../obj-ack//libc.a ../../obj-ack//./i386/misc/*.o
-	rm ../../obj-ack//./i386/misc/*.o
-
-../../obj-ack//libc.a(alloca.o): alloca.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/alloca.o alloca.s
-../../obj-ack//libc.a(get_bp.o): get_bp.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/get_bp.o get_bp.s
-../../obj-ack//libc.a(getprocessor.o): getprocessor.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/getprocessor.o getprocessor.s
-../../obj-ack//libc.a(io_inb.o): io_inb.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_inb.o io_inb.s
-../../obj-ack//libc.a(io_inl.o): io_inl.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_inl.o io_inl.s
-../../obj-ack//libc.a(io_insb.o): io_insb.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_insb.o io_insb.s
-../../obj-ack//libc.a(io_insl.o): io_insl.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_insl.o io_insl.s
-../../obj-ack//libc.a(io_insw.o): io_insw.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_insw.o io_insw.s
-../../obj-ack//libc.a(io_intr.o): io_intr.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_intr.o io_intr.s
-../../obj-ack//libc.a(io_inw.o): io_inw.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_inw.o io_inw.s
-../../obj-ack//libc.a(io_outb.o): io_outb.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outb.o io_outb.s
-../../obj-ack//libc.a(io_outl.o): io_outl.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outl.o io_outl.s
-../../obj-ack//libc.a(io_outsb.o): io_outsb.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outsb.o io_outsb.s
-../../obj-ack//libc.a(io_outsl.o): io_outsl.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outsl.o io_outsl.s
-../../obj-ack//libc.a(io_outsw.o): io_outsw.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outsw.o io_outsw.s
-../../obj-ack//libc.a(io_outw.o): io_outw.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/io_outw.o io_outw.s
-../../obj-ack//libc.a(oneC_sum.o): oneC_sum.s
-	cc -O -D_MINIX -D_POSIX_SOURCE -c -o ../../obj-ack//./i386/misc/oneC_sum.o oneC_sum.s
-
-all-gnu: ../../obj-gnu/libc.a
-
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/alloca.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/get_bp.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/getprocessor.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inb.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inl.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insb.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insl.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_insw.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_intr.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_inw.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outb.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outl.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsb.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsl.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outsw.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/io_outw.o
-../../obj-gnu/libc.a: ../../obj-gnu/./i386/misc/oneC_sum.o
-
-../../obj-gnu/libc.a:
-	gar cr ../../obj-gnu/libc.a $?
-
-../../obj-gnu/./i386/misc/alloca.o: alloca.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. alloca.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/alloca.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/alloca.o ../../obj-gnu/./i386/misc/alloca.s.gnu
-
-../../obj-gnu/./i386/misc/get_bp.o: get_bp.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. get_bp.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/get_bp.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/get_bp.o ../../obj-gnu/./i386/misc/get_bp.s.gnu
-
-../../obj-gnu/./i386/misc/getprocessor.o: getprocessor.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. getprocessor.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/getprocessor.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/getprocessor.o ../../obj-gnu/./i386/misc/getprocessor.s.gnu
-
-../../obj-gnu/./i386/misc/io_inb.o: io_inb.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inb.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_inb.o ../../obj-gnu/./i386/misc/io_inb.s.gnu
-
-../../obj-gnu/./i386/misc/io_inl.o: io_inl.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inl.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_inl.o ../../obj-gnu/./i386/misc/io_inl.s.gnu
-
-../../obj-gnu/./i386/misc/io_insb.o: io_insb.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insb.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_insb.o ../../obj-gnu/./i386/misc/io_insb.s.gnu
-
-../../obj-gnu/./i386/misc/io_insl.o: io_insl.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insl.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_insl.o ../../obj-gnu/./i386/misc/io_insl.s.gnu
-
-../../obj-gnu/./i386/misc/io_insw.o: io_insw.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_insw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_insw.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_insw.o ../../obj-gnu/./i386/misc/io_insw.s.gnu
-
-../../obj-gnu/./i386/misc/io_intr.o: io_intr.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_intr.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_intr.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_intr.o ../../obj-gnu/./i386/misc/io_intr.s.gnu
-
-../../obj-gnu/./i386/misc/io_inw.o: io_inw.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_inw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_inw.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_inw.o ../../obj-gnu/./i386/misc/io_inw.s.gnu
-
-../../obj-gnu/./i386/misc/io_outb.o: io_outb.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outb.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outb.o ../../obj-gnu/./i386/misc/io_outb.s.gnu
-
-../../obj-gnu/./i386/misc/io_outl.o: io_outl.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outl.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outl.o ../../obj-gnu/./i386/misc/io_outl.s.gnu
-
-../../obj-gnu/./i386/misc/io_outsb.o: io_outsb.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsb.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsb.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outsb.o ../../obj-gnu/./i386/misc/io_outsb.s.gnu
-
-../../obj-gnu/./i386/misc/io_outsl.o: io_outsl.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsl.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsl.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outsl.o ../../obj-gnu/./i386/misc/io_outsl.s.gnu
-
-../../obj-gnu/./i386/misc/io_outsw.o: io_outsw.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outsw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outsw.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outsw.o ../../obj-gnu/./i386/misc/io_outsw.s.gnu
-
-../../obj-gnu/./i386/misc/io_outw.o: io_outw.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. io_outw.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/io_outw.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/io_outw.o ../../obj-gnu/./i386/misc/io_outw.s.gnu
-
-../../obj-gnu/./i386/misc/oneC_sum.o: oneC_sum.s
-	gcc -O -D_MINIX -D_POSIX_SOURCE -E -x assembler-with-cpp -I. oneC_sum.s | asmconv -mi386 ack gnu > ../../obj-gnu/./i386/misc/oneC_sum.s.gnu || true
-	gas -o ../../obj-gnu/./i386/misc/oneC_sum.o ../../obj-gnu/./i386/misc/oneC_sum.s.gnu
-
-
-
-
-clean::
-	rm -f ../../obj-ack//./i386/misc/*
-	rm -f ../../obj-gnu/./i386/misc/*
-
-include Makedepend-ack
-include .depend-ack
-
-include Makedepend-gnu
-include .depend-gnu
Index: trunk/minix/lib/i386/misc/Makefile.in
===================================================================
--- trunk/minix/lib/i386/misc/Makefile.in	(revision 9)
+++ 	(revision )
@@ -1,26 +1,0 @@
-# Makefile for lib/i386/misc.
-
-CFLAGS="-O -D_MINIX -D_POSIX_SOURCE"
-
-LIBRARIES=libc
-
-libc_FILES=" \
-	alloca.s \
-	get_bp.s \
-	getprocessor.s \
-	io_inb.s \
-	io_inl.s \
-	io_insb.s \
-	io_insl.s \
-	io_insw.s \
-	io_intr.s \
-	io_inw.s \
-	io_outb.s \
-	io_outl.s \
-	io_outsb.s \
-	io_outsl.s \
-	io_outsw.s \
-	io_outw.s \
-	oneC_sum.s"
-
-TYPE=both
Index: trunk/minix/lib/i386/misc/alloca.s
===================================================================
--- trunk/minix/lib/i386/misc/alloca.s	(revision 9)
+++ 	(revision )
@@ -1,33 +1,0 @@
-#
-!	alloca() - allocate space on the stack		Author: Kees J. Bot
-!								2 Dec 1993
-.sect .text; .sect .rom; .sect .data; .sect .bss
-
-.sect .text
-	.align	16
-.define _alloca
-_alloca:
-#if __ACK__
-	pop	ecx		! Return address
-	pop	eax		! Bytes to allocate
-	add	eax, 2*4+3	! Add space for two saved register variables
-	andb	al, 0xFC	! Align
-	mov	ebx, esp	! Keep current esp
-	sub	esp, eax	! Lower stack
-	mov	eax, esp	! Return value
-	push	4(ebx)		! Push what is probably the saved esi
-	push	(ebx)		! Saved edi
-				! Now ACK can still do:
-				!	pop edi; pop esi; leave; ret
-	push	eax		! Dummy argument
-	jmp	ecx
-#else
-	pop	ecx		! Return address
-	pop	eax		! Bytes to allocate
-	add	eax, 3
-	andb	al, 0xFC	! Align
-	sub	esp, eax	! Lower stack
-	mov	eax, esp	! Return value
-	push	eax		! Dummy argument
-	jmp	ecx
-#endif
Index: trunk/minix/lib/i386/misc/get_bp.s
===================================================================
--- trunk/minix/lib/i386/misc/get_bp.s	(revision 9)
+++ 	(revision )
@@ -1,16 +1,0 @@
-! get_bp.s
-!
-! return EBP in EAX
-!
-! Created:	Sep 7, 1992 by Philip Homburg
-
-.sect .text; .sect .rom; .sect .data; .sect .bss
-
-.sect .text
-.define _get_bp
-_get_bp:
-	mov	eax, ebp
-	ret
-
-! $PchId: get_bp.ack.s,v 1.3 1996/02/23 08:30:52 philip Exp $
-
Index: trunk/minix/lib/i386/misc/getprocessor.s
===================================================================
--- trunk/minix/lib/i386/misc/getprocessor.s	(revision 9)
+++ 	(revision )
@@ -1,56 +1,0 @@
-!	getprocessor() - determine processor type	Author: Kees J. Bot
-!								26 Jan 1994
-
-.sect .text; .sect .rom; .sect .data; .sect .bss
-.sect .text
-
-! int getprocessor(void);
-!	Return 386, 486, 586, ...
-
-.define	_getprocessor
-
-_getprocessor:
-	push	ebp
-	mov	ebp, esp
-	and	esp, 0xFFFFFFFC	! Align stack to avoid AC fault
-	mov	ecx, 0x00040000	! Try to flip the AC bit introduced on the 486
-	call	flip
-	mov	eax, 386	! 386 if it didn't react to "flipping"
-	jz	gotprocessor
-	mov	ecx, 0x00200000	! Try to flip the ID bit introduced on the 586
-	call	flip
-	mov	eax, 486	! 486 if it didn't react
-	jz	gotprocessor
-	pushf
-	pusha			! Save the world
-	mov	eax, 1
-	.data1	0x0F, 0xA2	! CPUID instruction tells the processor type
-	andb	ah, 0x0F	! Extract the family (5, 6, ...)
-	movzxb	eax, ah
-	cmp	eax, 15		! 15: extended family
-	jne	direct
-	mov	eax, 6		! Make it 686
-direct:
-	imul	eax, 100	! 500, 600, ...
-	add	eax, 86		! 586, 686, ...
-	mov	7*4(esp), eax	! Pass eax through
-	popa
-	popf
-gotprocessor:
-	leave
-	ret
-
-flip:
-	pushf			! Push eflags
-	pop	eax		! eax = eflags
-	mov	edx, eax	! Save original eflags
-	xor	eax, ecx	! Flip the bit to test
-	push	eax		! Push modified eflags value
-	popf			! Load modified eflags register
-	pushf
-	pop	eax		! Get it again
-	push	edx
-	popf			! Restore original eflags register
-	xor	eax, edx	! See if the bit changed
-	test	eax, ecx
-	ret
Index: trunk/minix/lib/i386/misc/io_inb.s
===================================================================
--- trunk/minix/lib/i386/misc/io_inb.s	(revision 9)
+++ 	(revision )
@@ -1,14 +1,0 @@
-!	inb() - Input one byte				Author: Kees J. Bot
-!								18 Mar 1996
-!	unsigned inb(U16_t port);
-
-.sect .text
-.define _inb
-_inb:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	xor	eax, eax
-	inb	dx			! read 1 byte
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_inl.s
===================================================================
--- trunk/minix/lib/i386/misc/io_inl.s	(revision 9)
+++ 	(revision )
@@ -1,13 +1,0 @@
-!	inl() - Input one dword				Author: Kees J. Bot
-!								18 Mar 1996
-!	unsigned inl(U16_t port);
-
-.sect .text
-.define _inl
-_inl:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	in	dx			! read 1 dword
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_insb.s
===================================================================
--- trunk/minix/lib/i386/misc/io_insb.s	(revision 9)
+++ 	(revision )
@@ -1,18 +1,0 @@
-!	insb() - Input a byte array			Author: Kees J. Bot
-!								18 Mar 1996
-!	void insb(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _insb
-_insb:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	edi
-	mov	edx, 8(ebp)		! port
-	mov	edi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-   rep	insb				! input many bytes
-	pop	edi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_insl.s
===================================================================
--- trunk/minix/lib/i386/misc/io_insl.s	(revision 9)
+++ 	(revision )
@@ -1,19 +1,0 @@
-!	insl() - Input a dword array			Author: Kees J. Bot
-!								18 Mar 1996
-!	void insl(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _insl
-_insl:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	edi
-	mov	edx, 8(ebp)		! port
-	mov	edi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-	shr	ecx, 2			! dword count
-   rep	ins				! input many dwords
-	pop	edi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_insw.s
===================================================================
--- trunk/minix/lib/i386/misc/io_insw.s	(revision 9)
+++ 	(revision )
@@ -1,19 +1,0 @@
-!	insw() - Input a word array			Author: Kees J. Bot
-!								18 Mar 1996
-!	void insw(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _insw
-_insw:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	edi
-	mov	edx, 8(ebp)		! port
-	mov	edi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-	shr	ecx, 1			! word count
-rep o16	ins				! input many words
-	pop	edi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_intr.s
===================================================================
--- trunk/minix/lib/i386/misc/io_intr.s	(revision 9)
+++ 	(revision )
@@ -1,16 +1,0 @@
-!	intr_disable(), intr_enable - Disable/Enable hardware interrupts.
-!							Author: Kees J. Bot
-!								18 Mar 1996
-!	void intr_disable(void);
-!	void intr_enable(void);
-
-.sect .text
-.define _intr_disable
-_intr_disable:
-	cli
-	ret
-
-.define _intr_enable
-_intr_enable:
-	sti
-	ret
Index: trunk/minix/lib/i386/misc/io_inw.s
===================================================================
--- trunk/minix/lib/i386/misc/io_inw.s	(revision 9)
+++ 	(revision )
@@ -1,14 +1,0 @@
-!	inw() - Input one word				Author: Kees J. Bot
-!								18 Mar 1996
-!	unsigned inw(U16_t port);
-
-.sect .text
-.define _inw
-_inw:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	xor	eax, eax
-    o16	in	dx			! read 1 word
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outb.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outb.s	(revision 9)
+++ 	(revision )
@@ -1,14 +1,0 @@
-!	outb() - Output one byte			Author: Kees J. Bot
-!								18 Mar 1996
-!	void outb(U16_t port, U8_t value);
-
-.sect .text
-.define _outb
-_outb:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	mov	eax, 8+4(ebp)		! value
-	outb	dx			! output 1 byte
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outl.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outl.s	(revision 9)
+++ 	(revision )
@@ -1,14 +1,0 @@
-!	outl() - Output one dword			Author: Kees J. Bot
-!								18 Mar 1996
-!	void outl(U16_t port, u32_t value);
-
-.sect .text
-.define _outl
-_outl:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	mov	eax, 8+4(ebp)		! value
-	out	dx			! output 1 dword
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outsb.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outsb.s	(revision 9)
+++ 	(revision )
@@ -1,18 +1,0 @@
-!	outsb() - Output a byte array		Author: Kees J. Bot
-!								18 Mar 1996
-!	void outsb(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _outsb
-_outsb:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	esi
-	mov	edx, 8(ebp)		! port
-	mov	esi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-   rep	outsb				! output many bytes
-	pop	esi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outsl.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outsl.s	(revision 9)
+++ 	(revision )
@@ -1,19 +1,0 @@
-!	outsl() - Output a dword array		Author: Kees J. Bot
-!								18 Mar 1996
-!	void outsl(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _outsl
-_outsl:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	esi
-	mov	edx, 8(ebp)		! port
-	mov	esi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-	shr	ecx, 2			! dword count
-   rep	outs				! output many dwords
-	pop	esi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outsw.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outsw.s	(revision 9)
+++ 	(revision )
@@ -1,19 +1,0 @@
-!	outsw() - Output a word array		Author: Kees J. Bot
-!								18 Mar 1996
-!	void outsw(U16_t port, void *buf, size_t count);
-
-.sect .text
-.define _outsw
-_outsw:
-	push	ebp
-	mov	ebp, esp
-	cld
-	push	esi
-	mov	edx, 8(ebp)		! port
-	mov	esi, 12(ebp)		! buf
-	mov	ecx, 16(ebp)		! byte count
-	shr	ecx, 1			! word count
-rep o16	outs				! output many words
-	pop	esi
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/io_outw.s
===================================================================
--- trunk/minix/lib/i386/misc/io_outw.s	(revision 9)
+++ 	(revision )
@@ -1,14 +1,0 @@
-!	outw() - Output one word			Author: Kees J. Bot
-!								18 Mar 1996
-!	void outw(U16_t port, U16_t value);
-
-.sect .text
-.define _outw
-_outw:
-	push	ebp
-	mov	ebp, esp
-	mov	edx, 8(ebp)		! port
-	mov	eax, 8+4(ebp)		! value
-    o16	out	dx			! output 1 word
-	pop	ebp
-	ret
Index: trunk/minix/lib/i386/misc/oneC_sum.s
===================================================================
--- trunk/minix/lib/i386/misc/oneC_sum.s	(revision 9)
+++ 	(revision )
@@ -1,80 +1,0 @@
-!	oneC_sum() - One complement`s checksum		Author: Kees J. Bot
-!								9 May 1995
-! See RFC 1071, "Computing the Internet checksum"
-! See also the C version of this code.
-
-.sect .text
-
-.define _oneC_sum
-	.align	16
-_oneC_sum:
-	push	ebp
-	mov	ebp, esp
-	push	esi
-	push	edi
-	movzx	eax, 8(ebp)		! Checksum of previous block
-	mov	esi, 12(ebp)		! Data to compute checksum over
-	mov	edi, 16(ebp)		! Number of bytes
-
-	xor	edx, edx
-	xorb	cl, cl
-align:	test	esi, 3			! Is the data aligned?
-	jz	aligned
-	test	edi, edi
-	jz	0f
-	movb	dl, (esi)		! Rotate the first unaligned bytes
-	dec	edi			! into the edx register
-0:	inc	esi
-	ror	edx, 8
-	ror	eax, 8			! Rotate the checksum likewise
-	addb	cl, 8			! Number of bits rotated
-	jmp	align
-aligned:add	eax, edx		! Summate the unaligned bytes
-	adc	eax, 0			! Add carry back in for one`s complement
-
-	jmp	add6test
-	.align	16
-add6:	add	eax, (esi)		! Six times unrolled loop, see below
-	adc	eax, 4(esi)
-	adc	eax, 8(esi)
-	adc	eax, 12(esi)
-	adc	eax, 16(esi)
-	adc	eax, 20(esi)
-	adc	eax, 0
-	add	esi, 24
-add6test:
-	sub	edi, 24
-	jae	add6
-	add	edi, 24
-
-	jmp	add1test
-	.align	16
-add1:	add	eax, (esi)		! while ((edi -= 4) >= 0)
-	adc	eax, 0			!	eax += *esi++;
-	add	esi, 4			! edi += 4;
-add1test:
-	sub	edi, 4
-	jae	add1
-	add	edi, 4
-
-	jz	done			! Are there extra bytes?
-	mov	edx, (esi)		! Load extra bytes in a full dword
-	and	edx, mask-4(edi*4)	! Mask off excess
-	add	eax, edx		! Add in the last bits
-	adc	eax, 0
-done:	rol	eax, cl			! Undo the rotation at the beginning
-	mov	edx, eax
-	shr	eax, 16
-  o16	add	ax, dx			! Add the two words in eax to form
-  o16	adc	ax, 0			! a 16 bit sum
-	pop	edi
-	pop	esi
-	pop	ebp
-	ret
-
-.sect .rom
-	.align	4
-mask:	.data4	0x000000FF, 0x0000FFFF, 0x00FFFFFF
-
-!
-! $PchId: oneC_sum.ack.s,v 1.2 1996/03/12 19:33:51 philip Exp $
