File linux/linux-0.01/fs/stat.c: 280 tokens File linux/linux-0.01/fs/read_write.c: 722 tokens File linux/linux-0.01/fs/buffer.c: 1110 tokens File linux/linux-0.01/fs/inode.c: 1556 tokens File linux/linux-0.01/fs/file_table.c: 6 tokens File linux/linux-0.01/fs/open.c: 1044 tokens File linux/linux-0.01/fs/char_dev.c: 287 tokens File linux/linux-0.01/fs/block_dev.c: 412 tokens File linux/linux-0.01/fs/file_dev.c: 493 tokens File linux/linux-0.01/fs/exec.c: 1789 tokens File linux/linux-0.01/fs/super.c: 708 tokens File linux/linux-0.01/fs/namei.c: 3345 tokens File linux/linux-0.01/fs/pipe.c: 640 tokens File linux/linux-0.01/fs/bitmap.c: 990 tokens File linux/linux-0.01/fs/fcntl.c: 327 tokens File linux/linux-0.01/fs/ioctl.c: 200 tokens File linux/linux-0.01/fs/tty_ioctl.c: 908 tokens File linux/linux-0.01/fs/truncate.c: 330 tokens File linux/linux-0.01/init/main.c: 523 tokens File linux/linux-0.01/kernel/sched.c: 1078 tokens File linux/linux-0.01/kernel/console.c: 2339 tokens File linux/linux-0.01/kernel/hd.c: 2172 tokens File linux/linux-0.01/kernel/exit.c: 890 tokens File linux/linux-0.01/kernel/panic.c: 19 tokens File linux/linux-0.01/kernel/traps.c: 933 tokens File linux/linux-0.01/kernel/fork.c: 805 tokens File linux/linux-0.01/kernel/tty_io.c: 1793 tokens File linux/linux-0.01/kernel/printk.c: 73 tokens File linux/linux-0.01/kernel/sys.c: 799 tokens File linux/linux-0.01/kernel/serial.c: 176 tokens File linux/linux-0.01/kernel/vsprintf.c: 1150 tokens File linux/linux-0.01/kernel/mktime.c: 323 tokens File linux/linux-0.01/lib/ctype.c: 707 tokens File linux/linux-0.01/lib/_exit.c: 32 tokens File linux/linux-0.01/lib/open.c: 85 tokens File linux/linux-0.01/lib/close.c: 15 tokens File linux/linux-0.01/lib/errno.c: 2 tokens File linux/linux-0.01/lib/write.c: 25 tokens File linux/linux-0.01/lib/execve.c: 29 tokens File linux/linux-0.01/lib/dup.c: 15 tokens File linux/linux-0.01/lib/wait.c: 43 tokens File linux/linux-0.01/lib/setsid.c: 11 tokens File linux/linux-0.01/lib/string.c: 18 tokens File linux/linux-0.01/mm/memory.c: 1221 tokens File linux/linux-0.01/tools/build.c: 437 tokens File linux/linux-0.01/include/sys/stat.h: 253 tokens File linux/linux-0.01/include/sys/types.h: 130 tokens File linux/linux-0.01/include/sys/times.h: 28 tokens File linux/linux-0.01/include/sys/utsname.h: 45 tokens File linux/linux-0.01/include/sys/wait.h: 163 tokens File linux/linux-0.01/include/unistd.h: 1418 tokens File linux/linux-0.01/include/time.h: 147 tokens File linux/linux-0.01/include/termios.h: 653 tokens File linux/linux-0.01/include/stddef.h: 61 tokens File linux/linux-0.01/include/stdarg.h: 164 tokens File linux/linux-0.01/include/fcntl.h: 132 tokens File linux/linux-0.01/include/utime.h: 29 tokens File linux/linux-0.01/include/string.h: 1465 tokens File linux/linux-0.01/include/errno.h: 130 tokens File linux/linux-0.01/include/signal.h: 268 tokens File linux/linux-0.01/include/const.h: 34 tokens File linux/linux-0.01/include/a.out.h: 599 tokens File linux/linux-0.01/include/ctype.h: 403 tokens File linux/linux-0.01/include/linux/hdreg.h: 251 tokens File linux/linux-0.01/include/linux/kernel.h: 53 tokens File linux/linux-0.01/include/linux/sched.h: 1137 tokens File linux/linux-0.01/include/linux/sys.h: 475 tokens File linux/linux-0.01/include/linux/tty.h: 453 tokens File linux/linux-0.01/include/linux/fs.h: 778 tokens File linux/linux-0.01/include/linux/mm.h: 36 tokens File linux/linux-0.01/include/linux/head.h: 54 tokens File linux/linux-0.01/include/linux/config.h: 126 tokens File linux/linux-0.01/include/asm/io.h: 136 tokens File linux/linux-0.01/include/asm/memory.h: 70 tokens File linux/linux-0.01/include/asm/system.h: 512 tokens File linux/linux-0.01/include/asm/segment.h: 212 tokens File /: separator File minix/1.1/bar/fs/type.h: 34 tokens File minix/1.1/bar/fs/super.h: 64 tokens File minix/1.1/bar/fs/path.c: 1162 tokens File minix/1.1/bar/fs/param.h: 235 tokens File minix/1.1/bar/fs/inode.h: 67 tokens File minix/1.1/bar/fs/glo.h: 52 tokens File minix/1.1/bar/fs/fproc.h: 61 tokens File minix/1.1/bar/fs/file.h: 27 tokens File minix/1.1/bar/fs/dev.h: 31 tokens File minix/1.1/bar/fs/const.h: 194 tokens File minix/1.1/bar/fs/cache.c: 994 tokens File minix/1.1/bar/fs/buf.h: 160 tokens File minix/1.1/bar/fs/device.c: 563 tokens File minix/1.1/bar/fs/filedes.c: 260 tokens File minix/1.1/bar/fs/inode.c: 766 tokens File minix/1.1/bar/fs/link.c: 728 tokens File minix/1.1/bar/fs/main.c: 1307 tokens File minix/1.1/bar/fs/misc.c: 799 tokens File minix/1.1/bar/fs/mount.c: 859 tokens File minix/1.1/bar/fs/open.c: 1158 tokens File minix/1.1/bar/fs/pipe.c: 937 tokens File minix/1.1/bar/fs/protect.c: 592 tokens File minix/1.1/bar/fs/putc.c: 117 tokens File minix/1.1/bar/fs/read.c: 1583 tokens File minix/1.1/bar/fs/stadir.c: 602 tokens File minix/1.1/bar/fs/super.c: 1024 tokens File minix/1.1/bar/fs/table.c: 388 tokens File minix/1.1/bar/fs/time.c: 236 tokens File minix/1.1/bar/fs/utility.c: 478 tokens File minix/1.1/bar/fs/write.c: 918 tokens File minix/1.1/bar/h/signal.h: 85 tokens File minix/1.1/bar/h/stat.h: 66 tokens File minix/1.1/bar/h/sgtty.h: 96 tokens File minix/1.1/bar/h/error.h: 206 tokens File minix/1.1/bar/h/callnr.h: 141 tokens File minix/1.1/bar/h/com.h: 244 tokens File minix/1.1/bar/h/const.h: 165 tokens File minix/1.1/bar/h/type.h: 548 tokens File minix/1.1/bar/include/blocksize.h: 3 tokens File minix/1.1/bar/include/ctype.h: 269 tokens File minix/1.1/bar/include/errno.h: 117 tokens File minix/1.1/bar/include/grp.h: 12 tokens File minix/1.1/bar/include/lib.h: 34 tokens File minix/1.1/bar/include/pwd.h: 23 tokens File minix/1.1/bar/include/regexp.h: 62 tokens File minix/1.1/bar/include/setjmp.h: 11 tokens File minix/1.1/bar/include/sgtty.h: 96 tokens File minix/1.1/bar/include/signal.h: 85 tokens File minix/1.1/bar/include/stat.h: 66 tokens File minix/1.1/bar/include/stdio.h: 286 tokens File minix/1.1/bar/kernel/type.h: 27 tokens File minix/1.1/bar/kernel/proc.h: 134 tokens File minix/1.1/bar/kernel/glo.h: 51 tokens File minix/1.1/bar/kernel/const.h: 101 tokens File minix/1.1/bar/kernel/clock.c: 644 tokens File minix/1.1/bar/kernel/dmp.c: 805 tokens File minix/1.1/bar/kernel/floppy.c: 2386 tokens File minix/1.1/bar/kernel/main.c: 1193 tokens File minix/1.1/bar/kernel/memory.c: 475 tokens File minix/1.1/bar/kernel/printer.c: 805 tokens File minix/1.1/bar/kernel/proc.c: 1308 tokens File minix/1.1/bar/kernel/system.c: 1913 tokens File minix/1.1/bar/kernel/table.c: 71 tokens File minix/1.1/bar/kernel/tty.c: 5340 tokens File minix/1.1/bar/kernel/wini.c: 2635 tokens File minix/1.1/bar/kernel/xt_wini.c: 2635 tokens File minix/1.1/bar/kernel/at_wini.c: 2401 tokens File minix/1.1/bar/mm/const.h: 44 tokens File minix/1.1/bar/mm/glo.h: 39 tokens File minix/1.1/bar/mm/mproc.h: 64 tokens File minix/1.1/bar/mm/param.h: 91 tokens File minix/1.1/bar/mm/type.h: 0 tokens File minix/1.1/bar/mm/alloc.c: 590 tokens File minix/1.1/bar/mm/break.c: 654 tokens File minix/1.1/bar/mm/exec.c: 1587 tokens File minix/1.1/bar/mm/forkexit.c: 987 tokens File minix/1.1/bar/mm/getset.c: 184 tokens File minix/1.1/bar/mm/main.c: 713 tokens File minix/1.1/bar/mm/putc.c: 104 tokens File minix/1.1/bar/mm/signal.c: 1468 tokens File minix/1.1/bar/mm/table.c: 236 tokens File minix/1.1/bar/mm/utility.c: 384 tokens Total: 90355 tokens linux/linux-0.01/include/termios.h: line 63-115 minix/1.1/bar/kernel/floppy.c: line 32-91 <#define VINTR 0 <#define VQUIT 1 <#define VERASE 2 <#define VKILL 3 <#define VEOF 4 <#define VTIME 5 <#define VMIN 6 <#define VSWTC 7 <#define VSTART 8 <#define VSTOP 9 <#define VSUSP 10 <#define VEOL 11 <#define VREPRINT 12 <#define VDISCARD 13 <#define VWERASE 14 <#define VLNEXT 15 <#define VEOL2 16 < #define DOR 0x3F2 /* motor drive control bits */ >#define FDC_STATUS 0x3F4 /* floppy disk controller status register */ >#define FDC_DATA 0x3F5 /* floppy disk controller data register */ >#define FDC_RATE 0x3F7 /* transfer rate register */ >#define DMA_ADDR 0x004 /* port for low 16 bits of DMA address */ >#define DMA_TOP 0x081 /* port for top 4 bits of 20-bit DMA addr */ >#define DMA_COUNT 0x005 /* port for DMA count (count = bytes - 1) */ >#define DMA_M2 0x00C /* DMA status port */ >#define DMA_M1 0x00B /* DMA status port */ >#define DMA_INIT 0x00A /* DMA init port */ > >/* Status registers returned as result of operation. */ >#define ST0 0x00 /* status register 0 */ >#define ST1 0x01 /* status register 1 */ >#define ST2 0x02 /* status register 2 */ >#define ST3 0x00 /* status register 3 (return by DRIVE_SENSE) */ >#define ST_CYL 0x03 /* slot where controller reports cylinder */ >#define ST_HEAD 0x04 /* slot where controller reports head */ >#define ST_SEC 0x05 /* slot where controller reports sector */ >#define ST_PCN 0x01 /* slot where controller reports present cyl */ > >/* Fields within the I/O ports. */ >#define MASTER 0x80 /* used to see who is master */ >#define DIRECTION 0x40 /* is FDC trying to read or write? */ >#define CTL_BUSY 0x10 /* used to see when controller is busy */ >#define CTL_ACCEPTING 0x80 /* bit pattern FDC gives when idle */ >#define MOTOR_MASK 0xF0 /* these bits control the motors in DOR */ >#define ENABLE_INT 0x0C /* used for setting DOR port */ >#define ST0_BITS 0xF8 /* check top 5 bits of seek status */ >#define ST3_FAULT 0x80 /* if this bit is set, drive is sick */ >#define ST3_WR_PROTECT 0x40 /* set when diskette is write protected */ >#define ST3_READY 0x20 /* set when drive is ready */ >#define TRANS_ST0 0x00 /* top 5 bits of ST0 for READ/WRITE */ >#define SEEK_ST0 0x20 /* top 5 bits of ST0 for SEEK */ >#define BAD_SECTOR 0x05 /* if these bits are set in ST1, recalibrate */ >#define BAD_CYL 0x1F /* if any of these bits are set, recalibrate */ >#define WRITE_PROTECT 0x02 /* bit is set if diskette is write protected */ >#define CHANGE 0xC0 /* value returned by FDC after reset */ > >/* Floppy disk controller command bytes. */ >#define FDC_SEEK 0x0F /* command the drive to seek */ >#define FDC_READ 0xE6 /* command the drive to read */ >#define FDC_WRITE 0xC5 /* command the drive to write */ >#define FDC_SENSE 0x08 /* command the controller to tell its status */ >#define FDC_RECALIBRATE 0x07 /* command the drive to go to cyl 0 */ >#define FDC_SPECIFY 0x03 /* command the drive to accept params */ > >/* DMA channel commands. */ >#define DMA_READ 0x46 /* DMA read opcode */ >#define DMA_WRITE 0x4A /* DMA write opcode */ > >/* Parameters for the disk drive. */ >#define SECTOR_SIZE 512 /* physical sector size in bytes */ >#define HC_SIZE 2400 /* # sectors on a high-capacity (1.2M) disk */ >#define NR_HEADS 0x02 /* two heads (i.e., two tracks/cylinder) */ >#define DTL 0xFF /* determines data length (sector size) */ >#define SPEC1 0xDF /* first parameter to SPECIFY */ >#define SPEC2 0x02 /* second parameter to SPECIFY */ > >#define MOTOR_OFF 3*HZ /* how long to wait before stopping motor */ linux/linux-0.01/include/termios.h: line 115-167 minix/1.1/bar/kernel/floppy.c: line 32-91 <#define TAB0 0000000 <#define TAB1 0004000 <#define TAB2 0010000 <#define TAB3 0014000 <#define XTABS 0014000 <#define BSDLY 0020000 <#define BS0 0000000 <#define BS1 0020000 <#define VTDLY 0040000 <#define VT0 0000000 <#define VT1 0040000 <#define FFDLY 0040000 <#define FF0 0000000 <#define FF1 0040000 < #define DOR 0x3F2 /* motor drive control bits */ >#define FDC_STATUS 0x3F4 /* floppy disk controller status register */ >#define FDC_DATA 0x3F5 /* floppy disk controller data register */ >#define FDC_RATE 0x3F7 /* transfer rate register */ >#define DMA_ADDR 0x004 /* port for low 16 bits of DMA address */ >#define DMA_TOP 0x081 /* port for top 4 bits of 20-bit DMA addr */ >#define DMA_COUNT 0x005 /* port for DMA count (count = bytes - 1) */ >#define DMA_M2 0x00C /* DMA status port */ >#define DMA_M1 0x00B /* DMA status port */ >#define DMA_INIT 0x00A /* DMA init port */ > >/* Status registers returned as result of operation. */ >#define ST0 0x00 /* status register 0 */ >#define ST1 0x01 /* status register 1 */ >#define ST2 0x02 /* status register 2 */ >#define ST3 0x00 /* status register 3 (return by DRIVE_SENSE) */ >#define ST_CYL 0x03 /* slot where controller reports cylinder */ >#define ST_HEAD 0x04 /* slot where controller reports head */ >#define ST_SEC 0x05 /* slot where controller reports sector */ >#define ST_PCN 0x01 /* slot where controller reports present cyl */ > >/* Fields within the I/O ports. */ >#define MASTER 0x80 /* used to see who is master */ >#define DIRECTION 0x40 /* is FDC trying to read or write? */ >#define CTL_BUSY 0x10 /* used to see when controller is busy */ >#define CTL_ACCEPTING 0x80 /* bit pattern FDC gives when idle */ >#define MOTOR_MASK 0xF0 /* these bits control the motors in DOR */ >#define ENABLE_INT 0x0C /* used for setting DOR port */ >#define ST0_BITS 0xF8 /* check top 5 bits of seek status */ >#define ST3_FAULT 0x80 /* if this bit is set, drive is sick */ >#define ST3_WR_PROTECT 0x40 /* set when diskette is write protected */ >#define ST3_READY 0x20 /* set when drive is ready */ >#define TRANS_ST0 0x00 /* top 5 bits of ST0 for READ/WRITE */ >#define SEEK_ST0 0x20 /* top 5 bits of ST0 for SEEK */ >#define BAD_SECTOR 0x05 /* if these bits are set in ST1, recalibrate */ >#define BAD_CYL 0x1F /* if any of these bits are set, recalibrate */ >#define WRITE_PROTECT 0x02 /* bit is set if diskette is write protected */ >#define CHANGE 0xC0 /* value returned by FDC after reset */ > >/* Floppy disk controller command bytes. */ >#define FDC_SEEK 0x0F /* command the drive to seek */ >#define FDC_READ 0xE6 /* command the drive to read */ >#define FDC_WRITE 0xC5 /* command the drive to write */ >#define FDC_SENSE 0x08 /* command the controller to tell its status */ >#define FDC_RECALIBRATE 0x07 /* command the drive to go to cyl 0 */ >#define FDC_SPECIFY 0x03 /* command the drive to accept params */ > >/* DMA channel commands. */ >#define DMA_READ 0x46 /* DMA read opcode */ >#define DMA_WRITE 0x4A /* DMA write opcode */ > >/* Parameters for the disk drive. */ >#define SECTOR_SIZE 512 /* physical sector size in bytes */ >#define HC_SIZE 2400 /* # sectors on a high-capacity (1.2M) disk */ >#define NR_HEADS 0x02 /* two heads (i.e., two tracks/cylinder) */ >#define DTL 0xFF /* determines data length (sector size) */ >#define SPEC1 0xDF /* first parameter to SPECIFY */ >#define SPEC2 0x02 /* second parameter to SPECIFY */ > >#define MOTOR_OFF 3*HZ /* how long to wait before stopping motor */ linux/linux-0.01/lib/ctype.c: line 20-25 minix/1.1/bar/fs/table.c: line 36-104 <_L,_L,_L,_P,_P,_P,_P,_C, /* 120-127 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 128-143 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 144-159 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 160-175 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 176-191 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 192-207 */ --- > no_sys, /* 0 = unused */ > do_exit, /* 1 = exit */ > do_fork, /* 2 = fork */ > do_read, /* 3 = read */ > do_write, /* 4 = write */ > do_open, /* 5 = open */ > do_close, /* 6 = close */ > no_sys, /* 7 = wait */ > do_creat, /* 8 = creat */ > do_link, /* 9 = link */ > do_unlink, /* 10 = unlink */ > no_sys, /* 11 = exec */ > do_chdir, /* 12 = chdir */ > do_time, /* 13 = time */ > do_mknod, /* 14 = mknod */ > do_chmod, /* 15 = chmod */ > do_chown, /* 16 = chown */ > no_sys, /* 17 = break */ > do_stat, /* 18 = stat */ > do_lseek, /* 19 = lseek */ > no_sys, /* 20 = getpid */ > do_mount, /* 21 = mount */ > do_umount, /* 22 = umount */ > do_set, /* 23 = setuid */ > no_sys, /* 24 = getuid */ > do_stime, /* 25 = stime */ > no_sys, /* 26 = (ptrace)*/ > no_sys, /* 27 = alarm */ > do_fstat, /* 28 = fstat */ > no_sys, /* 29 = pause */ > do_utime, /* 30 = utime */ > no_sys, /* 31 = (stty) */ > no_sys, /* 32 = (gtty) */ > do_access, /* 33 = access */ > no_sys, /* 34 = (nice) */ > no_sys, /* 35 = (ftime) */ > do_sync, /* 36 = sync */ > no_sys, /* 37 = kill */ > no_sys, /* 38 = unused */ > no_sys, /* 39 = unused */ > no_sys, /* 40 = unused */ > do_dup, /* 41 = dup */ > do_pipe, /* 42 = pipe */ > do_tims, /* 43 = times */ > no_sys, /* 44 = (prof) */ > no_sys, /* 45 = unused */ > do_set, /* 46 = setgid */ > no_sys, /* 47 = getgid */ > no_sys, /* 48 = sig */ > no_sys, /* 49 = unused */ > no_sys, /* 50 = unused */ > no_sys, /* 51 = (acct) */ > no_sys, /* 52 = (phys) */ > no_sys, /* 53 = (lock) */ > do_ioctl, /* 54 = ioctl */ > no_sys, /* 55 = unused */ > no_sys, /* 56 = (mpx) */ > no_sys, /* 57 = unused */ > no_sys, /* 58 = unused */ > no_sys, /* 59 = exece */ > do_umask, /* 60 = umask */ > do_chroot, /* 61 = chroot */ > no_sys, /* 62 = unused */ > no_sys, /* 63 = unused */ > > no_sys, /* 64 = KSIG: signals originating in the kernel */ > do_unpause, /* 65 = UNPAUSE */ > no_sys, /* 66 = BRK2 (used to tell MM size of FS,INIT) */ > do_revive, /* 67 = REVIVE */ linux/linux-0.01/lib/ctype.c: line 25-28 minix/1.1/bar/fs/table.c: line 44-106 <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 192-207 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 208-223 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* 224-239 */ <0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0}; /* 240-255 */ --- > do_creat, /* 8 = creat */ > do_link, /* 9 = link */ > do_unlink, /* 10 = unlink */ > no_sys, /* 11 = exec */ > do_chdir, /* 12 = chdir */ > do_time, /* 13 = time */ > do_mknod, /* 14 = mknod */ > do_chmod, /* 15 = chmod */ > do_chown, /* 16 = chown */ > no_sys, /* 17 = break */ > do_stat, /* 18 = stat */ > do_lseek, /* 19 = lseek */ > no_sys, /* 20 = getpid */ > do_mount, /* 21 = mount */ > do_umount, /* 22 = umount */ > do_set, /* 23 = setuid */ > no_sys, /* 24 = getuid */ > do_stime, /* 25 = stime */ > no_sys, /* 26 = (ptrace)*/ > no_sys, /* 27 = alarm */ > do_fstat, /* 28 = fstat */ > no_sys, /* 29 = pause */ > do_utime, /* 30 = utime */ > no_sys, /* 31 = (stty) */ > no_sys, /* 32 = (gtty) */ > do_access, /* 33 = access */ > no_sys, /* 34 = (nice) */ > no_sys, /* 35 = (ftime) */ > do_sync, /* 36 = sync */ > no_sys, /* 37 = kill */ > no_sys, /* 38 = unused */ > no_sys, /* 39 = unused */ > no_sys, /* 40 = unused */ > do_dup, /* 41 = dup */ > do_pipe, /* 42 = pipe */ > do_tims, /* 43 = times */ > no_sys, /* 44 = (prof) */ > no_sys, /* 45 = unused */ > do_set, /* 46 = setgid */ > no_sys, /* 47 = getgid */ > no_sys, /* 48 = sig */ > no_sys, /* 49 = unused */ > no_sys, /* 50 = unused */ > no_sys, /* 51 = (acct) */ > no_sys, /* 52 = (phys) */ > no_sys, /* 53 = (lock) */ > do_ioctl, /* 54 = ioctl */ > no_sys, /* 55 = unused */ > no_sys, /* 56 = (mpx) */ > no_sys, /* 57 = unused */ > no_sys, /* 58 = unused */ > no_sys, /* 59 = exece */ > do_umask, /* 60 = umask */ > do_chroot, /* 61 = chroot */ > no_sys, /* 62 = unused */ > no_sys, /* 63 = unused */ > > no_sys, /* 64 = KSIG: signals originating in the kernel */ > do_unpause, /* 65 = UNPAUSE */ > no_sys, /* 66 = BRK2 (used to tell MM size of FS,INIT) */ > do_revive, /* 67 = REVIVE */ > no_sys /* 68 = TASK_REPLY */ >}; linux/linux-0.01/include/errno.h: line 17-58 minix/1.1/bar/h/callnr.h: line 1-42 #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 >#define STIME 25 >#define ALARM 27 >#define FSTAT 28 >#define PAUSE 29 >#define UTIME 30 >#define ACCESS 33 >#define SYNC 36 >#define KILL 37 >#define DUP 41 >#define PIPE 42 >#define TIMES 43 >#define SETGID 46 >#define GETGID 47 >#define SIGNAL 48 >#define IOCTL 54 >#define EXEC 59 >#define UMASK 60 linux/linux-0.01/include/linux/hdreg.h: line 44-84 minix/1.1/bar/h/callnr.h: line 1-35 <#define HD_DATA 0x1f0 /* _CTL when writing */ <#define HD_ERROR 0x1f1 /* see err-bits */ <#define HD_NSECTOR 0x1f2 /* nr of sectors to read/write */ <#define HD_SECTOR 0x1f3 /* starting sector */ <#define HD_LCYL 0x1f4 /* starting cylinder */ <#define HD_HCYL 0x1f5 /* high byte of starting cyl */ <#define HD_CURRENT 0x1f6 /* 101dhhhh , d=drive, hhhh=head */ <#define HD_STATUS 0x1f7 /* see status-bits */ <#define HD_PRECOMP HD_ERROR /* same io address, read=error, write=precomp */ <#define HD_COMMAND HD_STATUS /* same io address, read=status, write=cmd */ < <#define HD_CMD 0x3f6 < #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 >#define STIME 25 >#define ALARM 27 >#define FSTAT 28 >#define PAUSE 29 >#define UTIME 30 >#define ACCESS 33 >#define SYNC 36 >#define KILL 37 >#define DUP 41 >#define PIPE 42 linux/linux-0.01/include/termios.h: line 167-206 minix/1.1/bar/h/callnr.h: line 1-33 <#define ECHOE 0000020 <#define ECHOK 0000040 <#define ECHONL 0000100 <#define NOFLSH 0000200 <#define TOSTOP 0000400 <#define ECHOCTL 0001000 <#define ECHOPRT 0002000 <#define ECHOKE 0004000 <#define FLUSHO 0010000 <#define PENDIN 0040000 <#define IEXTEN 0100000 < #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 >#define STIME 25 >#define ALARM 27 >#define FSTAT 28 >#define PAUSE 29 >#define UTIME 30 >#define ACCESS 33 >#define SYNC 36 >#define KILL 37 linux/linux-0.01/include/signal.h: line 10-43 minix/1.1/bar/h/callnr.h: line 1-30 <#define NSIG _NSIG < <#define SIGHUP 1 <#define SIGINT 2 <#define SIGQUIT 3 <#define SIGILL 4 <#define SIGTRAP 5 <#define SIGABRT 6 <#define SIGIOT 6 <#define SIGUNUSED 7 <#define SIGFPE 8 <#define SIGKILL 9 <#define SIGUSR1 10 <#define SIGSEGV 11 <#define SIGUSR2 12 <#define SIGPIPE 13 <#define SIGALRM 14 <#define SIGTERM 15 <#define SIGSTKFLT 16 <#define SIGCHLD 17 <#define SIGCONT 18 <#define SIGSTOP 19 <#define SIGTSTP 20 <#define SIGTTIN 21 <#define SIGTTOU 22 < #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 >#define STIME 25 >#define ALARM 27 >#define FSTAT 28 >#define PAUSE 29 >#define UTIME 30 linux/linux-0.01/include/termios.h: line 2-33 minix/1.1/bar/h/callnr.h: line 1-29 <#define _TERMIOS_H < <#define TTY_BUF_SIZE 1024 < #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 >#define STIME 25 >#define ALARM 27 >#define FSTAT 28 >#define PAUSE 29 linux/linux-0.01/include/linux/sys.h: line 73-80 minix/1.1/bar/fs/table.c: line 65-106 no_sys, /* 29 = pause */ > do_utime, /* 30 = utime */ > no_sys, /* 31 = (stty) */ > no_sys, /* 32 = (gtty) */ > do_access, /* 33 = access */ > no_sys, /* 34 = (nice) */ > no_sys, /* 35 = (ftime) */ > do_sync, /* 36 = sync */ > no_sys, /* 37 = kill */ > no_sys, /* 38 = unused */ > no_sys, /* 39 = unused */ > no_sys, /* 40 = unused */ > do_dup, /* 41 = dup */ > do_pipe, /* 42 = pipe */ > do_tims, /* 43 = times */ > no_sys, /* 44 = (prof) */ > no_sys, /* 45 = unused */ > do_set, /* 46 = setgid */ > no_sys, /* 47 = getgid */ > no_sys, /* 48 = sig */ > no_sys, /* 49 = unused */ > no_sys, /* 50 = unused */ > no_sys, /* 51 = (acct) */ > no_sys, /* 52 = (phys) */ > no_sys, /* 53 = (lock) */ > do_ioctl, /* 54 = ioctl */ > no_sys, /* 55 = unused */ > no_sys, /* 56 = (mpx) */ > no_sys, /* 57 = unused */ > no_sys, /* 58 = unused */ > no_sys, /* 59 = exece */ > do_umask, /* 60 = umask */ > do_chroot, /* 61 = chroot */ > no_sys, /* 62 = unused */ > no_sys, /* 63 = unused */ > > no_sys, /* 64 = KSIG: signals originating in the kernel */ > do_unpause, /* 65 = UNPAUSE */ > no_sys, /* 66 = BRK2 (used to tell MM size of FS,INIT) */ > do_revive, /* 67 = REVIVE */ > no_sys /* 68 = TASK_REPLY */ >}; linux/linux-0.01/include/fcntl.h: line 2-40 minix/1.1/bar/h/callnr.h: line 1-25 <#define _FCNTL_H < <#include < #define NCALLS 69 /* number of system calls allowed */ > >#define EXIT 1 >#define FORK 2 >#define READ 3 >#define WRITE 4 >#define OPEN 5 >#define CLOSE 6 >#define WAIT 7 >#define CREAT 8 >#define LINK 9 >#define UNLINK 10 >#define CHDIR 12 >#define TIME 13 >#define MKNOD 14 >#define CHMOD 15 >#define CHOWN 16 >#define BRK 17 >#define STAT 18 >#define LSEEK 19 >#define GETPID 20 >#define MOUNT 21 >#define UMOUNT 22 >#define SETUID 23 >#define GETUID 24 linux/linux-0.01/include/linux/sys.h: line 69-73 minix/1.1/bar/fs/table.c: line 117-126 struct dmap dmap[] = { >/* Open Read/Write Close Task # Device File > ---- ---------- ----- ------- ------ ---- */ > 0, 0, 0, 0, /* 0 = not used */ > no_call, rw_dev, no_call, MEM, /* 1 = /dev/mem */ > no_call, rw_dev, no_call, FLOPPY, /* 2 = /dev/fd0 */ > no_call, rw_dev, no_call, WINCHESTER, /* 3 = /dev/hd0 */ > no_call, rw_dev, no_call, TTY, /* 4 = /dev/tty0 */ > no_call, rw_dev2, no_call, TTY, /* 5 = /dev/tty */ > no_call, rw_dev, no_call, PRINTER /* 6 = /dev/lp */ linux/linux-0.01/include/ctype.h: line 19-21 minix/1.1/bar/include/ctype.h: line 18-20 <#define isdigit(c) ((_ctype+1)[c]&(_D)) <#define isgraph(c) ((_ctype+1)[c]&(_P|_U|_L|_D)) <#define islower(c) ((_ctype+1)[c]&(_L)) --- >#define isalnum(c) ((_ctype_+1)[c]&(_U|_L|_N)) >#define isprint(c) ((_ctype_+1)[c]&(_P|_U|_L|_N)) >#define iscntrl(c) ((_ctype_+1)[c]&_C) linux/linux-0.01/include/ctype.h: line 16-17 minix/1.1/bar/include/ctype.h: line 18-19 <#define isalnum(c) ((_ctype+1)[c]&(_U|_L|_D)) <#define isalpha(c) ((_ctype+1)[c]&(_U|_L)) --- >#define isalnum(c) ((_ctype_+1)[c]&(_U|_L|_N)) >#define isprint(c) ((_ctype_+1)[c]&(_P|_U|_L|_N)) linux/linux-0.01/fs/buffer.c: line 232-239 minix/1.1/bar/kernel/tty.c: line 1173-1180 < h->b_dev = 0; < h->b_dirt = 0; < h->b_count = 0; < h->b_lock = 0; < h->b_uptodate = 0; < h->b_wait = NULL; < h->b_next = NULL; < h->b_prev = NULL; --- > tp->tty_devstart = console; > tp->tty_erase = ERASE_CHAR; > tp->tty_kill = KILL_CHAR; > tp->tty_intr = INTR_CHAR; > tp->tty_quit = QUIT_CHAR; > tp->tty_xon = XON_CHAR; > tp->tty_xoff = XOFF_CHAR; > tp->tty_eof = EOT_CHAR; linux/linux-0.01/fs/super.c: line 60-66 minix/1.1/bar/kernel/tty.c: line 721-727 < p->s_zmap[0]->b_data[0] |= 1; < p->s_dev = dev; < p->s_isup = NULL; < p->s_imount = NULL; < p->s_time = 0; < p->s_rd_only = 0; < p->s_dirt = 0; --- > tp->tty_intail = tp->tty_inqueue; > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; > tp->tty_outleft = 0; > tp->tty_waiting = NOT_WAITING; /* don't send reply */ > tp->tty_inhibited = RUNNING; linux/linux-0.01/fs/bitmap.c: line 150-155 minix/1.1/bar/kernel/tty.c: line 722-727 < bh->b_dirt = 1; < inode->i_count=1; < inode->i_nlinks=1; < inode->i_dev=dev; < inode->i_dirt=1; < inode->i_num = j + i*8192; --- > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; > tp->tty_outleft = 0; > tp->tty_waiting = NOT_WAITING; /* don't send reply */ > tp->tty_inhibited = RUNNING; linux/linux-0.01/kernel/hd.c: line 384-389 minix/1.1/bar/kernel/tty.c: line 722-727 < req->hd=nr; < req->nsector=2; < req->sector=sec; < req->head=head; < req->cyl=cyl; < req->cmd = ((rw==READ)?WIN_READ:WIN_WRITE); --- > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; > tp->tty_outleft = 0; > tp->tty_waiting = NOT_WAITING; /* don't send reply */ > tp->tty_inhibited = RUNNING; linux/linux-0.01/include/sys/stat.h: line 36-49 minix/1.1/bar/fs/const.h: line 2-15 <#define S_IRWXU 00700 <#define S_IRUSR 00400 <#define S_IWUSR 00200 <#define S_IXUSR 00100 < <#define S_IRWXG 00070 <#define S_IRGRP 00040 <#define S_IWGRP 00020 <#define S_IXGRP 00010 < <#define S_IRWXO 00007 <#define S_IROTH 00004 <#define S_IWOTH 00002 <#define S_IXOTH 00001 --- >#define NR_ZONE_NUMS 9 /* # zone numbers in an inode */ >#define NR_BUFS 20 /* # blocks in the buffer cache */ >#define NR_BUF_HASH 32 /* size of buf hash table; MUST BE POWER OF 2*/ >#define NR_FDS 20 /* max file descriptors per process */ >#define NR_FILPS 64 /* # slots in filp table */ >#define I_MAP_SLOTS 4 /* max # of blocks in the inode bit map */ >#define ZMAP_SLOTS 6 /* max # of blocks in the zone bit map */ >#define NR_INODES 32 /* # slots in "in core" inode table */ >#define NR_SUPERS 5 /* # slots in super block table */ >#define NAME_SIZE 14 /* # bytes in a directory component */ >#define FS_STACK_BYTES 512 /* size of file system stack */ > >/* Miscellaneous constants */ >#define SUPER_MAGIC 0x137F /* magic number contained in super-block */ linux/linux-0.01/fs/open.c: line 159-163 minix/1.1/bar/kernel/tty.c: line 721-725 < f->f_mode = inode->i_mode; < f->f_flags = flag; < f->f_count = 1; < f->f_inode = inode; < f->f_pos = 0; --- > tp->tty_intail = tp->tty_inqueue; > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; > tp->tty_outleft = 0; linux/linux-0.01/kernel/console.c: line 229-234 minix/1.1/bar/kernel/tty.c: line 435-440 < switch (par[i]) { < case 0:attr=0x07;break; < case 1:attr=0x0f;break; < case 4:attr=0x0f;break; < case 7:attr=0x70;break; < case 27:attr=0x07;break; --- > switch(code - 0200) { > case 0: shift1 = make; break; /* shift key on left */ > case 1: shift2 = make; break; /* shift key on right */ > case 2: control = make; break; /* control */ > case 3: alt = make; break; /* alt key */ > case 4: if (make) capslock = 1 - capslock; break; /* caps lock */ linux/linux-0.01/fs/super.c: line 59-60 minix/1.1/bar/fs/super.c: line 59-60 < p->s_imap[0]->b_data[0] |= 1; < p->s_zmap[0]->b_data[0] |= 1; --- > sp->s_imap[0]->b_int[0] |= 3; /* inodes 0, 1 busy */ > sp->s_zmap[0]->b_int[0] |= 1; /* zone 0 busy */ linux/linux-0.01/include/ctype.h: line 21-22 minix/1.1/bar/include/ctype.h: line 18-19 <#define islower(c) ((_ctype+1)[c]&(_L)) <#define isprint(c) ((_ctype+1)[c]&(_P|_U|_L|_D|_SP)) --- >#define isalnum(c) ((_ctype_+1)[c]&(_U|_L|_N)) >#define isprint(c) ((_ctype_+1)[c]&(_P|_U|_L|_N)) linux/linux-0.01/include/linux/fs.h: line 34-46 minix/1.1/bar/fs/const.h: line 2-12 <#define NAME_LEN 14 < <#define I_MAP_SLOTS 8 <#define Z_MAP_SLOTS 8 <#define SUPER_MAGIC 0x137F < <#define NR_OPEN 20 <#define NR_INODE 32 <#define NR_FILE 64 <#define NR_SUPER 8 <#define NR_HASH 307 <#define NR_BUFFERS nr_buffers <#define BLOCK_SIZE 1024 --- >#define NR_ZONE_NUMS 9 /* # zone numbers in an inode */ >#define NR_BUFS 20 /* # blocks in the buffer cache */ >#define NR_BUF_HASH 32 /* size of buf hash table; MUST BE POWER OF 2*/ >#define NR_FDS 20 /* max file descriptors per process */ >#define NR_FILPS 64 /* # slots in filp table */ >#define I_MAP_SLOTS 4 /* max # of blocks in the inode bit map */ >#define ZMAP_SLOTS 6 /* max # of blocks in the zone bit map */ >#define NR_INODES 32 /* # slots in "in core" inode table */ >#define NR_SUPERS 5 /* # slots in super block table */ >#define NAME_SIZE 14 /* # bytes in a directory component */ >#define FS_STACK_BYTES 512 /* size of file system stack */ linux/linux-0.01/kernel/fork.c: line 75-79 minix/1.1/bar/kernel/tty.c: line 622-626 < p->pid = last_pid; < p->father = current->pid; < p->counter = p->priority; < p->signal = 0; < p->alarm = 0; --- > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; > tp->tty_cum = 0; linux/linux-0.01/include/sys/stat.h: line 17-30 minix/1.1/bar/h/stat.h: line 12-25 < time_t st_ctime; <}; < <#define S_IFMT 00170000 <#define S_IFREG 0100000 <#define S_IFBLK 0060000 <#define S_IFDIR 0040000 <#define S_IFCHR 0020000 <#define S_IFIFO 0010000 <#define S_ISUID 0004000 <#define S_ISGID 0002000 <#define S_ISVTX 0001000 < <#define S_ISREG(m) (((m) & S_IFMT) == S_IFREG) --- > long st_ctime; >}; > >/* Some common definitions. */ >#define S_IFMT 0170000 /* type of file */ >#define S_IFDIR 0040000 /* directory */ >#define S_IFCHR 0020000 /* character special */ >#define S_IFBLK 0060000 /* block special */ >#define S_IFREG 0100000 /* regular */ >#define S_ISUID 04000 /* set user id on execution */ >#define S_ISGID 02000 /* set group id on execution */ >#define S_ISVTX 01000 /* save swapped text even after use */ >#define S_IREAD 00400 /* read permission, owner */ >#define S_IWRITE 00200 /* write permission, owner */ linux/linux-0.01/include/const.h: line 2-15 minix/1.1/bar/kernel/const.h: line 25-37 <#define _CONST_H < <#define BUFFER_END 0x200000 < <#define I_TYPE 0170000 <#define I_DIRECTORY 0040000 <#define I_REGULAR 0100000 <#define I_BLOCK_SPECIAL 0060000 <#define I_CHAR_SPECIAL 0020000 <#define I_NAMED_PIPE 0010000 <#define I_SET_UID_BIT 0004000 <#define I_SET_GID_BIT 0002000 < <#endif --- >#define XT_WINI_VECTOR 13 /* xt winchester interrupt vector */ >#define FLOPPY_VECTOR 14 /* floppy disk interrupt vector */ >#define PRINTER_VECTOR 15 /* line printer interrupt vector */ >#define SYS_VECTOR 32 /* system calls are made with int SYSVEC */ >#define AT_WINI_VECTOR 118 /* at winchester interrupt vector */ > >/* The 8259A interrupt controller has to be re-enabled after each interrupt. */ >#define INT_CTL 0x20 /* I/O port for interrupt controller */ >#define INT_CTLMASK 0x21 /* setting bits in this port disables ints */ >#define INT2_CTL 0xA0 /* I/O port for second interrupt controller */ >#define INT2_MASK 0xA1 /* setting bits in this port disables ints */ >#define ENABLE 0x20 /* code used to re-enable after an interrupt */ >#endif linux/linux-0.01/include/unistd.h: line 39-48 minix/1.1/bar/include/ctype.h: line 3-11 <#define _SC_SAVED_IDS 7 <#define _SC_VERSION 8 < #define _U 0001 >#define _L 0002 >#define _N 0004 >#define _S 0010 >#define _P 0020 >#define _C 0040 >#define _X 0100 > >#define isalpha(c) ((_ctype_+1)[c]&(_U|_L)) linux/linux-0.01/include/unistd.h: line 30-39 minix/1.1/bar/include/ctype.h: line 3-11 <#define SEEK_END 2 < #define _U 0001 >#define _L 0002 >#define _N 0004 >#define _S 0010 >#define _P 0020 >#define _C 0040 >#define _X 0100 > >#define isalpha(c) ((_ctype_+1)[c]&(_U|_L)) linux/linux-0.01/fs/super.c: line 79-81 minix/1.1/bar/mm/alloc.c: line 215-217 < file_table[i].f_count=0; < for(p = &super_block[0] ; p < &super_block[NR_SUPER] ; p++) < p->s_dev = 0; --- > register struct hole *hp; > > for (hp = &hole[0]; hp < &hole[NR_HOLES]; hp++) hp->h_next = hp + 1; linux/linux-0.01/fs/namei.c: line 178-180 minix/1.1/bar/fs/inode.c: line 166-168 < dir->i_mtime = CURRENT_TIME; < for (i=0; i < NAME_LEN ; i++) < de->name[i]=(i rip->i_dirt = DIRTY; > for (i = 0; i < NR_ZONE_NUMS; i++) > rip->i_zone[i] = NO_ZONE; linux/linux-0.01/fs/truncate.c: line 54-57 minix/1.1/bar/kernel/system.c: line 136-140 < inode->i_zone[7] = inode->i_zone[8] = 0; < inode->i_size = 0; < inode->i_dirt = 1; < inode->i_mtime = inode->i_ctime = CURRENT_TIME; --- > rpc->p_reg[RET_REG] = 0; /* child sees pid = 0 to know it is child */ > > rpc->user_time = 0; /* set all the accounting times to 0 */ > rpc->sys_time = 0; > rpc->child_utime = 0; linux/linux-0.01/include/ctype.h: line 2-10 minix/1.1/bar/include/ctype.h: line 3-11 <#define _CTYPE_H < <#define _U 0x01 /* upper */ <#define _L 0x02 /* lower */ <#define _D 0x04 /* digit */ <#define _C 0x08 /* cntrl */ <#define _P 0x10 /* punct */ <#define _S 0x20 /* white space (space/lf/tab) */ <#define _X 0x40 /* hex digit */ --- >#define _U 0001 >#define _L 0002 >#define _N 0004 >#define _S 0010 >#define _P 0020 >#define _C 0040 >#define _X 0100 > >#define isalpha(c) ((_ctype_+1)[c]&(_U|_L)) linux/linux-0.01/include/ctype.h: line 25-26 minix/1.1/bar/include/ctype.h: line 18-19 <#define isupper(c) ((_ctype+1)[c]&(_U)) <#define isxdigit(c) ((_ctype+1)[c]&(_D|_X)) --- >#define isalnum(c) ((_ctype_+1)[c]&(_U|_L|_N)) >#define isprint(c) ((_ctype_+1)[c]&(_P|_U|_L|_N)) linux/linux-0.01/fs/buffer.c: line 174-178 minix/1.1/bar/fs/mount.c: line 168-171 < if (tmp->b_dirt) < sync_dev(tmp->b_dev); b_dev=dev; < tmp->b_blocknr=block; --- > put_inode(sp->s_imount); /* release the inode mounted on */ > put_inode(sp->s_isup); /* release the root inode of the mounted fs */ > sp->s_imount = NIL_INODE; > sp->s_dev = NO_DEV; linux/linux-0.01/kernel/traps.c: line 190-192 minix/1.1/bar/kernel/at_wini.c: line 218-220 < set_trap_gate(16,&coprocessor_error); < for (i=17;i<32;i++) < set_trap_gate(i,&reserved); --- > receive(HARDWARE, &w_mess); > for (j=0; j<256; j++) > portw_in(WIN_REG1, &buf[i*512+j*2]); linux/linux-0.01/kernel/vsprintf.c: line 18-29 minix/1.1/bar/h/stat.h: line 12-23 < return i; <} < <#define ZEROPAD 1 /* pad with zero */ <#define SIGN 2 /* unsigned/signed long */ <#define PLUS 4 /* show plus */ <#define SPACE 8 /* space if plus */ <#define LEFT 16 /* left justified */ <#define SPECIAL 32 /* 0x */ <#define SMALL 64 /* use 'abcdef' instead of 'ABCDEF' */ < <#define do_div(n,base) ({ \ --- > long st_ctime; >}; > >/* Some common definitions. */ >#define S_IFMT 0170000 /* type of file */ >#define S_IFDIR 0040000 /* directory */ >#define S_IFCHR 0020000 /* character special */ >#define S_IFBLK 0060000 /* block special */ >#define S_IFREG 0100000 /* regular */ >#define S_ISUID 04000 /* set user id on execution */ >#define S_ISGID 02000 /* set group id on execution */ >#define S_ISVTX 01000 /* save swapped text even after use */ linux/linux-0.01/include/ctype.h: line 22-23 minix/1.1/bar/include/ctype.h: line 18-19 <#define isprint(c) ((_ctype+1)[c]&(_P|_U|_L|_D|_SP)) <#define ispunct(c) ((_ctype+1)[c]&(_P)) --- >#define isalnum(c) ((_ctype_+1)[c]&(_U|_L|_N)) >#define isprint(c) ((_ctype_+1)[c]&(_P|_U|_L|_N))