File linux/linux-0.96c/fs/stat.c: 800 tokens File linux/linux-0.96c/fs/read_write.c: 531 tokens File linux/linux-0.96c/fs/block_dev.c: 461 tokens File linux/linux-0.96c/fs/buffer.c: 1976 tokens File linux/linux-0.96c/fs/inode.c: 1170 tokens File linux/linux-0.96c/fs/file_table.c: 6 tokens File linux/linux-0.96c/fs/open.c: 1880 tokens File linux/linux-0.96c/fs/exec.c: 3279 tokens File linux/linux-0.96c/fs/fcntl.c: 356 tokens File linux/linux-0.96c/fs/super.c: 1385 tokens File linux/linux-0.96c/fs/namei.c: 2271 tokens File linux/linux-0.96c/fs/ioctl.c: 84 tokens File linux/linux-0.96c/fs/pipe.c: 1185 tokens File linux/linux-0.96c/fs/select.c: 1594 tokens File linux/linux-0.96c/fs/fifo.c: 372 tokens File linux/linux-0.96c/fs/ext/bitmap.c: 1361 tokens File linux/linux-0.96c/fs/ext/blkdev.c: 132 tokens File linux/linux-0.96c/fs/ext/chrdev.c: 132 tokens File linux/linux-0.96c/fs/ext/dir.c: 375 tokens File linux/linux-0.96c/fs/ext/file.c: 944 tokens File linux/linux-0.96c/fs/ext/freelists.c: 2102 tokens File linux/linux-0.96c/fs/ext/inode.c: 2376 tokens File linux/linux-0.96c/fs/ext/namei.c: 4619 tokens File linux/linux-0.96c/fs/ext/symlink.c: 404 tokens File linux/linux-0.96c/fs/ext/truncate.c: 670 tokens File linux/linux-0.96c/fs/ext/fifo.c: 38 tokens File linux/linux-0.96c/fs/minix/bitmap.c: 1337 tokens File linux/linux-0.96c/fs/minix/truncate.c: 686 tokens File linux/linux-0.96c/fs/minix/inode.c: 1877 tokens File linux/linux-0.96c/fs/minix/file.c: 942 tokens File linux/linux-0.96c/fs/minix/namei.c: 3957 tokens File linux/linux-0.96c/fs/minix/fifo.c: 38 tokens File linux/linux-0.96c/fs/minix/symlink.c: 404 tokens File linux/linux-0.96c/fs/minix/chrdev.c: 132 tokens File linux/linux-0.96c/fs/minix/dir.c: 378 tokens File linux/linux-0.96c/fs/minix/blkdev.c: 132 tokens File linux/linux-0.96c/init/main.c: 1204 tokens File linux/linux-0.96c/kernel/sched.c: 2495 tokens File linux/linux-0.96c/kernel/exit.c: 2755 tokens File linux/linux-0.96c/kernel/fork.c: 1099 tokens File linux/linux-0.96c/kernel/panic.c: 40 tokens File linux/linux-0.96c/kernel/traps.c: 955 tokens File linux/linux-0.96c/kernel/signal.c: 1094 tokens File linux/linux-0.96c/kernel/printk.c: 388 tokens File linux/linux-0.96c/kernel/sys.c: 2753 tokens File linux/linux-0.96c/kernel/mktime.c: 323 tokens File linux/linux-0.96c/kernel/vsprintf.c: 1150 tokens File linux/linux-0.96c/kernel/chr_drv/keyboard.c: 9182 tokens File linux/linux-0.96c/kernel/chr_drv/console.c: 6463 tokens File linux/linux-0.96c/kernel/chr_drv/tty_ioctl.c: 2253 tokens File linux/linux-0.96c/kernel/chr_drv/tty_io.c: 3929 tokens File linux/linux-0.96c/kernel/chr_drv/serial.c: 2272 tokens File linux/linux-0.96c/kernel/chr_drv/pty.c: 372 tokens File linux/linux-0.96c/kernel/chr_drv/lp.c: 660 tokens File linux/linux-0.96c/kernel/chr_drv/mem.c: 1195 tokens File linux/linux-0.96c/kernel/chr_drv/vt_kern.h: 27 tokens File linux/linux-0.96c/kernel/chr_drv/vt.c: 728 tokens File linux/linux-0.96c/kernel/math/error.c: 23 tokens File linux/linux-0.96c/kernel/math/convert.c: 1892 tokens File linux/linux-0.96c/kernel/math/ea.c: 498 tokens File linux/linux-0.96c/kernel/math/get_put.c: 1341 tokens File linux/linux-0.96c/kernel/math/add.c: 468 tokens File linux/linux-0.96c/kernel/math/mul.c: 298 tokens File linux/linux-0.96c/kernel/math/div.c: 605 tokens File linux/linux-0.96c/kernel/math/compare.c: 246 tokens File linux/linux-0.96c/kernel/math/sqrt.c: 499 tokens File linux/linux-0.96c/kernel/math/emulate.c: 2857 tokens File linux/linux-0.96c/kernel/blk_drv/hd.c: 2965 tokens File linux/linux-0.96c/kernel/blk_drv/ll_rw_blk.c: 1323 tokens File linux/linux-0.96c/kernel/blk_drv/floppy.c: 4205 tokens File linux/linux-0.96c/kernel/blk_drv/blk.h: 821 tokens File linux/linux-0.96c/kernel/blk_drv/ramdisk.c: 498 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.c: 1959 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/hosts.c: 255 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/scsi.c: 3058 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/scsi_ioctl.c: 527 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/sd.c: 1594 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/sd_ioctl.c: 77 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/seagate.c: 1689 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/st.c: 49 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/st_ioctl.c: 74 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/ultrastor.c: 1707 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.h: 505 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/hosts.h: 223 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/scsi.h: 534 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/scsi_ioctl.h: 23 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/sd.h: 159 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/seagate.h: 242 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/st.h: 35 tokens File linux/linux-0.96c/kernel/blk_drv/scsi/ultrastor.h: 294 tokens File linux/linux-0.96c/kernel/ioport.c: 447 tokens File linux/linux-0.96c/kernel/itimer.c: 501 tokens File linux/linux-0.96c/kernel/ptrace.c: 1577 tokens File linux/linux-0.96c/lib/ctype.c: 707 tokens File linux/linux-0.96c/lib/close.c: 15 tokens File linux/linux-0.96c/lib/dup.c: 15 tokens File linux/linux-0.96c/lib/_exit.c: 37 tokens File linux/linux-0.96c/lib/open.c: 91 tokens File linux/linux-0.96c/lib/errno.c: 2 tokens File linux/linux-0.96c/lib/execve.c: 29 tokens File linux/linux-0.96c/lib/setsid.c: 11 tokens File linux/linux-0.96c/lib/string.c: 18 tokens File linux/linux-0.96c/lib/wait.c: 43 tokens File linux/linux-0.96c/lib/write.c: 25 tokens File linux/linux-0.96c/lib/malloc.c: 769 tokens File linux/linux-0.96c/lib/itimer.c: 44 tokens File linux/linux-0.96c/mm/memory.c: 3657 tokens File linux/linux-0.96c/mm/swap.c: 1145 tokens File linux/linux-0.96c/mm/mmap.c: 740 tokens File linux/linux-0.96c/tools/build.c: 961 tokens File linux/linux-0.96c/include/sys/types.h: 202 tokens File linux/linux-0.96c/include/sys/times.h: 28 tokens File linux/linux-0.96c/include/sys/wait.h: 176 tokens File linux/linux-0.96c/include/sys/time.h: 328 tokens File linux/linux-0.96c/include/sys/param.h: 23 tokens File linux/linux-0.96c/include/sys/resource.h: 112 tokens File linux/linux-0.96c/include/sys/ptrace.h: 132 tokens File linux/linux-0.96c/include/sys/dirent.h: 25 tokens File linux/linux-0.96c/include/sys/vfs.h: 42 tokens File linux/linux-0.96c/include/sys/socket.h: 157 tokens File linux/linux-0.96c/include/sys/mman.h: 63 tokens File linux/linux-0.96c/include/sys/kd.h: 443 tokens File linux/linux-0.96c/include/sys/vt.h: 58 tokens File linux/linux-0.96c/include/sys/user.h: 93 tokens File linux/linux-0.96c/include/sys/un.h: 18 tokens File linux/linux-0.96c/include/unistd.h: 867 tokens File linux/linux-0.96c/include/time.h: 219 tokens File linux/linux-0.96c/include/termios.h: 679 tokens File linux/linux-0.96c/include/stddef.h: 61 tokens File linux/linux-0.96c/include/stdarg.h: 164 tokens File linux/linux-0.96c/include/utime.h: 43 tokens File linux/linux-0.96c/include/errno.h: 136 tokens File linux/linux-0.96c/include/signal.h: 358 tokens File linux/linux-0.96c/include/const.h: 34 tokens File linux/linux-0.96c/include/a.out.h: 984 tokens File linux/linux-0.96c/include/linux/hdreg.h: 162 tokens File linux/linux-0.96c/include/linux/kernel.h: 75 tokens File linux/linux-0.96c/include/linux/sched.h: 1627 tokens File linux/linux-0.96c/include/linux/sys.h: 788 tokens File linux/linux-0.96c/include/linux/tty.h: 1300 tokens File linux/linux-0.96c/include/linux/fs.h: 1520 tokens File linux/linux-0.96c/include/linux/mm.h: 341 tokens File linux/linux-0.96c/include/linux/head.h: 54 tokens File linux/linux-0.96c/include/linux/config.h: 185 tokens File linux/linux-0.96c/include/linux/fdreg.h: 166 tokens File linux/linux-0.96c/include/linux/math_emu.h: 1208 tokens File linux/linux-0.96c/include/linux/timer.h: 70 tokens File linux/linux-0.96c/include/linux/config_rel.h: 3 tokens File linux/linux-0.96c/include/linux/minix_fs.h: 578 tokens File linux/linux-0.96c/include/linux/config_ver.h: 3 tokens File linux/linux-0.96c/include/linux/lp.h: 159 tokens File linux/linux-0.96c/include/linux/string.h: 1471 tokens File linux/linux-0.96c/include/linux/ctype.h: 403 tokens File linux/linux-0.96c/include/linux/unistd.h: 1296 tokens File linux/linux-0.96c/include/linux/config.dist.h: 46 tokens File linux/linux-0.96c/include/linux/config.site.h: 7 tokens File linux/linux-0.96c/include/linux/fd.h: 90 tokens File linux/linux-0.96c/include/linux/utsname.h: 75 tokens File linux/linux-0.96c/include/linux/stat.h: 310 tokens File linux/linux-0.96c/include/linux/fcntl.h: 90 tokens File linux/linux-0.96c/include/linux/ext_fs.h: 626 tokens File linux/linux-0.96c/include/asm/io.h: 179 tokens File linux/linux-0.96c/include/asm/memory.h: 70 tokens File linux/linux-0.96c/include/asm/system.h: 516 tokens File linux/linux-0.96c/include/asm/segment.h: 416 tokens File linux/linux-0.96c/include/limits.h: 156 tokens File linux/linux-0.96c/net/kern_sock.h: 321 tokens File linux/linux-0.96c/net/socket.c: 3361 tokens File linux/linux-0.96c/net/socketcall.h: 33 tokens File linux/linux-0.96c/net/unix.c: 2742 tokens File /: separator File minix/1.2/bar/fs/buf.h: 160 tokens File minix/1.2/bar/fs/cache.c: 994 tokens File minix/1.2/bar/fs/const.h: 194 tokens File minix/1.2/bar/fs/dev.h: 31 tokens File minix/1.2/bar/fs/device.c: 563 tokens File minix/1.2/bar/fs/file.h: 27 tokens File minix/1.2/bar/fs/filedes.c: 260 tokens File minix/1.2/bar/fs/fproc.h: 61 tokens File minix/1.2/bar/fs/glo.h: 52 tokens File minix/1.2/bar/fs/inode.c: 766 tokens File minix/1.2/bar/fs/inode.h: 67 tokens File minix/1.2/bar/fs/link.c: 734 tokens File minix/1.2/bar/fs/main.c: 1307 tokens File minix/1.2/bar/fs/misc.c: 799 tokens File minix/1.2/bar/fs/mount.c: 859 tokens File minix/1.2/bar/fs/open.c: 1158 tokens File minix/1.2/bar/fs/param.h: 235 tokens File minix/1.2/bar/fs/path.c: 1162 tokens File minix/1.2/bar/fs/pipe.c: 979 tokens File minix/1.2/bar/fs/protect.c: 595 tokens File minix/1.2/bar/fs/putc.c: 117 tokens File minix/1.2/bar/fs/read.c: 1583 tokens File minix/1.2/bar/fs/stadir.c: 602 tokens File minix/1.2/bar/fs/super.c: 1024 tokens File minix/1.2/bar/fs/super.h: 64 tokens File minix/1.2/bar/fs/table.c: 388 tokens File minix/1.2/bar/fs/time.c: 236 tokens File minix/1.2/bar/fs/type.h: 34 tokens File minix/1.2/bar/fs/utility.c: 478 tokens File minix/1.2/bar/fs/write.c: 918 tokens File minix/1.2/bar/h/callnr.h: 141 tokens File minix/1.2/bar/h/com.h: 244 tokens File minix/1.2/bar/h/const.h: 165 tokens File minix/1.2/bar/h/error.h: 206 tokens File minix/1.2/bar/h/sgtty.h: 96 tokens File minix/1.2/bar/h/signal.h: 85 tokens File minix/1.2/bar/h/stat.h: 66 tokens File minix/1.2/bar/h/type.h: 548 tokens File minix/1.2/bar/include/blocksize.h: 3 tokens File minix/1.2/bar/include/callnr.h: 141 tokens File minix/1.2/bar/include/com.h: 244 tokens File minix/1.2/bar/include/const.h: 165 tokens File minix/1.2/bar/include/ctype.h: 297 tokens File minix/1.2/bar/include/errno.h: 117 tokens File minix/1.2/bar/include/error.h: 206 tokens File minix/1.2/bar/include/grp.h: 12 tokens File minix/1.2/bar/include/lib.h: 34 tokens File minix/1.2/bar/include/pwd.h: 23 tokens File minix/1.2/bar/include/regexp.h: 62 tokens File minix/1.2/bar/include/setjmp.h: 11 tokens File minix/1.2/bar/include/sgtty.h: 96 tokens File minix/1.2/bar/include/signal.h: 85 tokens File minix/1.2/bar/include/stat.h: 66 tokens File minix/1.2/bar/include/stdio.h: 275 tokens File minix/1.2/bar/include/type.h: 548 tokens File minix/1.2/bar/kernel/clock.c: 644 tokens File minix/1.2/bar/kernel/const.h: 101 tokens File minix/1.2/bar/kernel/dmp.c: 805 tokens File minix/1.2/bar/kernel/floppy.c: 2416 tokens File minix/1.2/bar/kernel/glo.h: 51 tokens File minix/1.2/bar/kernel/main.c: 1193 tokens File minix/1.2/bar/kernel/memory.c: 475 tokens File minix/1.2/bar/kernel/printer.c: 828 tokens File minix/1.2/bar/kernel/proc.c: 1314 tokens File minix/1.2/bar/kernel/proc.h: 134 tokens File minix/1.2/bar/kernel/system.c: 1913 tokens File minix/1.2/bar/kernel/table.c: 71 tokens File minix/1.2/bar/kernel/tty.c: 5508 tokens File minix/1.2/bar/kernel/type.h: 27 tokens File minix/1.2/bar/kernel/wini.c: 2680 tokens File minix/1.2/bar/mm/alloc.c: 590 tokens File minix/1.2/bar/mm/break.c: 654 tokens File minix/1.2/bar/mm/const.h: 44 tokens File minix/1.2/bar/mm/exec.c: 1587 tokens File minix/1.2/bar/mm/forkexit.c: 1006 tokens File minix/1.2/bar/mm/getset.c: 184 tokens File minix/1.2/bar/mm/glo.h: 39 tokens File minix/1.2/bar/mm/main.c: 713 tokens File minix/1.2/bar/mm/mproc.h: 64 tokens File minix/1.2/bar/mm/param.h: 91 tokens File minix/1.2/bar/mm/putc.c: 104 tokens File minix/1.2/bar/mm/signal.c: 1502 tokens File minix/1.2/bar/mm/table.c: 236 tokens File minix/1.2/bar/mm/type.h: 0 tokens File minix/1.2/bar/mm/utility.c: 384 tokens Total: 195733 tokens linux/linux-0.96c/kernel/blk_drv/scsi/scsi.h: line 61-168 minix/1.2/bar/kernel/floppy.c: line 32-91 <#define COMMAND_COMPLETE 0x00 <#define EXTENDED_MESSAGE 0x01 <#define SAVE_POINTERS 0x02 <#define RESTORE_POINTERS 0x03 <#define DISCONNECT 0x04 <#define INITIATOR_ERROR 0x05 <#define ABORT 0x06 <#define MESSAGE_REJECT 0x07 <#define NOP 0x08 <#define MSG_PARITY_ERROR 0x09 <#define LINKED_CMD_COMPLETE 0x0a <#define LINKED_FLG_CMD_COMPLETE 0x0b <#define BUS_DEVICE_RESET 0x0c <#define IDENTIFY 0x80 . <*/ < #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.96c/include/termios.h: line 69-121 minix/1.2/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.96c/include/termios.h: line 121-173 minix/1.2/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.96c/include/sys/kd.h: line 2-56 minix/1.2/bar/kernel/floppy.c: line 32-91 <#define _KD_H < #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.96c/kernel/chr_drv/keyboard.c: line 1088-1105 minix/1.2/bar/fs/table.c: line 36-104 < do_self,do_self,do_self,do_self, /* 18-1B o p } ^ */ < enter,ctrl,do_self,do_self, /* 1C-1F enter ctrl a s */ < do_self,do_self,do_self,do_self, /* 20-23 d f g h */ < do_self,do_self,do_self,do_self, /* 24-27 j k l | */ < do_self,do_self,lshift,do_self, /* 28-2B { para lshift , */ < do_self,do_self,do_self,do_self, /* 2C-2F z x c v */ < do_self,do_self,do_self,do_self, /* 30-33 b n m , */ < do_self,slash,rshift,star, /* 34-37 . - rshift * */ < alt,do_self,caps,func, /* 38-3B alt sp caps f1 */ < func,func,func,func, /* 3C-3F f2 f3 f4 f5 */ < func,func,func,func, /* 40-43 f6 f7 f8 f9 */ < func,num,scroll,cursor, /* 44-47 f10 num scr home */ < cursor,cursor,minus,cursor, /* 48-4B up pgup - left */ < cursor,cursor,plus,cursor, /* 4C-4F n5 right + end */ < cursor,cursor,cursor,cursor, /* 50-53 dn pgdn ins del */ < none,none,do_self,func, /* 54-57 sysreq ? < f11 */ < func,none,none,none, /* 58-5B f12 ? ? ? */ < none,none,none,none, /* 5C-5F ? ? ? ? */ --- > 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.96c/kernel/chr_drv/keyboard.c: line 1105-1122 minix/1.2/bar/fs/table.c: line 36-104 < none,none,none,none, /* 5C-5F ? ? ? ? */ < none,none,none,none, /* 60-63 ? ? ? ? */ < none,none,none,none, /* 64-67 ? ? ? ? */ < none,none,none,none, /* 68-6B ? ? ? ? */ < none,none,none,none, /* 6C-6F ? ? ? ? */ < none,none,none,none, /* 70-73 ? ? ? ? */ < none,none,none,none, /* 74-77 ? ? ? ? */ < none,none,none,none, /* 78-7B ? ? ? ? */ < none,none,none,none, /* 7C-7F ? ? ? ? */ < none,none,none,none, /* 80-83 ? br br br */ < none,none,none,none, /* 84-87 br br br br */ < none,none,none,none, /* 88-8B br br br br */ < none,none,none,none, /* 8C-8F br br br br */ < none,none,none,none, /* 90-93 br br br br */ < none,none,none,none, /* 94-97 br br br br */ < none,none,none,none, /* 98-9B br br br br */ < none,unctrl,none,none, /* 9C-9F br unctrl br br */ < none,none,none,none, /* A0-A3 br br br br */ --- > 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.96c/kernel/chr_drv/keyboard.c: line 1122-1139 minix/1.2/bar/fs/table.c: line 36-104 < none,none,none,none, /* A0-A3 br br br br */ < none,none,none,none, /* A4-A7 br br br br */ < none,none,unlshift,none, /* A8-AB br br unlshift br */ < none,none,none,none, /* AC-AF br br br br */ < none,none,none,none, /* B0-B3 br br br br */ < none,none,unrshift,none, /* B4-B7 br br unrshift br */ < unalt,none,uncaps,none, /* B8-BB unalt br uncaps br */ < none,none,none,none, /* BC-BF br br br br */ < none,none,none,none, /* C0-C3 br br br br */ < none,none,none,none, /* C4-C7 br br br br */ < none,none,none,none, /* C8-CB br br br br */ < none,none,none,none, /* CC-CF br br br br */ < none,none,none,none, /* D0-D3 br br br br */ < none,none,none,none, /* D4-D7 br br br br */ < none,none,none,none, /* D8-DB br ? ? ? */ < none,none,none,none, /* DC-DF ? ? ? ? */ < none,none,none,none, /* E0-E3 e0 e1 ? ? */ < none,none,none,none, /* E4-E7 ? ? ? ? */ --- > 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.96c/lib/ctype.c: line 26-31 minix/1.2/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.96c/include/linux/sys.h: line 120-133 minix/1.2/bar/fs/table.c: line 36-104 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.96c/include/errno.h: line 17-62 minix/1.2/bar/h/callnr.h: line 1-46 #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 >#define CHROOT 61 > >/* The following are not system calls, but are processed like them. */ >#define KSIG 64 /* kernel detected a signal */ linux/linux-0.96c/lib/ctype.c: line 31-34 minix/1.2/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.96c/include/linux/fdreg.h: line 16-70 minix/1.2/bar/h/callnr.h: line 1-42 <#define FD_STATUS 0x3f4 <#define FD_DATA 0x3f5 <#define FD_DOR 0x3f2 /* Digital Output Register */ <#define FD_DIR 0x3f7 /* Digital Input Register (read) */ <#define FD_DCR 0x3f7 /* Diskette Control Register (write)*/ < fdc */ <#define STATUS_READY 0x80 /* Data reg ready */ < #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.96c/kernel/chr_drv/keyboard.c: line 675-682 minix/1.2/bar/fs/table.c: line 36-93 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '\\', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 722-729 minix/1.2/bar/fs/table.c: line 36-93 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '\\', 0, --- > 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 */ linux/linux-0.96c/include/linux/hdreg.h: line 7-52 minix/1.2/bar/h/callnr.h: line 1-37 <#define _HDREG_H < #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 linux/linux-0.96c/include/signal.h: line 10-67 minix/1.2/bar/h/callnr.h: line 1-36 <#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 >#define ACCESS 33 >#define SYNC 36 >#define KILL 37 >#define DUP 41 >#define PIPE 42 >#define TIMES 43 linux/linux-0.96c/include/termios.h: line 173-214 minix/1.2/bar/h/callnr.h: line 1-35 <#define XCASE 0000004 <#define ECHO 0000010 <#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 >#define DUP 41 >#define PIPE 42 linux/linux-0.96c/include/termios.h: line 2-39 minix/1.2/bar/h/callnr.h: line 1-34 <#define _TERMIOS_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 >#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 linux/linux-0.96c/kernel/blk_drv/scsi/scsi.h: line 10-55 minix/1.2/bar/h/callnr.h: line 1-33 < #define _SCSI_H 0x20 ? 10 : 6) : 0) --- >#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.96c/kernel/chr_drv/keyboard.c: line 630-635 minix/1.2/bar/fs/table.c: line 36-80 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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) */ linux/linux-0.96c/include/sys/ptrace.h: line 5-41 minix/1.2/bar/h/callnr.h: line 1-31 <#define _SYS_PTRACE_H #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 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 302-306 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 349-353 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 396-400 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 443-447 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 490-494 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 537-541 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 181, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 584-588 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 772-776 minix/1.2/bar/fs/table.c: line 36-69 < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, '|', 0, --- > 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 */ linux/linux-0.96c/include/linux/fcntl.h: line 2-40 minix/1.2/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.96c/kernel/chr_drv/keyboard.c: line 598-602 minix/1.2/bar/kernel/tty.c: line 162-164 < 'o', 'p', '^', '$', 13, 0, 'q', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', < 249, 178, 0, 42, 'w', 'x', 'c', 'v', < 'b', 'n', ',', ';', ':', '!', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 1081-1088 minix/1.2/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.96c/include/linux/sys.h: line 116-120 minix/1.2/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.96c/kernel/blk_drv/floppy.c: line 148-155 minix/1.2/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.96c/include/sys/kd.h: line 99-122 minix/1.2/bar/h/callnr.h: line 1-21 <#define KDDISPTYPE 0x4B2E /* gets display info */ <#define KD_MONO 0x01 <#define KD_HERCULES 0x02 <#define KD_CGA 0x03 <#define KD_EGA 0x04 < <#define KIOCSOUND 0x4B2F /* start sound generation (0 for off) */ <#define KDMKTONE 0x4B30 /* generate tone */ < <#define KDGETLED 0x4B31 /* return current led flags */ <#define KDSETLED 0x4B32 /* set current led flags */ <#define LED_SCR 0x01 /* scroll lock */ <#define LED_CAP 0x04 /* caps lock */ <#define LED_NUM 0x02 /* num lock */ < <#define KDGKBTYPE 0x4B33 /* get keyboard type */ <#define KB_84 0x01 <#define KB_101 0x02 <#define KB_OTHER 0x03 < <#define KDADDIO 0x4B34 /* add i/o port as valid */ <#define KDDELIO 0x4B35 /* del i/o port as valid */ <#define KDENABIO 0x4B36 /* enable i/o to video board */ <#define KDDISABIO 0x4B37 /* disable i/o to video board */ --- >#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 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 611-614 minix/1.2/bar/kernel/tty.c: line 162-164 < '7', '8', '9', '0', 176, '+', 127, 9, < 'A', 'Z', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', 168, 163, 13, 0, 'Q', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 626-630 minix/1.2/bar/kernel/tty.c: line 164-166 < '`', '\\', '^', '@', ']', '}', 0, 0, < '@', 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 164, 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 378-381 minix/1.2/bar/kernel/tty.c: line 161-162 < 'O', 'P', '{', '}', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':', < '"', '~', '0', '|', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', '<', '>', '?', 0, '*', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 425-428 minix/1.2/bar/kernel/tty.c: line 161-162 < 'O', 'P', '{', '}', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', ':', < '@', '~', '0', '~', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', '<', '>', '?', 0, '*', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 299-302 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 346-349 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 393-396 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 440-443 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 487-490 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 534-537 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 181, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 581-584 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 643-646 minix/1.2/bar/kernel/tty.c: line 162-164 < '7', '8', '9', '0', '+', '\'', 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', 229, 0, 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 230, --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 769-772 minix/1.2/bar/kernel/tty.c: line 164-166 < 0, 0, 0, '~', 13, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 1139-1146 minix/1.2/bar/fs/table.c: line 80-106 < none,none,none,none, /* E4-E7 ? ? ? ? */ < none,none,none,none, /* E8-EB ? ? ? ? */ < none,none,none,none, /* EC-EF ? ? ? ? */ < none,none,none,none, /* F0-F3 ? ? ? ? */ < none,none,none,none, /* F4-F7 ? ? ? ? */ < none,none,none,none, /* F8-FB ? ? ? ? */ < none,none,none,none /* FC-FF ? ? ? ? */ <}; --- > 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.96c/kernel/blk_drv/scsi/seagate.h: line 43-82 minix/1.2/bar/h/callnr.h: line 1-19 <#undef ARBITRATE < < #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 linux/linux-0.96c/include/linux/ctype.h: line 19-21 minix/1.2/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.96c/include/linux/ctype.h: line 16-17 minix/1.2/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.96c/fs/buffer.c: line 419-426 minix/1.2/bar/kernel/tty.c: line 1208-1215 < 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.96c/kernel/chr_drv/keyboard.c: line 331-334 minix/1.2/bar/kernel/tty.c: line 162-164 < 'O', 'P', 197, '^', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 214, < 196, 189, 0, '*', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 504-507 minix/1.2/bar/kernel/tty.c: line 162-164 < 'o', 'p', 252, '+', 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 246, < 228, 94, 0, '#', 'y', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 519-522 minix/1.2/bar/kernel/tty.c: line 162-164 < 'O', 'P', 220, '*', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 214, < 196, 176, 0, '\'', 'Y', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 660-663 minix/1.2/bar/kernel/tty.c: line 162-164 < 'O', 'P', 197, '^', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 198, < 165, 0, 0, '*', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 707-710 minix/1.2/bar/kernel/tty.c: line 162-164 < 'O', 'P', 197, '^', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 198, < 165, 167, 0, '*', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/blk_drv/scsi/scsi.h: line 168-190 minix/1.2/bar/h/callnr.h: line 1-17 <#define NOT_READY 0x02 <#define MEDIUM_ERROR 0x03 <#define HARDWARE_ERROR 0x04 <#define ILLEGAL_REQUEST 0x05 <#define UNIT_ATTENTION 0x06 <#define DATA_PROTECT 0x07 <#define BLANK_CHECK 0x08 <#define COPY_ABORTED 0x0a <#define ABORTED_COMMAND 0x0b <#define VOLUME_OVERFLOW 0x0d <#define MISCOMPARE 0x0e < < #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 linux/linux-0.96c/include/linux/fd.h: line 2-20 minix/1.2/bar/h/callnr.h: line 1-17 <#define _FD_H < <#define FDCLRPRM 0 /* clear user-defined parameters */ <#define FDSETPRM 1 /* set user-defined parameters for current media */ <#define FDDEFPRM 2 /* set user-defined parameters until explicitly cleared */ <#define FDGETPRM 3 /* get disk parameters */ <#define FDMSGON 4 /* issue kernel messages on media type change */ <#define FDMSGOFF 5 /* don't issue kernel messages on media type change */ <#define FDFMTBEG 6 /* begin formatting a disk */ <#define FDFMTTRK 7 /* format the specified track */ <#define FDFMTEND 8 /* end formatting a disk */ < <#define FD_FILL_BYTE 0xF6 /* format fill byte */ < <#define FORMAT_NONE 0 /* no format request */ <#define FORMAT_WAIT 1 /* format request is waiting */ <#define FORMAT_BUSY 2 /* formatting in progress */ <#define FORMAT_OKAY 3 /* successful completion */ <#define FORMAT_ERROR 4 /* formatting error */ --- >#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 linux/linux-0.96c/kernel/itimer.c: line 33-45 minix/1.2/bar/mm/getset.c: line 26-40 < register unsigned long val, interval; < < switch (which) { < case ITIMER_REAL: < val = current->it_real_value; < interval = current->it_real_incr; < break; < case ITIMER_VIRTUAL: < val = current->it_virt_value; < interval = current->it_virt_incr; < break; < case ITIMER_PROF: < val = current->it_prof_value; --- > register int r; > > switch(mm_call) { > case GETUID: > r = rmp->mp_realuid; > result2 = rmp->mp_effuid; > break; > > case GETGID: > r = rmp->mp_realgid; > result2 = rmp->mp_effgid; > break; > > case GETPID: > r = mproc[who].mp_pid; linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 272-275 minix/1.2/bar/kernel/tty.c: line 164-165 < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 319-322 minix/1.2/bar/kernel/tty.c: line 164-165 < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 334-337 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 507-510 minix/1.2/bar/kernel/tty.c: line 164-165 < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 522-525 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 648-651 minix/1.2/bar/kernel/tty.c: line 164-165 < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 663-666 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 695-698 minix/1.2/bar/kernel/tty.c: line 164-165 < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 710-713 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/net/socket.c: line 614-620 minix/1.2/bar/kernel/tty.c: line 731-737 < sock->iconn = clientsock->next; < clientsock->next = NULL; < newsock->conn = clientsock; < clientsock->conn = newsock; < clientsock->state = SS_CONNECTED; < newsock->state = SS_CONNECTED; < newsock->ops->accept(sock, newsock); --- > 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.96c/kernel/chr_drv/keyboard.c: line 616-619 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', '?', '.', '/', 167, 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 287-290 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 381-384 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', '<', '>', '?', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 428-431 minix/1.2/bar/kernel/tty.c: line 164-165 < 'B', 'N', 'M', '<', '>', '?', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/blk_drv/scsi/ultrastor.h: line 66-88 minix/1.2/bar/kernel/const.h: line 22-37 <#define US14F_PRODUCT_ID_0 0x56 <#define US14F_PRODUCT_ID_1 0x40 /* NOTE: Only upper nibble is used */ < #define DIVIDE_VECTOR 0 /* divide interrupt vector */ >#define CLOCK_VECTOR 8 /* clock interrupt vector */ >#define KEYBOARD_VECTOR 9 /* keyboard interrupt vector */ >#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.96c/include/linux/lp.h: line 64-97 minix/1.2/bar/h/callnr.h: line 1-15 <#define LP_NO 3 < #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 linux/linux-0.96c/include/linux/sys.h: line 133-139 minix/1.2/bar/fs/table.c: line 123-129 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 */ >}; > >int max_major = sizeof(dmap)/sizeof(struct dmap); linux/linux-0.96c/fs/super.c: line 253-256 minix/1.2/bar/fs/main.c: line 175-178 < for(p = &super_block[0] ; p < &super_block[NR_SUPER] ; p++) { < p->s_dev = 0; < p->s_lock = 0; < p->s_wait = NULL; --- > for (bp = &buf[0]; bp < &buf[NR_BUFS]; bp++) { > bp->b_blocknr = NO_BLOCK; > bp->b_dev = NO_DEV; > bp->b_next = bp + 1; linux/linux-0.96c/include/linux/timer.h: line 2-42 minix/1.2/bar/h/callnr.h: line 1-15 <#define _TIMER_H < #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 linux/linux-0.96c/include/linux/stat.h: line 61-76 minix/1.2/bar/kernel/const.h: line 23-37 <#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 < <#endif --- >#define CLOCK_VECTOR 8 /* clock interrupt vector */ >#define KEYBOARD_VECTOR 9 /* keyboard interrupt vector */ >#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.96c/fs/minix/inode.c: line 61-65 minix/1.2/bar/kernel/tty.c: line 631-635 < ms = (struct minix_super_block *) bh->b_data; < s->s_ninodes = ms->s_ninodes; < s->s_nzones = ms->s_nzones; < s->s_imap_blocks = ms->s_imap_blocks; < s->s_zmap_blocks = ms->s_zmap_blocks; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/fs/minix/inode.c: line 65-69 minix/1.2/bar/kernel/tty.c: line 631-635 < s->s_zmap_blocks = ms->s_zmap_blocks; < s->s_firstdatazone = ms->s_firstdatazone; < s->s_log_zone_size = ms->s_log_zone_size; < s->s_max_size = ms->s_max_size; < s->s_magic = ms->s_magic; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 367-369 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 414-416 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 461-463 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 476-478 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 555-557 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 570-572 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 602-604 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 743-745 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 758-760 minix/1.2/bar/kernel/tty.c: line 165-166 < 0, 32, 0, 0, 0, 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, '-', 0, 0, 0, '+', 0, --- > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 >,0261,0262,0263,'0',0177 linux/linux-0.96c/kernel/blk_drv/ll_rw_blk.c: line 221-227 minix/1.2/bar/kernel/tty.c: line 731-737 < req->sector = page<<3; < req->nr_sectors = 8; < req->buffer = buffer; < req->waiting = current; < req->bh = NULL; < req->next = NULL; < current->state = TASK_UNINTERRUPTIBLE; --- > 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.96c/kernel/blk_drv/ll_rw_blk.c: line 291-297 minix/1.2/bar/kernel/tty.c: line 731-737 < req->sector = b[i] << 1; < req->nr_sectors = 2; < req->buffer = buf; < req->waiting = current; < req->bh = NULL; < req->next = NULL; < current->state = TASK_UNINTERRUPTIBLE; --- > 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.96c/include/sys/kd.h: line 56-69 minix/1.2/bar/fs/const.h: line 2-16 <#define M_ENH_B80x25 21 /* ega enh 80x25 mono */ <#define M_ENH_C80x25 22 /* ega enh 80x25 color */ <#define M_ENH_B80x43 0x70 /* ega enh 80x43 mono */ <#define M_ENH_C80x43 0x71 /* ega enh 80x43 color */ <#define M_MCA_MODE 0xff /* monochrome adapter mode */ <#define MCA_GET 0x4B1C /* get mca display mode */ <#define CGA_GET 0x4B1D /* get cga display mode */ <#define EGA_GET 0x4B1E /* get ega display mode */ < <#define MAPCONS 0x4B1F /* map current video mem into address space */ <#define MAPMONO 0x4B20 /* map mca video mem into address space */ <#define MAPCGA 0x4B21 /* map cga video mem into address space */ <#define MAPEGA 0x4B22 /* map ega video mem into address space */ <#define MAPVGA 0x4B23 /* map vga video mem into address space */ --- >#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 */ >#define SU_UID (uid) 0 /* super_user's uid */ linux/linux-0.96c/fs/open.c: line 302-307 minix/1.2/bar/kernel/tty.c: line 732-737 < f->f_flags = flag; < f->f_count = 1; < f->f_inode = inode; < f->f_pos = 0; < f->f_reada = 0; < f->f_op = NULL; --- > 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.96c/fs/ext/bitmap.c: line 56-56 minix/1.2/bar/fs/table.c: line 117-123 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 */ linux/linux-0.96c/fs/ext/inode.c: line 89-92 minix/1.2/bar/kernel/system.c: line 310-313 < s->s_firstdatazone = es->s_firstdatazone; < s->s_log_zone_size = es->s_log_zone_size; < s->s_max_size = es->s_max_size; < s->s_magic = es->s_magic; --- > m_ptr->USER_TIME = rp->user_time; > m_ptr->SYSTEM_TIME = rp->sys_time; > m_ptr->CHILD_UTIME = rp->child_utime; > m_ptr->CHILD_STIME = rp->child_stime; linux/linux-0.96c/fs/minix/bitmap.c: line 47-47 minix/1.2/bar/fs/table.c: line 117-123 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 */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 673-675 minix/1.2/bar/kernel/tty.c: line 174-175 < '{', '[', ']', '}', 0, '|', 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, > 0226,0227,0230,0231,0232,0204,0213,'7', '8','9',0211,'4','5','6',0214,'1', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 720-722 minix/1.2/bar/kernel/tty.c: line 174-175 < '{', '[', ']', '}', 0, '|', 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, > 0226,0227,0230,0231,0232,0204,0213,'7', '8','9',0211,'4','5','6',0214,'1', linux/linux-0.96c/kernel/chr_drv/serial.c: line 304-307 minix/1.2/bar/fs/table.c: line 117-123 < static unsigned short quotient[] = { < 0, 2304, 1536, 1047, 857, < 768, 576, 384, 192, 96, < 64, 48, 24, 12, 6, 3 --- >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 */ linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.h: line 31-47 minix/1.2/bar/fs/const.h: line 2-16 <#define INTRFLAGS STATUS+2 <#define ANYINTR 0x80 /* Any Interrupt */ <#define SCRD 0x08 /* SCSI Reset Detected */ <#define HACC 0x04 /* HA Command Complete */ <#define MBOA 0x02 /* MBO Empty */ <#define MBIF 0x01 /* MBI Full */ <#define INTRMASK 0x8f < #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 */ >#define SU_UID (uid) 0 /* super_user's uid */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 17-30 minix/1.2/bar/fs/const.h: line 2-15 <#define LSHIFT 0x01 <#define RSHIFT 0x02 <#define LCTRL 0x04 <#define RCTRL 0x08 <#define ALT 0x10 <#define ALTGR 0x20 <#define CAPS 0x40 <#define CAPSDOWN 0x80 < <#define SCRLED 0x01 <#define NUMLED 0x02 <#define CAPSLED 0x04 < <#define NO_META_BIT 0x80 --- >#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.96c/kernel/chr_drv/keyboard.c: line 265-267 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 280-282 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 327-329 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 359-361 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 406-408 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 468-470 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 502-504 minix/1.2/bar/kernel/tty.c: line 163-164 < '7', '8', '9', '0', 223, 180, 127, 9, < 'q', 'w', 'e', 'r', 't', 'z', 'u', 'i', < 'o', 'p', 252, '+', 13, 0, 'a', 's', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 547-549 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 641-643 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 656-658 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 703-705 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 735-737 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/console.c: line 259-260 minix/1.2/bar/kernel/floppy.c: line 139-139 PRIVATE char interleave[] = {1,2,3,4,5,6,7,8,9,10,11,12,13,14,15}; linux/linux-0.96c/fs/ext/inode.c: line 312-316 minix/1.2/bar/kernel/tty.c: line 631-635 < (inode->i_ino-1)%EXT_INODES_PER_BLOCK; < inode->i_mode = raw_inode->i_mode; < inode->i_uid = raw_inode->i_uid; < inode->i_gid = raw_inode->i_gid; < inode->i_nlink = raw_inode->i_nlinks; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/fs/ext/inode.c: line 360-364 minix/1.2/bar/kernel/tty.c: line 631-635 < (inode->i_ino-1)%EXT_INODES_PER_BLOCK; < raw_inode->i_mode = inode->i_mode; < raw_inode->i_uid = inode->i_uid; < raw_inode->i_gid = inode->i_gid; < raw_inode->i_nlinks = inode->i_nlink; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/fs/minix/inode.c: line 224-228 minix/1.2/bar/kernel/tty.c: line 631-635 < (inode->i_ino-1)%MINIX_INODES_PER_BLOCK; < inode->i_mode = raw_inode->i_mode; < inode->i_uid = raw_inode->i_uid; < inode->i_gid = raw_inode->i_gid; < inode->i_nlink = raw_inode->i_nlinks; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/fs/minix/inode.c: line 267-271 minix/1.2/bar/kernel/tty.c: line 631-635 < (inode->i_ino-1)%MINIX_INODES_PER_BLOCK; < raw_inode->i_mode = inode->i_mode; < raw_inode->i_uid = inode->i_uid; < raw_inode->i_gid = inode->i_gid; < raw_inode->i_nlinks = inode->i_nlink; --- > tp->tty_otcaller = m_ptr->m_source; > tp->tty_outproc = m_ptr->PROC_NR; > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; linux/linux-0.96c/kernel/blk_drv/ll_rw_blk.c: line 186-191 minix/1.2/bar/kernel/tty.c: line 730-735 < req->nr_sectors = 2; < req->buffer = bh->b_data; < req->waiting = NULL; < req->bh = bh; < req->bhtail = bh; < req->next = NULL; --- > tp->tty_inhead = tp->tty_inqueue; /* discard all input */ > 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.96c/include/sys/time.h: line 12-25 minix/1.2/bar/h/stat.h: line 12-26 < int tz_dsttime; /* type of dst correction */ <}; < <#define DST_NONE 0 /* not on dst */ <#define DST_USA 1 /* USA style dst */ <#define DST_AUST 2 /* Australian style dst */ <#define DST_WET 3 /* Western European dst */ <#define DST_MET 4 /* Middle European dst */ <#define DST_EET 5 /* Eastern European dst */ <#define DST_CAN 6 /* Canada */ <#define DST_GB 7 /* Great Britain and Eire */ <#define DST_RUM 8 /* Rumania */ <#define DST_TUR 9 /* Turkey */ <#define DST_AUSTALT 10 /* Australian style with shift in 1986 */ --- > 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 */ >#define S_IEXEC 00100 /* execute/search permission, owner */ linux/linux-0.96c/include/linux/stat.h: line 38-51 minix/1.2/bar/h/stat.h: line 12-26 < unsigned long __unused5; <}; < <#define S_IFMT 00170000 <#define S_IFSOCK 0140000 <#define S_IFLNK 0120000 <#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 --- > 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 */ >#define S_IEXEC 00100 /* execute/search permission, owner */ linux/linux-0.96c/include/limits.h: line 49-62 minix/1.2/bar/kernel/const.h: line 24-37 <#define _POSIX_PIPE_BUF 512 /* pipes writes of 512 bytes must be atomic */ < <#define NGROUPS_MAX 32 /* supplemental group IDs are available */ <#define ARG_MAX 40960 /* # bytes of args + environ for exec() */ <#define CHILD_MAX 999 /* no limit :-) */ <#define OPEN_MAX 20 /* # open files a process may have */ <#define LINK_MAX 127 /* # links a file may have */ <#define MAX_CANON 255 /* size of the canonical input queue */ <#define MAX_INPUT 255 /* size of the type-ahead buffer */ <#define NAME_MAX 255 /* # chars in a file name */ <#define PATH_MAX 1024 /* # chars in a path name */ <#define PIPE_BUF 4095 /* # bytes in atomic write to a pipe */ < <#endif --- >#define KEYBOARD_VECTOR 9 /* keyboard interrupt vector */ >#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.96c/kernel/chr_drv/keyboard.c: line 312-314 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 688-690 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.h: line 47-58 minix/1.2/bar/fs/const.h: line 2-15 <#define DATA STATUS+1 <#define CMD_NOP 0x00 /* No Operation */ <#define CMD_MBINIT 0x01 /* Mailbox Initialization */ <#define CMD_START_SCSI 0x02 /* Start SCSI Command */ <#define CMD_INQUIRY 0x04 /* Adapter Inquiry */ <#define CMD_EMBOI 0x05 /* Enable MailBox Out Interrupt */ <#define CMD_BUSON_TIME 0x07 /* Set Bus-On Time */ <#define CMD_BUSOFF_TIME 0x08 /* Set Bus-Off Time */ <#define CMD_RETDEVS 0x0a /* Return Installed Devices */ <#define CMD_RETCONF 0x0b /* Return Configuration Data */ <#define CMD_RETSETUP 0x0d /* Return Setup Data */ <#define CMD_ECHO 0x1f /* ECHO Command Data */ --- >#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.96c/fs/ext/inode.c: line 132-133 minix/1.2/bar/fs/super.c: line 59-60 < s->s_imap[0]->b_data[0] |= 1; < s->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.96c/fs/minix/inode.c: line 102-103 minix/1.2/bar/fs/super.c: line 59-60 < s->s_imap[0]->b_data[0] |= 1; < s->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.96c/kernel/chr_drv/keyboard.c: line 297-299 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 344-346 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 391-393 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 438-440 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 767-769 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < 0, 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/console.c: line 552-564 minix/1.2/bar/kernel/tty.c: line 442-446 < case 22: < intensity = 1; < break; < case 24: < underline = 0; < break; < case 25: < blink = 0; < break; < case 27: < reverse = 0; < break; < case 39: --- > 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 && caps_off) capslock = 1 - capslock; linux/linux-0.96c/include/sys/kd.h: line 81-93 minix/1.2/bar/fs/const.h: line 2-12 <#define MCAIO 0x4B24 /* i/o to mca video board */ <#define CGAIO 0x4B25 /* i/o to cga video board */ <#define EGAIO 0x4B26 /* i/o to ega video board */ <#define VGAIO 0x4B27 /* i/o to vga video board */ < <#define GIO_FONT8x8 0x4B28 /* gets current 8x8 font used */ <#define PIO_FONT8x8 0x4B29 /* use supplied 8x8 font */ <#define GIO_FONT8x14 0x4B2A /* gets current 8x14 font used */ <#define PIO_FONT8x14 0x4B2B /* use supplied 8x14 font */ <#define GIO_FONT8x16 0x4B2C /* gets current 8x16 font used */ <#define PIO_FONT8x16 0x4B2D /* use supplied 8x16 font */ < <#define MKDIOADDR 32 /* io bitmap size from */ --- >#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.96c/include/linux/ctype.h: line 21-22 minix/1.2/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.96c/fs/ext/freelists.c: line 284-288 minix/1.2/bar/kernel/tty.c: line 730-734 < inode->i_uid = current->euid; < inode->i_gid = current->egid; < inode->i_dirt = 1; < inode->i_ino = j; < inode->i_mtime = inode->i_atime = inode->i_ctime = CURRENT_TIME; --- > tp->tty_inhead = tp->tty_inqueue; /* discard all input */ > tp->tty_intail = tp->tty_inqueue; > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 329-331 minix/1.2/bar/kernel/tty.c: line 163-164 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', 197, '^', 13, 0, 'A', 'S', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 365-367 minix/1.2/bar/kernel/tty.c: line 173-174 < '\'', '`', 0, '\\', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '/', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 412-414 minix/1.2/bar/kernel/tty.c: line 173-174 < '\'', '`', 0, '#', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '/', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 459-461 minix/1.2/bar/kernel/tty.c: line 173-174 < ']', '^', 0, '#', 'y', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 474-476 minix/1.2/bar/kernel/tty.c: line 173-174 < '}', '~', 0, '\'', 'Y', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 500-502 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 517-519 minix/1.2/bar/kernel/tty.c: line 163-164 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Z', 'U', 'I', < 'O', 'P', 220, '*', 13, 0, 'A', 'S', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 553-555 minix/1.2/bar/kernel/tty.c: line 163-164 < '|', '`', 0, 42, 'w', 'x', 'c', 'v', < 'b', 'n', ',', ';', ':', '!', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 568-570 minix/1.2/bar/kernel/tty.c: line 173-174 < '%', '~', 0, '#', 'W', 'X', 'C', 'V', < 'B', 'N', '?', '.', '/', '\\', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 609-611 minix/1.2/bar/kernel/tty.c: line 160-161 PRIVATE char unsh[] = { > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 658-660 minix/1.2/bar/kernel/tty.c: line 163-164 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', 197, '^', 13, 0, 'A', 'S', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 705-707 minix/1.2/bar/kernel/tty.c: line 163-164 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', 197, '^', 13, 0, 'A', 'S', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 741-743 minix/1.2/bar/kernel/tty.c: line 173-174 < '-', '`', 0, '[', ';', 'q', 'j', 'k', < 'x', 'b', 'm', 'w', 'v', 'z', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 756-758 minix/1.2/bar/kernel/tty.c: line 173-174 < '_', '~', 0, '{', ':', 'Q', 'J', 'K', < 'X', 'B', 'M', 'W', 'V', 'Z', 0, '*', < 0, 32, 0, 0, 0, 0, 0, 0, --- > 'D','F','G','H','J','K','L',':', 042,'~',0200,'|','Z','X','C','V', > 'B','N','M','<','>','?',0201,'*', 0203,' ',0204,0221,0222,0223,0224,0225, linux/linux-0.96c/net/socket.c: line 93-98 minix/1.2/bar/kernel/tty.c: line 731-736 < file->f_op = &socket_file_ops; < file->f_mode = 3; < file->f_flags = 0; < file->f_count = 1; < file->f_inode = inode; < file->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; > tp->tty_waiting = NOT_WAITING; /* don't send reply */ linux/linux-0.96c/fs/read_write.c: line 46-56 minix/1.2/bar/fs/open.c: line 288-294 < return file->f_op->lseek(file->f_inode,file,offset,origin); < f_pos + offset; < break; < case 2: --- > if (rfilp->filp_ino->i_pipe == I_PIPE) return(ESPIPE); > > /* The value of 'whence' determines the algorithm to use. */ > switch(whence) { > case 0: pos = offset; break; > case 1: pos = rfilp->filp_pos + offset; break; > case 2: pos = rfilp->filp_ino->i_size + offset; break; linux/linux-0.96c/fs/super.c: line 138-142 minix/1.2/bar/kernel/tty.c: line 732-736 < s->s_dev = dev; < s->s_covered = NULL; < s->s_time = 0; < s->s_rd_only = 0; < s->s_dirt = 0; --- > 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 */ linux/linux-0.96c/fs/ext/bitmap.c: line 220-224 minix/1.2/bar/kernel/tty.c: line 732-736 < bh->b_dirt = 1; < inode->i_count = 1; < inode->i_nlink = 1; < inode->i_dev = dev; < inode->i_uid = current->euid; --- > 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 */ linux/linux-0.96c/fs/ext/freelists.c: line 280-284 minix/1.2/bar/kernel/tty.c: line 732-736 < inode->i_sb->s_dirt = 1; < inode->i_count = 1; < inode->i_nlink = 1; < inode->i_dev = dev; < inode->i_uid = current->euid; --- > 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 */ linux/linux-0.96c/fs/minix/bitmap.c: line 208-212 minix/1.2/bar/kernel/tty.c: line 732-736 < bh->b_dirt = 1; < inode->i_count = 1; < inode->i_nlink = 1; < inode->i_dev = dev; < inode->i_uid = current->euid; --- > 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 */ linux/linux-0.96c/kernel/exit.c: line 448-449 minix/1.2/bar/kernel/system.c: line 239-240 < current->cutime += p->utime + p->cutime; < current->cstime += p->stime + p->cstime; --- > rp->child_utime += rc->user_time + rc->child_utime; /* accum child times */ > rp->child_stime += rc->sys_time + rc->child_stime; linux/linux-0.96c/kernel/exit.c: line 450-451 minix/1.2/bar/kernel/system.c: line 239-240 < current->cmin_flt += p->min_flt + p->cmin_flt; < current->cmaj_flt += p->maj_flt + p->cmaj_flt; --- > rp->child_utime += rc->user_time + rc->child_utime; /* accum child times */ > rp->child_stime += rc->sys_time + rc->child_stime; linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 596-598 minix/1.2/bar/kernel/tty.c: line 162-163 < 232, '_', 231, 224, ')', '=', 127, 9, < 'a', 'z', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', '^', '$', 13, 0, 'q', 's', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 884-884 minix/1.2/bar/fs/table.c: line 117-122 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 */ linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.h: line 1-31 minix/1.2/bar/fs/const.h: line 2-12 <#ifndef _AHA1542_H < #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.96c/include/const.h: line 2-15 minix/1.2/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.96c/net/socket.c: line 148-152 minix/1.2/bar/kernel/tty.c: line 732-736 < sock->flags = 0; < sock->ops = NULL; < sock->data = NULL; < sock->conn = NULL; < sock->iconn = NULL; --- > 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 */ linux/linux-0.96c/fs/ext/blkdev.c: line 54-68 minix/1.2/bar/fs/table.c: line 91-106 < &def_blk_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < ext_bmap, /* bmap */ < ext_truncate /* truncate */ <}; --- > 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.96c/fs/ext/chrdev.c: line 54-68 minix/1.2/bar/fs/table.c: line 91-106 < &def_chr_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < ext_bmap, /* bmap */ < ext_truncate /* truncate */ <}; --- > 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.96c/fs/ext/dir.c: line 40-54 minix/1.2/bar/fs/table.c: line 91-106 < &ext_dir_operations, /* default directory file-ops */ < ext_create, /* create */ < ext_lookup, /* lookup */ < ext_link, /* link */ < ext_unlink, /* unlink */ < ext_symlink, /* symlink */ < ext_mkdir, /* mkdir */ < ext_rmdir, /* rmdir */ < ext_mknod, /* mknod */ < ext_rename, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < ext_bmap, /* bmap */ < ext_truncate /* truncate */ <}; --- > 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.96c/fs/ext/file.c: line 55-69 minix/1.2/bar/fs/table.c: line 91-106 < &ext_file_operations, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < ext_bmap, /* bmap */ < ext_truncate /* truncate */ <}; --- > 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.96c/fs/ext/symlink.c: line 30-43 minix/1.2/bar/fs/table.c: line 35-48 int (*call_vector[NCALLS])() = { > 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 */ linux/linux-0.96c/fs/ext/fifo.c: line 13-27 minix/1.2/bar/fs/table.c: line 91-106 < &def_fifo_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < NULL, /* bmap */ < NULL /* truncate */ <}; --- > 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.96c/fs/minix/file.c: line 49-63 minix/1.2/bar/fs/table.c: line 91-106 < &minix_file_operations, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < minix_bmap, /* bmap */ < minix_truncate /* truncate */ <}; --- > 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.96c/fs/minix/fifo.c: line 13-27 minix/1.2/bar/fs/table.c: line 91-106 < &def_fifo_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < NULL, /* bmap */ < NULL /* truncate */ <}; --- > 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.96c/fs/minix/symlink.c: line 24-37 minix/1.2/bar/fs/table.c: line 35-48 int (*call_vector[NCALLS])() = { > 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 */ linux/linux-0.96c/fs/minix/chrdev.c: line 48-62 minix/1.2/bar/fs/table.c: line 91-106 < &def_chr_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < minix_bmap, /* bmap */ < minix_truncate /* truncate */ <}; --- > 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.96c/fs/minix/dir.c: line 34-48 minix/1.2/bar/fs/table.c: line 91-106 < &minix_dir_operations, /* default directory file-ops */ < minix_create, /* create */ < minix_lookup, /* lookup */ < minix_link, /* link */ < minix_unlink, /* unlink */ < minix_symlink, /* symlink */ < minix_mkdir, /* mkdir */ < minix_rmdir, /* rmdir */ < minix_mknod, /* mknod */ < minix_rename, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < minix_bmap, /* bmap */ < minix_truncate /* truncate */ <}; --- > 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.96c/fs/minix/blkdev.c: line 48-62 minix/1.2/bar/fs/table.c: line 91-106 < &def_blk_fops, /* default file operations */ < NULL, /* create */ < NULL, /* lookup */ < NULL, /* link */ < NULL, /* unlink */ < NULL, /* symlink */ < NULL, /* mkdir */ < NULL, /* rmdir */ < NULL, /* mknod */ < NULL, /* rename */ < NULL, /* readlink */ < NULL, /* follow_link */ < minix_bmap, /* bmap */ < minix_truncate /* truncate */ <}; --- > 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.96c/kernel/chr_drv/keyboard.c: line 282-284 minix/1.2/bar/kernel/tty.c: line 161-161 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', ']', '^', 13, 0, 'A', 'S', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 314-316 minix/1.2/bar/kernel/tty.c: line 163-164 < '7', '8', '9', '0', '+', 180, 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', 229, 168, 13, 0, 'a', 's', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 317-319 minix/1.2/bar/kernel/tty.c: line 163-164 < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 246, < 228, 167, 0, '\'', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 361-363 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', '-', '=', 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', '[', ']', 13, 0, 'a', 's', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 363-365 minix/1.2/bar/kernel/tty.c: line 161-161 < 'o', 'p', '[', ']', 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', < '\'', '`', 0, '\\', 'z', 'x', 'c', 'v', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 376-378 minix/1.2/bar/kernel/tty.c: line 161-161 < '&', '*', '(', ')', '_', '+', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', '{', '}', 13, 0, 'A', 'S', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 408-410 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', '-', '=', 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', '[', ']', 13, 0, 'a', 's', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 410-412 minix/1.2/bar/kernel/tty.c: line 161-161 < 'o', 'p', '[', ']', 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', ';', < '\'', '`', 0, '#', 'z', 'x', 'c', 'v', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 423-425 minix/1.2/bar/kernel/tty.c: line 161-161 < '&', '*', '(', ')', '_', '+', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', '{', '}', 13, 0, 'A', 'S', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 455-457 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', '\\', '\'', 127, 9, < 'q', 'w', 'e', 'r', 't', 'z', 'u', 'i', < 'o', 'p', '@', '+', 13, 0, 'a', 's', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 457-459 minix/1.2/bar/kernel/tty.c: line 161-161 < 'o', 'p', '@', '+', 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', '[', < ']', '^', 0, '#', 'y', 'x', 'c', 'v', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 470-472 minix/1.2/bar/kernel/tty.c: line 161-161 < '/', '(', ')', '=', '?', '`', 127, 9, < 'Q', 'W', 'E', 'R', 'T', 'Z', 'U', 'I', < 'O', 'P', '\\', '*', 13, 0, 'A', 'S', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 472-474 minix/1.2/bar/kernel/tty.c: line 161-161 < 'O', 'P', '\\', '*', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', '{', < '}', '~', 0, '\'', 'Y', 'X', 'C', 'V', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 549-551 minix/1.2/bar/kernel/tty.c: line 161-161 < '}', '_', '/', '@', ')', '=', 127, 9, < 'a', 'z', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', '^', '$', 13, 0, 'q', 's', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 551-553 minix/1.2/bar/kernel/tty.c: line 161-161 < 'o', 'p', '^', '$', 13, 0, 'q', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'm', < '|', '`', 0, 42, 'w', 'x', 'c', 'v', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 564-566 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', ']', '+', 127, 9, < 'A', 'Z', 'E', 'R', 'T', 'Y', 'U', 'I', < 'O', 'P', '<', '>', 13, 0, 'Q', 'S', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 566-568 minix/1.2/bar/kernel/tty.c: line 161-161 < 'O', 'P', '<', '>', 13, 0, 'Q', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', 'M', < '%', '~', 0, '#', 'W', 'X', 'C', 'V', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 646-648 minix/1.2/bar/kernel/tty.c: line 163-164 < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 230, < 162, 0, 0, '\'', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 690-692 minix/1.2/bar/kernel/tty.c: line 163-164 < '7', '8', '9', '0', '+', 180, 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', 229, 168, 13, 0, 'a', 's', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 693-695 minix/1.2/bar/kernel/tty.c: line 163-164 < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 230, < 162, 189, 0, '\'', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 737-739 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', '\\', '=', 127, 9, < '\'', ',', '.', 'p', 'y', 'f', 'g', 'c', < 'r', 'l', '/', ']', 13, 0, 'a', 'o', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 739-741 minix/1.2/bar/kernel/tty.c: line 161-161 < 'r', 'l', '/', ']', 13, 0, 'a', 'o', < 'e', 'u', 'i', 'd', 'h', 't', 'n', 's', < '-', '`', 0, '[', ';', 'q', 'j', 'k', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 752-754 minix/1.2/bar/kernel/tty.c: line 161-161 < '&', '*', '(', ')', '|', '+', 127, 9, < '"', '<', '>', 'P', 'Y', 'F', 'G', 'C', < 'R', 'L', '?', '}', 13, 0, 'A', 'O', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 754-756 minix/1.2/bar/kernel/tty.c: line 161-161 < 'R', 'L', '?', '}', 13, 0, 'A', 'O', < 'E', 'U', 'I', 'D', 'H', 'T', 'N', 'S', < '_', '~', 0, '{', ':', 'Q', 'J', 'K', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 907-910 minix/1.2/bar/kernel/dmp.c: line 99-100 char *nayme[]= {"PRINTR", "TTY ", "WINCHE", "FLOPPY", "RAMDSK", "CLOCK ", > "SYS ", "HARDWR", "MM ", "FS ", "INIT "}; linux/linux-0.96c/kernel/blk_drv/scsi/seagate.h: line 102-111 minix/1.2/bar/fs/const.h: line 2-11 <#define PHASE_BUS_FREE 1 <#define PHASE_ARBITRATION 2 <#define PHASE_SELECTION 4 <#define PHASE_DATAIN 8 <#define PHASE_DATAOUT 0x10 <#define PHASE_CMDOUT 0x20 <#define PHASE_MSGIN 0x40 <#define PHASE_MSGOUT 0x80 <#define PHASE_STATUSIN 0x100 <#define PHASE_ETC (PHASE_DATAIN | PHASE_DATA_OUT | PHASE_CMDOUT | PHASE_MSGIN | PHASE_MSGOUT | PHASE_STATUSIN) --- >#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 */ linux/linux-0.96c/include/unistd.h: line 39-48 minix/1.2/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.96c/include/linux/fs.h: line 44-53 minix/1.2/bar/fs/const.h: line 2-11 <#define NR_OPEN 32 <#define NR_INODE 128 <#define NR_FILE 64 <#define NR_SUPER 8 <#define NR_HASH 307 <#define NR_BUFFERS nr_buffers <#define BLOCK_SIZE 1024 <#define BLOCK_SIZE_BITS 10 <#define MAX_CHRDEV 16 <#define MAX_BLKDEV 16 --- >#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 */ linux/linux-0.96c/net/socket.c: line 500-505 minix/1.2/bar/kernel/tty.c: line 734-738 < sock1->conn = sock2; < sock2->conn = sock1; < sock1->state = SS_CONNECTED; < sock2->state = SS_CONNECTED; < < verify_area(usockvec, 2 * sizeof(int)); --- > tp->tty_inleft = 0; > tp->tty_outleft = 0; > tp->tty_waiting = NOT_WAITING; /* don't send reply */ > tp->tty_inhibited = RUNNING; > tty_reply(TASK_REPLY, m_ptr->m_source, m_ptr->PROC_NR, EINTR, 0L, 0L); linux/linux-0.96c/fs/ext/file.c: line 214-219 minix/1.2/bar/fs/mount.c: line 109-116 < brelse(bh); < } < inode->i_mtime = CURRENT_TIME; < inode->i_ctime = CURRENT_TIME; < filp->f_pos = pos; < inode->i_dirt = 1; --- > return(r); > } > > /* Nothing else can go wrong. Perform the mount. */ > rip->i_mount = I_MOUNT; /* this bit says the inode is mounted on */ > sp->s_imount = rip; > sp->s_isup = root_ip; > sp->s_rd_only = rd_only; linux/linux-0.96c/fs/minix/file.c: line 214-219 minix/1.2/bar/fs/mount.c: line 109-116 < brelse(bh); < } < inode->i_mtime = CURRENT_TIME; < inode->i_ctime = CURRENT_TIME; < filp->f_pos = pos; < inode->i_dirt = 1; --- > return(r); > } > > /* Nothing else can go wrong. Perform the mount. */ > rip->i_mount = I_MOUNT; /* this bit says the inode is mounted on */ > sp->s_imount = rip; > sp->s_isup = root_ip; > sp->s_rd_only = rd_only; linux/linux-0.96c/fs/minix/namei.c: line 442-446 minix/1.2/bar/kernel/tty.c: line 732-736 < de->inode = 0; < bh->b_dirt = 1; < inode->i_nlink=0; < inode->i_dirt=1; < dir->i_nlink--; --- > 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 */ linux/linux-0.96c/kernel/sys.c: line 438-441 minix/1.2/bar/fs/filedes.c: line 35-39 < return 1; < < for (i = 0; i < NGROUPS; i++) { < if (current->groups[i] == NOGROUP) --- > *k = -1; /* we need a way to tell if file desc found */ > > /* Search the fproc table for a free file descriptor. */ > for (i = 0; i < NR_FDS; i++) { > if (fp->fp_filp[i] == NIL_FILP) { linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 422-423 minix/1.2/bar/kernel/tty.c: line 194-195 < 0, 27, '!', '"', 163, '$', '%', '^', < '&', '*', '(', ')', '_', '+', 127, 9, --- > 'Q','W','E','R' ,'T','Y','U','I', 'O','P',0140,'{','\r',0202,'A','S', > 'D','F','G','H','J','K','L','+', '*','}',0200,'|','Z','X','C','V', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 516-517 minix/1.2/bar/kernel/tty.c: line 194-195 < 0, 27, '!', '"', 167, '$', '%', '&', < '/', '(', ')', '=', '?', '`', 127, 9, --- > 'Q','W','E','R' ,'T','Y','U','I', 'O','P',0140,'{','\r',0202,'A','S', > 'D','F','G','H','J','K','L','+', '*','}',0200,'|','Z','X','C','V', linux/linux-0.96c/include/unistd.h: line 30-39 minix/1.2/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.96c/include/limits.h: line 35-46 minix/1.2/bar/include/ctype.h: line 3-11 <#define ULONG_MAX 4294967295U < #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.96c/fs/ext/namei.c: line 292-294 minix/1.2/bar/fs/inode.c: line 166-168 < de->name_len = namelen; < for (i=0; i < namelen ; 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.96c/fs/minix/namei.c: line 189-191 minix/1.2/bar/fs/inode.c: line 166-168 < dir->i_mtime = CURRENT_TIME; < for (i=0; i < MINIX_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.96c/kernel/chr_drv/keyboard.c: line 267-269 minix/1.2/bar/kernel/tty.c: line 161-161 < '7', '8', '9', '0', '+', '\'', 127, 9, < 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', < 'o', 'p', '}', 0, 13, 0, 'a', 's', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 269-270 minix/1.2/bar/kernel/tty.c: line 163-164 < 'o', 'p', '}', 0, 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', '|', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 271-272 minix/1.2/bar/kernel/tty.c: line 162-163 < '{', 0, 0, '\'', 'z', 'x', 'c', 'v', < 'b', 'n', 'm', ',', '.', '-', 0, '*', --- > 'q','w','e','r','t','y','u','i', 'o','p','[',']',015,0202,'a','s', > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 284-286 minix/1.2/bar/kernel/tty.c: line 161-161 < 'O', 'P', ']', '^', 13, 0, 'A', 'S', < 'D', 'F', 'G', 'H', 'J', 'K', 'L', '\\', < '[', 0, 0, '*', 'Z', 'X', 'C', 'V', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 286-287 minix/1.2/bar/kernel/tty.c: line 161-161 < '[', 0, 0, '*', 'Z', 'X', 'C', 'V', < 'B', 'N', 'M', ';', ':', '_', 0, '*', --- > 0,033,'1','2','3','4','5','6', '7','8','9','0','-','=','\b','\t', linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 578-579 minix/1.2/bar/kernel/tty.c: line 163-164 < 0, 0, 0, '~', '#', '{', '[', '|', < '`', '\\', '^', '@', ']', '}', 0, 0, --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 625-626 minix/1.2/bar/kernel/tty.c: line 163-164 < 0, 0, 0, '~', '#', '{', '[', '|', < '`', '\\', '^', '@', ']', '}', 0, 0, --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/blk_drv/ll_rw_blk.c: line 182-185 minix/1.2/bar/kernel/tty.c: line 731-734 < req->dev = bh->b_dev; < req->cmd = rw; < req->errors=0; < req->sector = bh->b_blocknr<<1; --- > tp->tty_intail = tp->tty_inqueue; > tp->tty_incount = 0; > tp->tty_lfct = 0; > tp->tty_inleft = 0; linux/linux-0.96c/include/sys/resource.h: line 30-46 minix/1.2/bar/h/stat.h: line 8-21 < long ru_msgsnd; /* messages sent */ < long ru_msgrcv; /* messages received */ < long ru_nsignals; /* signals received */ < long ru_nvcsw; /* voluntary context switches */ < long ru_nivcsw; /* involuntary " */ <}; < short int st_rdev; > long st_size; > long st_atime; > long st_mtime; > 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 */ linux/linux-0.96c/include/sys/kd.h: line 153-164 minix/1.2/bar/fs/const.h: line 2-11 #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 */ linux/linux-0.96c/include/linux/math_emu.h: line 108-117 minix/1.2/bar/fs/const.h: line 7-16 <#define BITS24 0 <#define BITS53 2 <#define BITS64 3 < <#define ROUND_NEAREST 0 <#define ROUND_DOWN 1 <#define ROUND_UP 2 <#define ROUND_0 3 < <#define CONSTZ (temp_real_unaligned) {0x0000,0x0000,0x0000,0x0000,0x0000} --- >#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 */ >#define SU_UID (uid) 0 /* super_user's uid */ linux/linux-0.96c/include/linux/lp.h: line 23-32 minix/1.2/bar/fs/const.h: line 7-16 <#define LP_EXIST 0x0001 <#define LP_SELEC 0x0002 <#define LP_BUSY 0x0004 <#define LP_OFFL 0x0008 <#define LP_NOPA 0x0010 <#define LP_ERR 0x0020 < <#define LP_TIMEOUT 200000 < <#define LP_B(minor) lp_table[(minor)].base --- >#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 */ >#define SU_UID (uid) 0 /* super_user's uid */ linux/linux-0.96c/include/linux/ctype.h: line 2-10 minix/1.2/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.96c/net/socketcall.h: line 2-13 minix/1.2/bar/kernel/const.h: line 26-37 <#define _SOCKETCALL_ < <#define SYS_SOCKET 1 <#define SYS_BIND 2 <#define SYS_CONNECT 3 <#define SYS_LISTEN 4 <#define SYS_ACCEPT 5 <#define SYS_GETSOCKNAME 6 <#define SYS_GETPEERNAME 7 <#define SYS_SOCKETPAIR 8 < <#endif _SOCKETCALL_ --- >#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.96c/net/unix.c: line 60-72 minix/1.2/bar/fs/table.c: line 35-47 int (*call_vector[NCALLS])() = { > 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 */ linux/linux-0.96c/fs/exec.c: line 88-93 minix/1.2/bar/kernel/tty.c: line 755-761 < goto end_coredump; < file.f_mode = 3; < file.f_flags = 0; < file.f_count = 1; < file.f_inode = inode; < file.f_pos = 0; --- > message tty_mess; > > tty_mess.m_type = code; > tty_mess.REP_PROC_NR = proc_nr; > tty_mess.REP_STATUS = status; > tty_mess.TTY_FLAGS = extra; /* used by IOCTL for flags (mode) */ > tty_mess.TTY_SPEK = other; /* used by IOCTL for erase and kill chars */ linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 276-277 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 291-292 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 323-324 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 338-339 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 370-371 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 385-386 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 417-418 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '\\', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 432-433 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '|', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 464-465 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 479-480 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 485-487 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < '@', 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 511-512 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 526-527 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 532-534 minix/1.2/bar/kernel/tty.c: line 164-165 < '{', '[', ']', '}', '\\', 0, 0, 0, < '@', 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 558-559 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 573-574 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 579-581 minix/1.2/bar/kernel/tty.c: line 164-165 < '`', '\\', '^', '@', ']', '}', 0, 0, < '@', 0, 0, 0, 0, 0, 0, 0, < 0, 0, 0, '~', 13, 0, 0, 0, --- > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, > 0246,0247,0250,0251,0252,0205,0210,0267, 0270,0271,0211,0264,0265,0266,0214 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 605-606 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 615-616 minix/1.2/bar/kernel/tty.c: line 163-164 < '%', 0, 0, 181, 'W', 'X', 'C', 'V', < 'B', 'N', '?', '.', '/', 167, 0, '*', --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 620-621 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 652-653 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 667-668 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 699-700 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 714-715 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '>', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 746-747 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 761-762 minix/1.2/bar/kernel/tty.c: line 198-199 < 0, 0, 0, 0, 0, 0, '<', 0, < 0, 0, 0, 0, 0, 0, 0, 0, --- > '2','3',0207,0177,0271,014,0272,'\r', '\b','\n','\f',036,032,0273,0274,'/', > 0233,0234,0235,0236,0237,0275,0276,0277 linux/linux-0.96c/kernel/chr_drv/console.c: line 535-545 minix/1.2/bar/kernel/tty.c: line 442-446 < break; < case 1: < intensity = 2; < break; < case 2: < intensity = 0; < break; < case 4: < underline = 1; < break; < case 5: --- > 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 && caps_off) capslock = 1 - capslock; linux/linux-0.96c/include/sys/socket.h: line 12-28 minix/1.2/bar/fs/const.h: line 2-10 <#define SOCK_STREAM 1 /* stream (connection) socket */ <#define SOCK_DGRAM 2 /* datagram (connectionless) socket */ <#define SOCK_SEQPACKET 3 /* sequential packet socket */ <#define SOCK_RAW 4 /* raw socket */ < #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 */ linux/linux-0.96c/include/linux/ctype.h: line 25-26 minix/1.2/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.96c/fs/ext/bitmap.c: line 224-227 minix/1.2/bar/kernel/tty.c: line 633-636 < inode->i_uid = current->euid; < inode->i_gid = current->egid; < inode->i_dirt = 1; < inode->i_ino = j + i*8192; --- > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; > tp->tty_cum = 0; linux/linux-0.96c/fs/ext/namei.c: line 438-441 minix/1.2/bar/kernel/tty.c: line 633-636 < de = (struct ext_dir_entry *) dir_block->b_data; < de->inode=inode->i_ino; < de->rec_len=16; < de->name_len=1; --- > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; > tp->tty_cum = 0; linux/linux-0.96c/fs/minix/bitmap.c: line 212-215 minix/1.2/bar/kernel/tty.c: line 633-636 < inode->i_uid = current->euid; < inode->i_gid = current->egid; < inode->i_dirt = 1; < inode->i_ino = j + i*8192; --- > tp->tty_out_vir = m_ptr->ADDRESS; > tp->tty_outleft = m_ptr->COUNT; > tp->tty_waiting = WAITING; > tp->tty_cum = 0; linux/linux-0.96c/kernel/fork.c: line 49-50 minix/1.2/bar/kernel/dmp.c: line 89-91 < printk("ldt[0]: %08x %08x\n",current->ldt[0].a,current->ldt[0].b); < printk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b); --- > prname(rp-proc); > printf(" %4x %4x %4x %4x %4x %4x %4x %4x %4x %3dK %3dK\n", > rp->p_map[T].mem_vir, rp->p_map[T].mem_phys, rp->p_map[T].mem_len, linux/linux-0.96c/kernel/fork.c: line 50-51 minix/1.2/bar/kernel/dmp.c: line 89-91 < printk("ldt[1]: %08x %08x\n",current->ldt[1].a,current->ldt[1].b); < printk("ldt[2]: %08x %08x\n",current->ldt[2].a,current->ldt[2].b); --- > prname(rp-proc); > printf(" %4x %4x %4x %4x %4x %4x %4x %4x %4x %3dK %3dK\n", > rp->p_map[T].mem_vir, rp->p_map[T].mem_phys, rp->p_map[T].mem_len, linux/linux-0.96c/kernel/vsprintf.c: line 24-35 minix/1.2/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.96c/kernel/chr_drv/keyboard.c: line 316-317 minix/1.2/bar/kernel/tty.c: line 163-164 < 'o', 'p', 229, 168, 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 246, --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/keyboard.c: line 692-693 minix/1.2/bar/kernel/tty.c: line 163-164 < 'o', 'p', 229, 168, 13, 0, 'a', 's', < 'd', 'f', 'g', 'h', 'j', 'k', 'l', 230, --- > 'd','f','g','h','j','k','l',';', 047,0140,0200,0134,'z','x','c','v', > 'b','n','m',',','.','/',0201,'*', 0203,' ',0204,0241,0242,0243,0244,0245, linux/linux-0.96c/kernel/chr_drv/serial.c: line 453-456 minix/1.2/bar/kernel/floppy.c: line 312-315 < set_intr_gate(0x23,IRQ3_interrupt); < set_intr_gate(0x24,IRQ4_interrupt); < set_intr_gate(0x25,IRQ5_interrupt); < set_intr_gate(0x29,IRQ9_interrupt); --- > port_out(DMA_M2, mode); /* set the DMA mode */ > port_out(DMA_M1, mode); /* set it again */ > port_out(DMA_ADDR, low_addr); /* output low-order 8 bits */ > port_out(DMA_ADDR, high_addr);/* output next 8 bits */ linux/linux-0.96c/kernel/math/emulate.c: line 340-342 minix/1.2/bar/kernel/wini.c: line 578-580 < address = ea(info,code); < verify_area(address,28); < for (code = 0 ; code < 7 ; code++) { --- > port_out(WIN_DMA, mode); > port_out(WIN_SELECT, mode); > for (i=0; i<300; i++) { linux/linux-0.96c/kernel/math/emulate.c: line 385-387 minix/1.2/bar/kernel/wini.c: line 578-580 < address = ea(info,code); < verify_area(address,108); < for (code = 0 ; code < 27 ; code++) { --- > port_out(WIN_DMA, mode); > port_out(WIN_SELECT, mode); > for (i=0; i<300; i++) { linux/linux-0.96c/kernel/blk_drv/scsi/aha1542.c: line 409-409 minix/1.2/bar/fs/table.c: line 117-122 < static unchar cmd[] = { READ_CAPACITY, 0, 0, 0, 0, 0, 0, 0, 0, 0}; --- >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 */ linux/linux-0.96c/include/sys/kd.h: line 127-138 minix/1.2/bar/h/stat.h: line 12-23 < char *qaddr; /* user virt addr of queue */ <}; <#define KDQUEMODE 0x4B38 /* enable/disable special queue mode */ < <#define KDSBORDER 0x4B39 /* set screen boarder in ega text mode */ < <#define KDSETMODE 0x4B3A /* set text/grahics mode */ <#define KD_TEXT 0x00 <#define KD_GRAPHICS 0x01 <#define KD_TEXT0 0x02 /* ? */ <#define KD_TEXT1 0x03 /* ? */ <#define KDGETMODE 0x4B3B /* get current mode */ --- > 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.96c/include/linux/sched.h: line 190-190 minix/1.2/bar/fs/table.c: line 36-47 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 */ linux/linux-0.96c/include/linux/ctype.h: line 22-23 minix/1.2/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))