From 7837c71b32fc716101a859302e0349061416bd6e Mon Sep 17 00:00:00 2001 From: kaashoek Date: Thu, 6 Jul 2006 21:47:22 +0000 Subject: disable all interrupts when acquiring lock user program that makes a blocking system call --- Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index f82d260..9221ded 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,12 @@ bootblock : bootasm.S bootmain.c $(OBJCOPY) -S -O binary bootblock.o bootblock ./sign.pl bootblock -kernel : $(OBJS) bootother.S user1 usertests +kernel : $(OBJS) bootother.S user1 usertests userfs $(CC) -nostdinc -I. -c bootother.S $(LD) -N -e start -Ttext 0x7000 -o bootother.out bootother.o $(OBJCOPY) -S -O binary bootother.out bootother $(OBJDUMP) -S bootother.o > bootother.asm - $(LD) -Ttext 0x100000 -e main -o kernel $(OBJS) -b binary bootother user1 usertests + $(LD) -Ttext 0x100000 -e main -o kernel $(OBJS) -b binary bootother user1 usertests userfs $(OBJDUMP) -S kernel > kernel.asm vectors.S : vectors.pl @@ -41,6 +41,11 @@ usertests : usertests.c ulib.o $(LD) -N -e main -Ttext 0 -o usertests usertests.o ulib.o $(OBJDUMP) -S usertests > usertests.asm +userfs : userfs.c ulib.o + $(CC) -nostdinc -I. -c userfs.c + $(LD) -N -e main -Ttext 0 -o userfs userfs.o ulib.o + $(OBJDUMP) -S userfs > userfs.asm + ulib.o : ulib.c $(CC) -nostdinc -I. -c ulib.c -- cgit v1.2.3