Skip site navigation (1)Skip section navigation (2)
Date:      13 Mar 2002 01:19:00 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Nik Clayton <nik@freebsd.org>
Cc:        arch@freebsd.org, peter@freebsd.org, jake@freebsd.org
Subject:   Re: dumpsys() rewrite
Message-ID:  <xzpd6y9s4jv.fsf@flood.ping.uio.no>
In-Reply-To: <xzppu29s83a.fsf@flood.ping.uio.no>
References:  <xzp3cz5v7rp.fsf@flood.ping.uio.no> <20020312224707.I56358@canyon.nothing-going-on.org> <xzppu29s83a.fsf@flood.ping.uio.no>

next in thread | previous in thread | raw e-mail | index | archive | help
Dag-Erling Smorgrav <des@ofug.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xzpd6y9s4jv.fsf>