CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = at_wini.o
LIBDRIVER = $d/libdriver/driver.o $d/libdriver/drvlib.o
*/
#include "at_wini.h"
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <minix/keymap.h>
#include <sys/ioc_disk.h>
## Makefile for ISA ethernet drivers May 02, 2000
##
## $Log$
+## Revision 1.3 2005/07/19 13:21:48 jnherder
+## Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
+##
## Revision 1.2 2005/07/19 12:12:47 jnherder
## Changed Makefiles: drivers are now installed in /usr/sbin.
## TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
SRCS = 3c501.c 3c509.c 3c503.c ne.c wd.c 8390.c devio.c netbuff.c dp.c
OBJS = 3c501.o 3c509.o 3c503.o ne.o wd.o 8390.o devio.o netbuff.o dp.o
-LIBS = -lutils -lsys # -ltimers
+LIBS = -lsysutil -lsys # -ltimers
## Build rules
all build: $(DRIVER)
#include <minix/const.h>
#include <minix/devio.h>
#include <minix/syslib.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <minix/bitmap.h>
#include <ibm/interrupt.h> /* IRQ vectors and miscellaneous ports */
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = floppy.o
LIBDRIVER = $d/libdriver/driver.o $d/libdriver/drvlib.o
#include "floppy.h"
#include <timers.h>
#include <ibm/diskparm.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <minix/syslib.h>
/* I/O Ports used by floppy disk task. */
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = fxp.o mii.o
LIBPCI = $d/libpci/pci.o $d/libpci/pci_table.o
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJECTS = driver.o drvlib.o
#include <sys/types.h>
#include <minix/const.h>
#include <minix/syslib.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <string.h>
#include <limits.h>
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJECTS = pci.o pci_table.o
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#define NR_PCIBUS 2
#define NR_PCIDEV 40
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJ = log.o
LIBDRIVER = $d/libdriver/driver.o
FORWARD _PROTOTYPE( void log_geometry, (struct partition *entry) );
FORWARD _PROTOTYPE( void log_reply, (int code, int replyee, int proc, int status) );
FORWARD _PROTOTYPE( void log_notify, (int code, int replyee, int line, int ops) );
+FORWARD _PROTOTYPE( int subread, (struct logdevice *log, int count, int proc_nr, vir_bytes user_vir) );
/* Entry points to this driver. */
PRIVATE struct driver log_dtab = {
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJ = memory.o random.o sha2.o aes/rijndael_api.o aes/rijndael_alg.o
LIBDRIVER = $d/libdriver/driver.o
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJ = printer.o
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = rtl8139.o
LIBPCI = $d/libpci/pci.o $d/libpci/pci_table.o
#include <minix/keymap.h>
#include <minix/syslib.h>
#include <minix/type.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <timers.h>
#include <ibm/portio.h>
#include <net/hton.h>
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = tty.o console.o vidcopy.o keyboard.o pty.o rs232.o
cd socket && $(MAKE)
cd syscall && $(MAKE)
cd syslib && $(MAKE)
- cd utils && $(MAKE)
+ cd sysutil && $(MAKE)
cd timers && $(MAKE)
cd $(ZLIB) && $(MAKE)
cd `arch` && $(MAKE)
$(LIB)/end.a \
$(LIB)/libsys.a \
$(LIB)/libtimers.a \
- $(LIB)/utils.a \
+ $(LIB)/sysutil.a \
$(LIB)/libcurses.a \
$(LIB)/libedit.a \
$(LIB)/liby.a \
$(LIB)/libtimers.a: libtimers.a
install -c -o bin $? $@
-$(LIB)/libutils.a: libutils.a
+$(LIB)/libsysutil.a: libsysutil.a
install -c -o bin $? $@
$(LIB)/libcurses.a: libcurses.a
$(LIB386)/end.a \
$(LIB386)/libsys.a \
$(LIB386)/libtimers.a \
- $(LIB386)/libutils.a \
+ $(LIB386)/libsysutil.a \
$(LIB386)/libcurses.a \
$(LIB386)/libedit.a \
$(LIB386)/liby.a \
$(LIB386)/libtimers.a: libtimers.a
install -c -o bin $? $@
-$(LIB386)/libutils.a: libutils.a
+$(LIB386)/libsysutil.a: libsysutil.a
install -c -o bin $? $@
$(LIB386)/libcurses.a: libcurses.a
CFLAGS = -O -D_MINIX -D_POSIX_SOURCE
CC1 = $(CC) $(CFLAGS) -c
-LIBUTILS = ../libutils.a
+LIBUTILS = ../libsysutil.a
all: $(LIBUTILS)
OBJECTS = \
-#include "utils.h"
+#include "sysutil.h"
#include <string.h>
/*=========================================================================*
-#include "utils.h"
+#include "sysutil.h"
#include <stdlib.h>
#include <string.h>
-#include "utils.h"
+#include "sysutil.h"
#include <stdlib.h>
#include <string.h>
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* fkey_ctl *
-#include "utils.h"
+#include "sysutil.h"
#include <minix/config.h>
#include <string.h>
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* getuptime *
* to pollute the kernel message buffer with its debug dumps.
*/
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* kputc *
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* panic *
* value of a defined constant.
*/
message m;
-
if (NULL != who && NULL != mess) {
if (num != NO_NUM) {
printf("Panic in %s: %s: %d\n", who, mess, num);
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* report *
-/* utils.h - System library utilities. */
+/* sysutil.h - System library utilities. */
#define _SYSTEM
#include <lib.h> /* common to all libraries */
#include <minix/com.h> /* need task numbers + message types */
#include <minix/syslib.h> /* need sendrec, _taskcall, etc */
-#include <minix/utils.h> /* prototypes in this library */
+#include <minix/sysutil.h> /* prototypes in this library */
-#include "utils.h"
+#include "sysutil.h"
/*===========================================================================*
* tickdelay *
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils -ltimers
+LIBS = -lsys -lsysutil -ltimers
OBJ = main.o open.o read.o write.o pipe.o dmap.o \
device.o path.o mount.o link.o super.o inode.o \
#include "fs.h"
#include <minix/com.h>
#include <minix/callnr.h>
-#include <minix/utils.h>
#include <time.h>
#include <ibm/cmos.h>
#include <ibm/bios.h>
#include <string.h>
#include <unistd.h>
#include <minix/com.h>
-#include <minix/utils.h>
/* Some devices may or may not be there in the next table. */
#define DT(enable, opcl, io, driver, flags) \
#include <errno.h>
#include <minix/syslib.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include "const.h"
#include "type.h"
#include <stdlib.h>
#include <sys/ioc_memory.h>
#include <sys/svrctl.h>
-#include <minix/utils.h>
#include <minix/callnr.h>
#include <minix/com.h>
#include <minix/keymap.h>
CPPFLAGS = -I. -D_MINIX
CFLAGS = $(OPT) $(CPPFLAGS)
LDFLAGS =
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
.c.o:
$(CC) $(CFLAGS) -o $@ -c $<
#include <sys/time.h>
#include <minix/config.h>
#include <minix/type.h>
-#include <minix/utils.h>
#define _NORETURN /* Should be non empty for GCC */
#include <minix/const.h>
#include <minix/com.h>
#include <minix/syslib.h>
+#include <minix/sysutil.h>
#include <net/hton.h>
#include <net/gen/ether.h>
#include <net/gen/eth_hdr.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <minix/type.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <minix/syslib.h>
#include "inet_config.h"
# build local binary
all build: $(SERVER)
$(SERVER): $(OBJ)
- $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJ) -lutils
+ $(CC) $(CFLAGS) -o $@ $(LDFLAGS) $(OBJ) -lsysutil
install -S 192w $@
# install with other servers
CC = exec cc
CFLAGS = -I$i
LDFLAGS = -i
-LIBS = -lsys -lutils
+LIBS = -lsys -lsysutil
OBJ = main.o dmp.o dmp_kernel.o dmp_pm.o dmp_fs.o diag.o kputc.o
#include <minix/const.h>
#include <minix/com.h>
#include <minix/syslib.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <minix/keymap.h>
#include <minix/bitmap.h>
# build local binary
all build: $(SERVER)
$(SERVER): $(OBJ)
- $(CC) -o $@ $(LDFLAGS) $(OBJ) -lsys -lutils -ltimers
+ $(CC) -o $@ $(LDFLAGS) $(OBJ) -lsys -lsysutil -ltimers
install -S 256w $@
# install with other servers
#include <sys/wait.h>
#include <minix/callnr.h>
#include <minix/com.h>
-#include <minix/utils.h>
#include <signal.h>
#include "mproc.h"
#include "param.h"
*/
#include "pm.h"
-#include <minix/utils.h>
#include <minix/keymap.h>
#include <minix/callnr.h>
#include <minix/com.h>
#include <sys/svrctl.h>
#include <sys/resource.h>
#include <minix/com.h>
-#include <minix/utils.h>
#include <string.h>
#include "mproc.h"
#include "param.h"
#include <fcntl.h>
#include <unistd.h>
#include <minix/syslib.h>
-#include <minix/utils.h>
+#include <minix/sysutil.h>
#include <limits.h>
#include <errno.h>
*/
#include "pm.h"
-#include <minix/utils.h>
#include <sys/stat.h>
#include <minix/callnr.h>
#include <minix/com.h>