From: Ben Gras Date: Wed, 2 Aug 2006 22:51:47 +0000 (+0000) Subject: At least 8k stack for all drivers so that malloc() works, for grants, X-Git-Tag: v3.1.3~215 X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/verify-sign/tz-link.htm?a=commitdiff_plain;h=9d9e14941eb92b997497b18b04a5111c972c33fe;p=minix.git At least 8k stack for all drivers so that malloc() works, for grants, for printf(). --- diff --git a/drivers/bios_wini/Makefile b/drivers/bios_wini/Makefile index 63354e2f8..ff0de5496 100644 --- a/drivers/bios_wini/Makefile +++ b/drivers/bios_wini/Makefile @@ -24,7 +24,7 @@ LIBDRIVER = $d/libdriver/driver.o $d/libdriver/drvlib.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(LIBDRIVER) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBDRIVER) $(LIBS) - install -S 4k $(DRIVER) + install -S 8k $(DRIVER) $(LIBDRIVER): cd $d/libdriver && $(MAKE) diff --git a/drivers/cmos/Makefile b/drivers/cmos/Makefile index 19802a955..ae345e2bc 100644 --- a/drivers/cmos/Makefile +++ b/drivers/cmos/Makefile @@ -24,7 +24,7 @@ LIBDRIVER = $d/libdriver/driver.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(LIBDRIVER) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBDRIVER) $(LIBS) - install -S 1024w $(DRIVER) + install -S 8k $(DRIVER) $(LIBDRIVER): cd $d/libdriver && $(MAKE) diff --git a/drivers/dpeth/Makefile b/drivers/dpeth/Makefile index 49749a863..cd6215d18 100644 --- a/drivers/dpeth/Makefile +++ b/drivers/dpeth/Makefile @@ -2,6 +2,10 @@ ## Makefile for ISA ethernet drivers May 02, 2000 ## ## $Log$ +## Revision 1.5 2006/08/02 22:51:46 beng +## At least 8k stack for all drivers so that malloc() works, for grants, +## for printf(). +## ## Revision 1.4 2006/07/10 12:43:38 philip ## Safecopy support in ethernet drivers. ## @@ -41,7 +45,7 @@ all build: $(DRIVER) $(DRIVER): $(OBJS) $(CC) $(OBJS) $(LIBS) $(LDFLAGS) - install -S 4kw $(DRIVER) + install -S 16k $(DRIVER) ## Install with other drivers install: /usr/sbin/$(DRIVER) diff --git a/drivers/floppy/Makefile b/drivers/floppy/Makefile index 65521e1af..700284b5d 100644 --- a/drivers/floppy/Makefile +++ b/drivers/floppy/Makefile @@ -23,7 +23,7 @@ LIBDRIVER = $d/libdriver/driver.o $d/libdriver/drvlib.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(LIBDRIVER) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBDRIVER) $(LIBS) - install -S 4096 $(DRIVER) + install -S 8k $(DRIVER) $(LIBDRIVER): cd $d/libdriver && $(MAKE) diff --git a/drivers/printer/Makefile b/drivers/printer/Makefile index 9dd59f053..975fe054b 100644 --- a/drivers/printer/Makefile +++ b/drivers/printer/Makefile @@ -21,7 +21,7 @@ OBJ = printer.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) -# install -S 64w $(DRIVER) + install -S 8k $(DRIVER) # install with other drivers install: /usr/sbin/$(DRIVER) diff --git a/drivers/random/Makefile b/drivers/random/Makefile index 11e630d0e..3e99a6f65 100644 --- a/drivers/random/Makefile +++ b/drivers/random/Makefile @@ -24,7 +24,7 @@ LIBDRIVER = $d/libdriver/driver.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(LIBDRIVER) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBDRIVER) $(LIBS) - install -S 1024w $(DRIVER) + install -S 8k $(DRIVER) $(LIBDRIVER): cd $d/libdriver && $(MAKE) diff --git a/drivers/rescue/Makefile b/drivers/rescue/Makefile index 30c1abc56..9389d8a6f 100644 --- a/drivers/rescue/Makefile +++ b/drivers/rescue/Makefile @@ -24,7 +24,7 @@ LIBDRIVER = $d/libdriver/driver.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(LIBDRIVER) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBDRIVER) $(LIBS) - install -S 1024w $(DRIVER) + install -S 8k $(DRIVER) $(LIBDRIVER): cd $d/libdriver && $(MAKE) diff --git a/drivers/ti1225/Makefile b/drivers/ti1225/Makefile index 08575d87a..77efdac0a 100644 --- a/drivers/ti1225/Makefile +++ b/drivers/ti1225/Makefile @@ -21,7 +21,7 @@ OBJ = ti1225.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) - install -S 4096 $(DRIVER) + install -S 8k $(DRIVER) # install with other drivers install: /usr/sbin/$(DRIVER) diff --git a/drivers/tty/Makefile b/drivers/tty/Makefile index 79edcd8c4..f45468ec4 100644 --- a/drivers/tty/Makefile +++ b/drivers/tty/Makefile @@ -22,7 +22,7 @@ OBJ = tty.o console.o vidcopy.o keyboard.o pty.o rs232.o all build: $(DRIVER) $(DRIVER): $(OBJ) $(CC) -o $@ $(LDFLAGS) $(OBJ) $(LIBS) - install -S 256w $(DRIVER) + install -S 8k $(DRIVER) # install with other drivers install: