From owner-freebsd-arch Tue Mar 12 16:19: 5 2002 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id D482937B41A; Tue, 12 Mar 2002 16:19:02 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 2635C5347; Wed, 13 Mar 2002 01:19:01 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Nik Clayton Cc: arch@freebsd.org, peter@freebsd.org, jake@freebsd.org Subject: Re: dumpsys() rewrite References: <20020312224707.I56358@canyon.nothing-going-on.org> From: Dag-Erling Smorgrav Date: 13 Mar 2002 01:19:00 +0100 In-Reply-To: Message-ID: Lines: 25 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav writes: > Yep, that's what "END\n" is for, or didn't you catch that? To follow up on this, I'm not sure if my initial mail was clear - the beginning of the dump will actually look like this: DUMPINFO dumpinfo_size=0x1000 page_size=0x1000 dev_bsize=0x200 dumplo=0x6c0020 kernbase=0xc0000000 MAPPINGS 0x0 0x27ffc END then zeroes (or garbage) all the way to the actual dump, which begins at offset (dumplo * dev_bsize + dumpinfo_size). In other words, the chunk list is *part* of the DUMPINFO block. I might actually remove "MAPPINGS\n" altogether and just prefix every chunk line with @ or something. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message