From owner-cvs-all Tue Apr 2 9:28:51 2002 Delivered-To: cvs-all@freebsd.org Received: from kayak.xcllnt.net (209-128-86-226.bayarea.net [209.128.86.226]) by hub.freebsd.org (Postfix) with ESMTP id 3CDFB37B41E; Tue, 2 Apr 2002 09:28:42 -0800 (PST) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by kayak.xcllnt.net (8.11.6/8.11.4) with ESMTP id g32HSZb28772; Tue, 2 Apr 2002 09:28:35 -0800 (PST) (envelope-from marcel@kayak.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2) with ESMTP id g32HSW91000352; Tue, 2 Apr 2002 09:28:32 -0800 (PST) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.2/8.12.2/Submit) id g32HSW7b000351; Tue, 2 Apr 2002 09:28:32 -0800 (PST) Date: Tue, 2 Apr 2002 09:28:32 -0800 From: Marcel Moolenaar To: Jake Burkholder Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/ia64/ia64 ia64dump.c Message-ID: <20020402172832.GA315@dhcp01.pn.xcllnt.net> References: <200204021051.g32ApWJ52283@freefall.freebsd.org> <20020402105640.P207@locore.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020402105640.P207@locore.ca> User-Agent: Mutt/1.3.27i 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 On Tue, Apr 02, 2002 at 10:56:40AM -0500, Jake Burkholder wrote: > Apparently, On Tue, Apr 02, 2002 at 02:51:32AM -0800, > Marcel Moolenaar said words to the effect of; > > > marcel 2002/04/02 02:51:32 PST > > > > Added files: > > sys/ia64/ia64 ia64dump.c > > Log: > > Initial implementation of the ia64 kernel dumper. The dumper > > constructs an ELF image, consisting of the ELF header, for > > each memory region a program header, followed by the memory > > contents for each region. It does blocked I/O for the headers > > as they are typically smaller than DEV_BSIZE. > > This looks cool. Should be easy to use the same format for sparc64 dumps. There's a lot in there that could be shared across architectures. The only thing specific to ia64 is the foreach_region function with its callbacks. Even that could be minimized by MI helper functions. I expect the dumper to be way to verbose ATM. It's probably filling screens of page numbers as it writes. People might get the impression that it is dumping to screen :-) -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message