From owner-cvs-all Mon Sep 3 15:55:16 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4142D37B409; Mon, 3 Sep 2001 15:55:12 -0700 (PDT) Received: (from jake@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f83MtCe03921; Mon, 3 Sep 2001 15:55:12 -0700 (PDT) (envelope-from jake) Message-Id: <200109032255.f83MtCe03921@freefall.freebsd.org> From: Jake Burkholder Date: Mon, 3 Sep 2001 15:55:12 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/include pv.h tte.h src/sys/sparc64/sparc64 pmap.c pv.c trap.c tsb.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jake 2001/09/03 15:55:12 PDT Modified files: sys/sparc64/include pv.h tte.h sys/sparc64/sparc64 pmap.c pv.c trap.c tsb.c Log: Implement pv_bit_count which is used by pmap_ts_referenced. Remove the modified tte bit and add a softwrite bit. Mappings are only writeable if they have been written to, thus in general modify just duplicates the write bit. The softwrite bit makes it easier to distinguish mappings which should be writeable but are not yet modified. Move the exec bit down one, it was being sign extended when used as an immediate operand. Use the lock bit to mean tsb page and remove the tsb bit. These are the only form of locked (tsb) entries we support and we need to conserve bits where possible. Implement pmap_copy_page and pmap_is_modified and friends. Detect mappings that are being being upgraded from read-only to read-write due to copy-on-write and update the write bit appropriately. Make trap_mmu_fault do the right thing for protection faults, which is necessary to implement copy on write correctly. Also handle a bunch more userland trap types and add ktr traces. Revision Changes Path 1.3 +2 -1 src/sys/sparc64/include/pv.h 1.3 +6 -8 src/sys/sparc64/include/tte.h 1.11 +96 -50 src/sys/sparc64/sparc64/pmap.c 1.4 +43 -19 src/sys/sparc64/sparc64/pv.c 1.11 +192 -127 src/sys/sparc64/sparc64/trap.c 1.4 +59 -54 src/sys/sparc64/sparc64/tsb.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message