From owner-cvs-sys Sun Apr 14 02:54:23 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA12395 for cvs-sys-outgoing; Sun, 14 Apr 1996 02:54:23 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA12378 Sun, 14 Apr 1996 02:54:16 -0700 (PDT) Date: Sun, 14 Apr 1996 02:54:16 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199604140954.CAA12378@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/boot/netboot main.c netboot.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/04/14 02:54:15 Modified: sys/i386/boot/netboot main.c netboot.h Log: Now that I have started to use netboot, I see what is missing... Load symbols and set boot args more nicely. Revision Changes Path 1.15 +55 -36 src/sys/i386/boot/netboot/main.c 1.8 +1 -0 src/sys/i386/boot/netboot/netboot.h From owner-cvs-sys Sun Apr 14 13:14:58 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA11250 for cvs-sys-outgoing; Sun, 14 Apr 1996 13:14:58 -0700 (PDT) Received: (from se@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA11231 Sun, 14 Apr 1996 13:14:41 -0700 (PDT) Date: Sun, 14 Apr 1996 13:14:41 -0700 (PDT) From: Stefan Esser Message-Id: <199604142014.NAA11231@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/pci pci.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk se 96/04/14 13:14:39 Modified: sys/pci pci.c Log: Update PCI bus code from my current sources: - always use pci_conf_read() and pci_conf_write(). (This is required to simulate non-existant devices in my system for PCI bridge code tests.) - reorder some functions (put the main functions at the end). - correct off by one bug in the code dealing with unitialized PCI to PCI bridge chips. (Bug found by ASAMI Satoshi.) - print function number for multi-function devices. Revision Changes Path 1.48 +165 -155 src/sys/pci/pci.c From owner-cvs-sys Sun Apr 14 20:46:52 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA14379 for cvs-sys-outgoing; Sun, 14 Apr 1996 20:46:52 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA14354 Sun, 14 Apr 1996 20:46:38 -0700 (PDT) Date: Sun, 14 Apr 1996 20:46:38 -0700 (PDT) From: David Greenman Message-Id: <199604150346.UAA14354@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet tcp_output.c tcp_timer.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/04/14 20:46:38 Modified: sys/netinet tcp_output.c tcp_timer.c Log: Two fixes from Rich Stevens: 1) Set the persist timer to help time-out connections in the CLOSING state. 2) Honor the keep-alive timer in the CLOSING state. This fixes problems with connections getting "stuck" due to incompletion of the final connection shutdown which can be a BIG problem on busy WWW servers. Revision Changes Path 1.20 +8 -5 src/sys/netinet/tcp_output.c 1.16 +2 -2 src/sys/netinet/tcp_timer.c From owner-cvs-sys Sun Apr 14 20:50:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA14613 for cvs-sys-outgoing; Sun, 14 Apr 1996 20:50:04 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA14568 Sun, 14 Apr 1996 20:49:55 -0700 (PDT) Date: Sun, 14 Apr 1996 20:49:55 -0700 (PDT) From: David Greenman Message-Id: <199604150349.UAA14568@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet tcp_output.c tcp_timer.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/04/14 20:49:54 Branch: sys/netinet RELENG_2_1_0 Modified: sys/netinet tcp_output.c tcp_timer.c Log: Brought in fixes from -current: rev 1.20 of tcp_output.c, and 1.16 of tcp_timer.c...time-out connections in the CLOSING state better. Revision Changes Path 1.11.4.5 +8 -5 src/sys/netinet/tcp_output.c 1.7.4.2 +2 -2 src/sys/netinet/tcp_timer.c From owner-cvs-sys Mon Apr 15 10:14:34 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA08811 for cvs-sys-outgoing; Mon, 15 Apr 1996 10:14:34 -0700 (PDT) Received: (from joerg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA08725 Mon, 15 Apr 1996 10:14:15 -0700 (PDT) Date: Mon, 15 Apr 1996 10:14:15 -0700 (PDT) From: Joerg Wunsch Message-Id: <199604151714.KAA08725@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa lpt.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 96/04/15 10:14:14 Modified: sys/i386/isa lpt.c Log: Pull the fix from rev. 1.53 into -stable, after receiving some confirmation from the users. Revision Changes Path 1.30.4.9 +26 -8 src/sys/i386/isa/lpt.c From owner-cvs-sys Mon Apr 15 20:50:25 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA04665 for cvs-sys-outgoing; Mon, 15 Apr 1996 20:50:25 -0700 (PDT) Received: (from davidg@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id UAA04588 Mon, 15 Apr 1996 20:50:14 -0700 (PDT) Date: Mon, 15 Apr 1996 20:50:14 -0700 (PDT) From: David Greenman Message-Id: <199604160350.UAA04588@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern uipc_socket.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk davidg 96/04/15 20:50:13 Modified: sys/kern uipc_socket.c Log: Fix for PR #1146: the "next" pointer must be cached before calling soabort since the struct containing it may be freed. Revision Changes Path 1.17 +8 -4 src/sys/kern/uipc_socket.c From owner-cvs-sys Wed Apr 17 02:01:24 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA26117 for cvs-sys-outgoing; Wed, 17 Apr 1996 02:01:24 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA26079 Wed, 17 Apr 1996 02:00:58 -0700 (PDT) Date: Wed, 17 Apr 1996 02:00:58 -0700 (PDT) From: Paul Traina Message-Id: <199604170900.CAA26079@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa qcamio.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/04/17 02:00:57 Modified: sys/i386/isa qcamio.c Log: Add in linux support for the quickcam driver bottom half and add a new "invasive camera scan" option for folks who have weird cameras or weird parallel ports. Revision Changes Path 1.4 +69 -23 src/sys/i386/isa/qcamio.c From owner-cvs-sys Wed Apr 17 02:38:56 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28238 for cvs-sys-outgoing; Wed, 17 Apr 1996 02:38:56 -0700 (PDT) Received: (from pst@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA28148 Wed, 17 Apr 1996 02:37:21 -0700 (PDT) Date: Wed, 17 Apr 1996 02:37:21 -0700 (PDT) From: Paul Traina Message-Id: <199604170937.CAA28148@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/isa qcam.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk pst 96/04/17 02:37:20 Modified: sys/i386/isa qcam.c Log: Support FreeBSD v2.1 Revision Changes Path 1.9 +17 -19 src/sys/i386/isa/qcam.c From owner-cvs-sys Wed Apr 17 10:06:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA19632 for cvs-sys-outgoing; Wed, 17 Apr 1996 10:06:04 -0700 (PDT) Received: (from smpatel@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA19563 Wed, 17 Apr 1996 10:05:10 -0700 (PDT) Date: Wed, 17 Apr 1996 10:05:10 -0700 (PDT) From: Sujal Patel Message-Id: <199604171705.KAA19563@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern kern_fork.c src/sys/sys unistd.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk smpatel 96/04/17 10:05:10 Modified: sys/kern kern_fork.c sys/sys unistd.h Log: Implement the RFNOWAIT flag for rfork(). If set this flag will cause the forked child to be dissociated from the parent). Cleanup fork1(), implement vfork() and fork() in terms of rfork() flags. Remove RFENVG, RFNOTEG, RFCNAMEG, RFCENVG which are Plan9 specific and cannot possibly be implemented in FreeBSD. Renumbered the flags to make up for the removal of the above flags. Reviewed by: peter, smpatel Submitted by: Mike Grupenhoff Revision Changes Path 1.20 +33 -37 src/sys/kern/kern_fork.c 1.6 +7 -11 src/sys/sys/unistd.h From owner-cvs-sys Wed Apr 17 21:02:40 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA10653 for cvs-sys-outgoing; Wed, 17 Apr 1996 21:02:40 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA10638 Wed, 17 Apr 1996 21:02:32 -0700 (PDT) Date: Wed, 17 Apr 1996 21:02:32 -0700 (PDT) From: Nate Williams Message-Id: <199604180402.VAA10638@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/04/17 21:02:32 Modified: sys/i386/conf GENERIC Log: Added a disabled psm0 (PS/2) mouse device, using the new 'disable' keyword. Revision Changes Path 1.66 +3 -1 src/sys/i386/conf/GENERIC From owner-cvs-sys Wed Apr 17 21:04:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA10822 for cvs-sys-outgoing; Wed, 17 Apr 1996 21:04:29 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA10802 Wed, 17 Apr 1996 21:04:23 -0700 (PDT) Date: Wed, 17 Apr 1996 21:04:23 -0700 (PDT) From: Nate Williams Message-Id: <199604180404.VAA10802@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/conf GENERIC Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/04/17 21:04:23 Branch: sys/i386/conf RELENG_2_1_0 Modified: sys/i386/conf GENERIC Log: Added comment out psm0 (PS/2) mouse device entry so that users can find it easier. Revision Changes Path 1.46.2.9 +2 -1 src/sys/i386/conf/GENERIC From owner-cvs-sys Thu Apr 18 08:39:36 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11536 for cvs-sys-outgoing; Thu, 18 Apr 1996 08:39:36 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11521 Thu, 18 Apr 1996 08:39:28 -0700 (PDT) Date: Thu, 18 Apr 1996 08:39:28 -0700 (PDT) From: Garrett Wollman Message-Id: <199604181539.IAA11521@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/include in_cksum.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/04/18 08:39:28 Added: sys/i386/include in_cksum.h Log: Add an inline function to compute the common-case IP header checksum. From owner-cvs-sys Thu Apr 18 08:41:22 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11696 for cvs-sys-outgoing; Thu, 18 Apr 1996 08:41:22 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11680 Thu, 18 Apr 1996 08:41:13 -0700 (PDT) Date: Thu, 18 Apr 1996 08:41:13 -0700 (PDT) From: Garrett Wollman Message-Id: <199604181541.IAA11680@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet igmp.c ip_mroute.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/04/18 08:41:13 Modified: sys/netinet igmp.c ip_mroute.c Log: Always call ip_output() with a valid route pointer. For igmp, also get the multicast option structure off the stack rather than malloc. Revision Changes Path 1.18 +14 -14 src/sys/netinet/igmp.c 1.32 +10 -3 src/sys/netinet/ip_mroute.c From owner-cvs-sys Thu Apr 18 08:42:04 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11768 for cvs-sys-outgoing; Thu, 18 Apr 1996 08:42:04 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11744 Thu, 18 Apr 1996 08:41:54 -0700 (PDT) Date: Thu, 18 Apr 1996 08:41:54 -0700 (PDT) From: Garrett Wollman Message-Id: <199604181541.IAA11744@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet in_proto.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/04/18 08:41:53 Modified: sys/netinet in_proto.c Log: Fix a warning by not referencing ip_output() as a pr_output() member. Revision Changes Path 1.28 +2 -2 src/sys/netinet/in_proto.c From owner-cvs-sys Thu Apr 18 08:42:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11854 for cvs-sys-outgoing; Thu, 18 Apr 1996 08:42:59 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11832 Thu, 18 Apr 1996 08:42:52 -0700 (PDT) Date: Thu, 18 Apr 1996 08:42:52 -0700 (PDT) From: Garrett Wollman Message-Id: <199604181542.IAA11832@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/04/18 08:42:52 Modified: sys/netinet ip.h Log: Define a few macros useful in the _IP_VHL case. Revision Changes Path 1.9 +8 -1 src/sys/netinet/ip.h From owner-cvs-sys Thu Apr 18 08:49:18 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA12176 for cvs-sys-outgoing; Thu, 18 Apr 1996 08:49:18 -0700 (PDT) Received: (from wollman@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA12152 Thu, 18 Apr 1996 08:49:09 -0700 (PDT) Date: Thu, 18 Apr 1996 08:49:09 -0700 (PDT) From: Garrett Wollman Message-Id: <199604181549.IAA12152@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/netinet ip_output.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk wollman 96/04/18 08:49:08 Modified: sys/netinet ip_output.c Log: Three speed-ups in the output path (two small, one substantial): 1) Require all callers to pass a valid route pointer to ip_output() so that we don't have to check and allocate one off the stack as was done before. This eliminates one test and some stack bloat from the common (UDP and TCP) case. 2) Perform the IP header checksum in-line if it's of the usual length. This results in about a 5% speed-up in my packet-generation test. 3) Use ip_vhl field rather than ip_v and ip_hl bitfields. Revision Changes Path 1.35 +51 -39 src/sys/netinet/ip_output.c From owner-cvs-sys Thu Apr 18 12:22:01 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00349 for cvs-sys-outgoing; Thu, 18 Apr 1996 12:22:01 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00320 Thu, 18 Apr 1996 12:21:48 -0700 (PDT) Date: Thu, 18 Apr 1996 12:21:48 -0700 (PDT) From: Nate Williams Message-Id: <199604181921.MAA00320@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm apm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/04/18 12:21:48 Modified: sys/i386/apm apm.c Log: - Addition of my name to the APM Copyright - More code cleanups - #ifdef DEBUG debugging code - More consistant printfs - Better handling of the apm_int() assembly code (mostly from Bruce Evans) Reviewed by: bde Revision Changes Path 1.38 +33 -50 src/sys/i386/apm/apm.c From owner-cvs-sys Thu Apr 18 12:23:09 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00423 for cvs-sys-outgoing; Thu, 18 Apr 1996 12:23:09 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00408 Thu, 18 Apr 1996 12:23:00 -0700 (PDT) Date: Thu, 18 Apr 1996 12:23:00 -0700 (PDT) From: Nate Williams Message-Id: <199604181923.MAA00408@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm/apm_init apm_init.S apm_init.inc Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/04/18 12:23:00 Modified: sys/i386/apm/apm_init apm_init.S apm_init.inc Log: - Save/restore the FS data segment. Reviewed by: bde Revision Changes Path 1.7 +3 -3 src/sys/i386/apm/apm_init/apm_init.S 1.6 +36 -36 src/sys/i386/apm/apm_init/apm_init.inc From owner-cvs-sys Thu Apr 18 12:26:30 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00737 for cvs-sys-outgoing; Thu, 18 Apr 1996 12:26:30 -0700 (PDT) Received: (from nate@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA00717 Thu, 18 Apr 1996 12:26:20 -0700 (PDT) Date: Thu, 18 Apr 1996 12:26:20 -0700 (PDT) From: Nate Williams Message-Id: <199604181926.MAA00717@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/apm apm.c src/sys/i386/apm/apm_init apm_init.S apm_init.inc Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk nate 96/04/18 12:26:20 Branch: sys/i386/apm RELENG_2_1_0 sys/i386/apm/apm_init RELENG_2_1_0 Modified: sys/i386/apm apm.c sys/i386/apm/apm_init apm_init.S apm_init.inc Log: Bring in changes from the HEAD. - Addition of my name to the APM Copyright - More code cleanups - #ifdef DEBUG debugging code - More consistant printfs - Better handling of the apm_int() assembly code (mostly from Bruce Evans) - Save/restore the FS data segment. Reviewed by: bde Revision Changes Path 1.12.4.9 +33 -50 src/sys/i386/apm/apm.c 1.4.4.3 +3 -3 src/sys/i386/apm/apm_init/apm_init.S 1.3.4.3 +36 -36 src/sys/i386/apm/apm_init/apm_init.inc From owner-cvs-sys Thu Apr 18 14:39:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA10871 for cvs-sys-outgoing; Thu, 18 Apr 1996 14:39:29 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA10810 Thu, 18 Apr 1996 14:37:51 -0700 (PDT) Date: Thu, 18 Apr 1996 14:37:51 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199604182137.OAA10810@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/04/18 14:37:49 Modified: sys/i386/i386 swtch.s vm_machdep.c sys/i386/include pcb.h Log: Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, they shouldn't. Revision Changes Path 1.33 +4 -2 src/sys/i386/i386/swtch.s 1.59 +4 -2 src/sys/i386/i386/vm_machdep.c 1.12 +2 -2 src/sys/i386/include/pcb.h Modified: sys/i386/isa wd.c Log: Whoops, shouldn't really have been here, but what the heck: remove some stale comments. Revision Changes Path 1.106 +3 -5 src/sys/i386/isa/wd.c From owner-cvs-sys Thu Apr 18 18:26:26 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id SAA22069 for cvs-sys-outgoing; Thu, 18 Apr 1996 18:26:26 -0700 (PDT) Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id SAA22063 Thu, 18 Apr 1996 18:26:22 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by Root.COM (8.7.5/8.6.5) with SMTP id SAA08890; Thu, 18 Apr 1996 18:26:18 -0700 (PDT) Message-Id: <199604190126.SAA08890@Root.COM> X-Authentication-Warning: implode.Root.COM: Host localhost [127.0.0.1] didn't use HELO protocol To: Poul-Henning Kamp cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c In-reply-to: Your message of "Thu, 18 Apr 1996 14:37:51 PDT." <199604182137.OAA10810@freefall.freebsd.org> From: David Greenman Reply-To: davidg@Root.COM Date: Thu, 18 Apr 1996 18:26:18 -0700 Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >phk 96/04/18 14:37:49 > > Modified: sys/i386/i386 swtch.s vm_machdep.c > sys/i386/include pcb.h > Log: > Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, > they shouldn't. Oh? Why shouldn't they? The code as it was written looks correct to me (I wrote it, so this shouldn't be too surprising :-)). -DG David Greenman Core-team/Principal Architect, The FreeBSD Project From owner-cvs-sys Thu Apr 18 21:15:19 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id VAA29384 for cvs-sys-outgoing; Thu, 18 Apr 1996 21:15:19 -0700 (PDT) Received: from bunyip.cc.uq.oz.au (pp@bunyip.cc.uq.oz.au [130.102.2.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id VAA29174 Thu, 18 Apr 1996 21:09:42 -0700 (PDT) Received: from bunyip.cc.uq.oz.au by bunyip.cc.uq.oz.au id <05326-0@bunyip.cc.uq.oz.au>; Fri, 19 Apr 1996 14:06:50 +1000 Received: from netfl15a.devetir.qld.gov.au by pandora.devetir.qld.gov.au (8.6.10/DEVETIR-E0.3a) with ESMTP id OAA18921; Fri, 19 Apr 1996 14:06:59 +1000 Received: from localhost by netfl15a.devetir.qld.gov.au (8.6.8.1/DEVETIR-0.1) id EAA29990; Fri, 19 Apr 1996 04:09:58 GMT Message-Id: <199604190409.EAA29990@netfl15a.devetir.qld.gov.au> X-Mailer: exmh version 1.6.5 12/11/95 To: CVS-committers@freefall.freebsd.org cc: cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c In-reply-to: Your message of "Thu, 18 Apr 1996 18:26:18 MST." <199604190126.SAA08890@Root.COM> X-Face: 3}heU+2?b->-GSF-G4T4>jEB9~FR(V9lo&o>kAy=Pj&;oVOc<|pr%I/VSG"ZD32J>5gGC0N 7gj]^GI@M:LlqNd]|(2OxOxy@$6@/!,";-!OlucF^=jq8s57$%qXd/ieC8DhWmIy@J1AcnvSGV\|*! >Bvu7+0h4zCY^]{AxXKsDTlgA2m]fX$W@'8ev-Qi+-;%L'CcZ'NBL!@n?}q!M&Em3*eW7,093nOeV8 M)(u+6D;%B7j\XA/9j4!Gj~&jYzflG[#)E9sI&Xe9~y~Gn%fA7>F:YKr"Wx4cZU*6{^2ocZ!YyR Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 19 Apr 1996 14:09:55 +1000 From: Stephen Hocking Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >phk 96/04/18 14:37:49 > > > > Modified: sys/i386/i386 swtch.s vm_machdep.c > > sys/i386/include pcb.h > > Log: > > Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, > > they shouldn't. > cc -c -O2 -m486 -W -Wreturn-type -Wcomment -Wredundant-decls -Wimplicit -Wneste d-externs -Wstrict-prototypes -Wmissing-prototypes -Winline -nostdinc -I. -I.. /.. -I../../sys -I../../../include -DI486_CPU -DI586_CPU -DSBC_IRQ=9 -DEXCLUDE_S BPRO -DBROKEN_BUS_CLOCK -DFDSEEKWAIT=16 -DHARDFONTS -DSCSIDEBUG -DMFS -DFFS -DTC P_COMPAT_42 -DINET -DCOMPAT_43 -DDEVFS -DKERNEL ../../i386/i386/machdep.c ../../i386/i386/machdep.c: In function `boot': ../../i386/i386/machdep.c:939: too few arguments to function `savectx' *** Error code 1 Stop. Grrrr... Stephen -- The views expressed above are not those of the Worker's Compensation Board of Queensland, Australia. From owner-cvs-sys Fri Apr 19 00:07:44 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA05703 for cvs-sys-outgoing; Fri, 19 Apr 1996 00:07:44 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA05698 Fri, 19 Apr 1996 00:07:42 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uAAHq-0003xPC; Fri, 19 Apr 96 00:07 PDT Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id FAA29340; Fri, 19 Apr 1996 05:56:44 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: davidg@Root.COM cc: Poul-Henning Kamp , CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c In-reply-to: Your message of "Thu, 18 Apr 1996 18:26:18 MST." <199604190126.SAA08890@Root.COM> Date: Fri, 19 Apr 1996 05:56:44 +0000 Message-ID: <29338.829893404@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >phk 96/04/18 14:37:49 > > > > Modified: sys/i386/i386 swtch.s vm_machdep.c > > sys/i386/include pcb.h > > Log: > > Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, > > they shouldn't. > > Oh? Why shouldn't they? The code as it was written looks correct to me (I > wrote it, so this shouldn't be too surprising :-)). Basically calling savectx() means that you will return in the child via cpu_switch(). cpu_switch() returns void, QED: so must savectx(). That's probably the only thing I forgot: savectx's prototype (will fix). We save about 6 clock cycles in cpu_switch but not caring about %eax :-) -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Fri Apr 19 00:28:14 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06346 for cvs-sys-outgoing; Fri, 19 Apr 1996 00:28:14 -0700 (PDT) Received: (from phk@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06332 Fri, 19 Apr 1996 00:28:05 -0700 (PDT) Date: Fri, 19 Apr 1996 00:28:05 -0700 (PDT) From: Poul-Henning Kamp Message-Id: <199604190728.AAA06332@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/i386 machdep.c src/sys/i386/include pcb.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk phk 96/04/19 00:28:05 Modified: sys/i386/i386 machdep.c sys/i386/include pcb.h Log: savectx returns through cpu_switch in case of the child, so it must return void just like cpu_switch. Fix prototype and usage from machdep.c Revision Changes Path 1.182 +3 -2 src/sys/i386/i386/machdep.c 1.13 +2 -2 src/sys/i386/include/pcb.h From owner-cvs-sys Fri Apr 19 00:40:59 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA06856 for cvs-sys-outgoing; Fri, 19 Apr 1996 00:40:59 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id AAA06851 Fri, 19 Apr 1996 00:40:52 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id RAA06655; Fri, 19 Apr 1996 17:34:09 +1000 Date: Fri, 19 Apr 1996 17:34:09 +1000 From: Bruce Evans Message-Id: <199604190734.RAA06655@godzilla.zeta.org.au> To: davidg@Root.COM, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>phk 96/04/18 14:37:49 >> >> Modified: sys/i386/i386 swtch.s vm_machdep.c >> sys/i386/include pcb.h >> Log: >> Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, >> they shouldn't. > Oh? Why shouldn't they? The code as it was written looks correct to me (I >wrote it, so this shouldn't be too surprising :-)). savectx() returned via cpu_switch() for the child case of cpu_fork(), so cpu_switch was expected to return both void and int :-). It actually returned void, and the PCB_EAX initialization for the child case was never used. I think the correct fix is to always return 1 or PCB_EAX(%edx) in cpu_switch(). This confusion goes back to early versions of 386BSD. In FreeBSD-1.1.5, I wrote at the end of swtch(): /* * XXX 0.0 gets here via swtch_to_inactive(). I think 0.1 gets here in * the same way. Better return a value. */ popl %eax /* return(p); */ IIRC, 386BSD-0.0 returned this value and 386BSD-0.1 returned a semi-random value. Bruce From owner-cvs-sys Fri Apr 19 01:07:32 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA07551 for cvs-sys-outgoing; Fri, 19 Apr 1996 01:07:32 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA07544 Fri, 19 Apr 1996 01:07:25 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id SAA08335; Fri, 19 Apr 1996 18:05:41 +1000 Date: Fri, 19 Apr 1996 18:05:41 +1000 From: Bruce Evans Message-Id: <199604190805.SAA08335@godzilla.zeta.org.au> To: davidg@Root.COM, phk@critter.tfs.com Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >We save about 6 clock cycles in cpu_switch but not caring about %eax :-) It should save only 1 cycle on a 486 and 0.5 or 1 cycles on a Pentium :-). Even if the value has to be loaded from memory, it should be in a cache line next to one of the other values loaded from memory unless the pcb has unfortunate alignment. In any case, perhaps we could change the alignment to save more cycles. Many more cycles could be saved for the npx switch. First, some of the pushls and popls are no longer necessary. Second, fnsave could be used directly except on systems using IRQ13. Third, the npx switch could be lazier, so that it never occurs if only one process uses the cpu (this requires calling savectx() from more places, in particular before swapping out the upages). This might be useful for doing better on biased benchmarks. (If the npx is actively used by several processes concurrently then lazy switching is a pessimization.) Bruce From owner-cvs-sys Fri Apr 19 01:15:15 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA07807 for cvs-sys-outgoing; Fri, 19 Apr 1996 01:15:15 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA07801 Fri, 19 Apr 1996 01:15:13 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uABLP-0003ymC; Fri, 19 Apr 96 01:15 PDT Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id IAA29594; Fri, 19 Apr 1996 08:15:03 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: davidg@Root.COM, phk@freefall.freebsd.org, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c In-reply-to: Your message of "Fri, 19 Apr 1996 17:34:09 +1000." <199604190734.RAA06655@godzilla.zeta.org.au> Date: Fri, 19 Apr 1996 08:15:01 +0000 Message-ID: <29592.829901701@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >> Fix a bogon. cpu_fork & savectx ecpected cpu_switch to restore %eax, > >> they shouldn't. > > > Oh? Why shouldn't they? The code as it was written looks correct to me (I > >wrote it, so this shouldn't be too surprising :-)). > > savectx() returned via cpu_switch() for the child case of cpu_fork(), so > cpu_switch was expected to return both void and int :-). It actually > returned void, and the PCB_EAX initialization for the child case was > never used. I think the correct fix is to always return 1 or PCB_EAX(%edx) > in cpu_switch(). That is a pointless waste of time, since cpu_switch cannot "fail" there is no "return value" from it, so saving and reloading %eax is a waste of time. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Fri Apr 19 01:18:30 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA07958 for cvs-sys-outgoing; Fri, 19 Apr 1996 01:18:30 -0700 (PDT) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA07942 Fri, 19 Apr 1996 01:18:19 -0700 (PDT) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0uABOU-0003z9C; Fri, 19 Apr 96 01:18 PDT Received: from localhost.tfs.com (localhost.tfs.com [127.0.0.1]) by critter.tfs.com (8.6.12/8.6.12) with SMTP id IAA29611; Fri, 19 Apr 1996 08:18:13 GMT X-Authentication-Warning: critter.tfs.com: Host localhost.tfs.com didn't use HELO protocol To: Bruce Evans cc: davidg@Root.COM, CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, phk@freefall.freebsd.org Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c In-reply-to: Your message of "Fri, 19 Apr 1996 18:05:41 +1000." <199604190805.SAA08335@godzilla.zeta.org.au> Date: Fri, 19 Apr 1996 08:17:57 +0000 Message-ID: <29609.829901877@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > >We save about 6 clock cycles in cpu_switch but not caring about %eax :-) > > It should save only 1 cycle on a 486 and 0.5 or 1 cycles on a Pentium :-). > Even if the value has to be loaded from memory, it should be in a cache Remeber that you will have to save it as well... No matter how many, you would have wasted those cycles anyway.. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Future will arrive by its own means, progress not so. From owner-cvs-sys Fri Apr 19 01:58:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id BAA10149 for cvs-sys-outgoing; Fri, 19 Apr 1996 01:58:43 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id BAA10140 Fri, 19 Apr 1996 01:58:28 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id SAA10195; Fri, 19 Apr 1996 18:52:32 +1000 Date: Fri, 19 Apr 1996 18:52:32 +1000 From: Bruce Evans Message-Id: <199604190852.SAA10195@godzilla.zeta.org.au> To: bde@zeta.org.au, phk@critter.tfs.com Subject: Re: cvs commit: src/sys/i386/i386 swtch.s vm_machdep.c src/sys/i386/include pcb.h src/sys/i386/isa wd.c Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org, davidg@Root.COM, phk@freefall.freebsd.org Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> It should save only 1 cycle on a 486 and 0.5 or 1 cycles on a Pentium :-). >> Even if the value has to be loaded from memory, it should be in a cache >Remeber that you will have to save it as well... No, you only need to save it in savectx(), or always return 1 in cpu_switch() to disambiguate the return of savectx() via cpu_switch(). >No matter how many, you would have wasted those cycles anyway.. Actually not on a pentium if it takes 0.5 cycles, because 0.5 really means 0 :-). (It means that the load uses a spare slot in one of the pipelines. `should' means that the code should be optimized for the pipelines and in particular that the extra load should be ordered carefully.) Bruce From owner-cvs-sys Fri Apr 19 10:40:12 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA20326 for cvs-sys-outgoing; Fri, 19 Apr 1996 10:40:12 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id KAA20185 Fri, 19 Apr 1996 10:39:59 -0700 (PDT) Date: Fri, 19 Apr 1996 10:39:59 -0700 (PDT) From: Bruce Evans Message-Id: <199604191739.KAA20185@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/scsi scsi_sense.c su.c src/sys/libkern quad.h src/sys/sys libkern.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/04/19 10:39:58 Modified: sys/libkern quad.h sys/scsi scsi_sense.c su.c sys/sys libkern.h Log: Don't depend on including . Revision Changes Path 1.4 +2 -1 src/sys/libkern/quad.h 1.6 +1 -1 src/sys/scsi/scsi_sense.c 1.14 +2 -2 src/sys/scsi/su.c 1.10 +2 -1 src/sys/sys/libkern.h From owner-cvs-sys Fri Apr 19 11:40:38 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA23626 for cvs-sys-outgoing; Fri, 19 Apr 1996 11:40:38 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id LAA23610 Fri, 19 Apr 1996 11:40:26 -0700 (PDT) Date: Fri, 19 Apr 1996 11:40:26 -0700 (PDT) From: Bruce Evans Message-Id: <199604191840.LAA23610@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-lib, cvs-sys Subject: cvs commit: src/sys/libkern qsort.c src/lib/libc/gen assert.c src/lib/libc/locale table.c src/lib/libc/stdlib qsort.c heapsort.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/04/19 11:40:26 Modified: lib/libc/gen assert.c lib/libc/locale table.c lib/libc/stdlib qsort.c heapsort.c sys/libkern qsort.c Log: Don't include when it isn't used. This commit covers most of the ANSI library functions. Many others only need because they use u_xxx. Revision Changes Path 1.2 +0 -1 src/lib/libc/gen/assert.c 1.3 +0 -2 src/lib/libc/locale/table.c 1.4 +1 -2 src/lib/libc/stdlib/qsort.c 1.2 +1 -2 src/lib/libc/stdlib/heapsort.c 1.3 +1 -2 src/sys/libkern/qsort.c From owner-cvs-sys Fri Apr 19 12:22:43 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA26105 for cvs-sys-outgoing; Fri, 19 Apr 1996 12:22:43 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA26090 Fri, 19 Apr 1996 12:22:30 -0700 (PDT) Date: Fri, 19 Apr 1996 12:22:30 -0700 (PDT) From: Bruce Evans Message-Id: <199604191922.MAA26090@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern subr_diskslice.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/04/19 12:22:30 Modified: sys/kern subr_diskslice.c Log: Fixed removal of devfs entries for the real slice corresponding to the compatibility slice. They were forgotten on last-close and then creating them on first-open failed. Devfs entries for slices other than the one containing the root file system are still invisible unless you open a non-devfs inode on the slice. Revision Changes Path 1.25 +55 -10 src/sys/kern/subr_diskslice.c From owner-cvs-sys Fri Apr 19 12:34:42 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA26790 for cvs-sys-outgoing; Fri, 19 Apr 1996 12:34:42 -0700 (PDT) Received: (from bde@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id MAA26763 Fri, 19 Apr 1996 12:34:26 -0700 (PDT) Date: Fri, 19 Apr 1996 12:34:26 -0700 (PDT) From: Bruce Evans Message-Id: <199604191934.MAA26763@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/ufs/ufs ufs_disksubr.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 96/04/19 12:34:24 Modified: sys/ufs/ufs ufs_disksubr.c Log: Yet more b_flags fixes. The previous ones broke the clearing of B_DONE and B_READ before writing. This was was fatal. They also broke the clearing of B_INVAL before doing i/o. This didn't actually matter. Submitted by: mostly by joerg Revision Changes Path 1.23 +5 -1 src/sys/ufs/ufs/ufs_disksubr.c From owner-cvs-sys Sat Apr 20 14:31:47 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03759 for cvs-sys-outgoing; Sat, 20 Apr 1996 14:31:47 -0700 (PDT) Received: (from gibbs@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03742 Sat, 20 Apr 1996 14:31:30 -0700 (PDT) Date: Sat, 20 Apr 1996 14:31:30 -0700 (PDT) From: "Justin T. Gibbs" Message-Id: <199604202131.OAA03742@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/i386/eisa aic7770.c eisaconf.c eisaconf.h src/sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h src/sys/i386/isa isa.c src/sys/i386/scsi aic7xxx.c aic7xxx.h src/sys/pci aic7870.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk gibbs 96/04/20 14:31:29 Modified: sys/dev/aic7xxx aic7xxx.seq aic7xxx_reg.h Log: Implement SCB paging. This allows up to 255 active commands on aic7770 >= Rev E, aic7850, aic7860, aic7870, and ai7880 based controllers. Make findSCB safer for non-tagged commands when tagged commands are active on the controller. The symptoms of this problem were "Overlapped commands attempted" messages during error recovery attempts. Compact scratch ram usage. This leaves 8 bytes free for future use. Clean up some comments. aic7xxx_reg.h: Update my copyright. Revision Changes Path 1.33 +114 -64 src/sys/dev/aic7xxx/aic7xxx.seq 1.8 +70 -39 src/sys/dev/aic7xxx/aic7xxx_reg.h Modified: sys/i386/eisa aic7770.c eisaconf.c eisaconf.h Log: Turn on SCB paging for aic7770 chips rev E or greater. Update my copyrights. Revision Changes Path 1.27 +23 -8 src/sys/i386/eisa/aic7770.c 1.19 +16 -6 src/sys/i386/eisa/eisaconf.c 1.9 +17 -7 src/sys/i386/eisa/eisaconf.h Modified: sys/i386/isa isa.c Log: Change the devconf description from "ISA or EISA bus" to "ISA bus" now that we have eisaconf. Revision Changes Path 1.69 +2 -2 src/sys/i386/isa/isa.c Modified: sys/i386/scsi aic7xxx.c aic7xxx.h Log: Implement SCB paging which allows up to 255 active commands on aic7770 (Rev E or greater), aic7850, aic7860, aic7870, and aic7880 controllers. SCB paging is enabled with the option "AHC_SCBPAGING_ENABLE". Full comments on the algorithm are at the top of i386/scsi/aic7xxx.c. options "AHC_TAGENABLE" and "AHC_QUEUE_FULL" have been removed. The default is 4 tags without SCB paging, 8 with. Clear the SCSIRSTI bit after throwing a bus reset. Some cards seem to get confused otherwise. Handle SCSIRSTI interrupts before checking to see if there is a valid SCB in use since this can happen. (Clears PR# i386/1123) Clean up the way we determine the number of SCBs on the card (courtesy of Dan Eischen). Guard against attempts to negotiate wide to a narrow controller. Fix some comments. Update my copyrights. Revision Changes Path 1.61 +724 -385 src/sys/i386/scsi/aic7xxx.c 1.25 +66 -26 src/sys/i386/scsi/aic7xxx.h Modified: sys/pci aic7870.c Log: Add PCI IDs for the aic7860 (basically an aic7850 Ultra) and the aic7855 (HP motherboard aic7850 controllers). Properly handle 4 bit controller SCSI IDs. Update my copyright. Revision Changes Path 1.29 +42 -10 src/sys/pci/aic7870.c