From owner-freebsd-arch@FreeBSD.ORG Wed Jul 21 20:03:50 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EC5ED16A4CE for ; Wed, 21 Jul 2004 20:03:50 +0000 (GMT) Received: from storm.FreeBSD.org.uk (storm.FreeBSD.org.uk [194.242.157.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70CD243D49 for ; Wed, 21 Jul 2004 20:03:50 +0000 (GMT) (envelope-from mark@grondar.org) Received: from storm.FreeBSD.org.uk (Ugrondar@localhost [127.0.0.1]) by storm.FreeBSD.org.uk (8.12.11/8.12.11) with ESMTP id i6LK3mB4060419 for ; Wed, 21 Jul 2004 21:03:49 +0100 (BST) (envelope-from mark@grondar.org) Received: (from Ugrondar@localhost)i6LK3m3E060418 for arch@freebsd.org; Wed, 21 Jul 2004 21:03:48 +0100 (BST) (envelope-from mark@grondar.org) X-Authentication-Warning: storm.FreeBSD.org.uk: Ugrondar set sender to mark@grondar.org using -f Received: from grondar.org (localhost [127.0.0.1])i6LJquJ3010111 for ; Wed, 21 Jul 2004 20:52:56 +0100 (BST) (envelope-from mark@grondar.org) Message-Id: <200407211952.i6LJquJ3010111@grimreaper.grondar.org> To: arch@freebsd.org From: Mark Murray Date: Wed, 21 Jul 2004 20:52:55 +0100 Sender: mark@grondar.org Subject: [PATCH] Big cleanup job on memory device X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 20:03:51 -0000 Hey all Please have a look at http://people.freebsd.org/~markm/mem.diff It is a big cleanup of sys/${ARCH}/${ARCH}/mem.c, and it turns multiple copies of MD code into MI code with the MD bits broken out. Lots of garbage is retired. It also turns the memory and io devices into loadable modules, but going this route is probably for the braver folks amongst us. I wrote 99% of this code more than a year ago, and over time, its been tested on i386, alpha and sparc64. M -- Mark Murray iumop ap!sdn w,I idlaH