From owner-cvs-sys Mon Aug 25 14:54:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA13383 for cvs-sys-outgoing; Mon, 25 Aug 1997 14:54:11 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA13290; Mon, 25 Aug 1997 14:53:44 -0700 (PDT) From: Bruce Evans Received: (from bde@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id OAA00732; Mon, 25 Aug 1997 14:53:02 -0700 (PDT) Date: Mon, 25 Aug 1997 14:53:02 -0700 (PDT) Message-Id: <199708252153.OAA00732@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/i386 pmap.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 1997/08/25 14:53:02 PDT Modified files: sys/i386/i386 pmap.c Log: Finished (?) support for DISABLE_PSE option. 2-3MB of kernel vm was sometimes wasted. Fixed type mismatches for functions with vm_prot_t's as args. vm_prot_t is u_char, so the prototypes should have used promoteof(u_char) to match the old-style function definitions. They use just vm_prot_t. This depends on gcc features to work. I fixed the definitions since this is easiest. The correct fix may be to change vm_prot_t to u_int, to optimize for time instead of space. Removed a stale comment. Revision Changes Path 1.159 +8 -16 src/sys/i386/i386/pmap.c