Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Sep 2011 08:09:06 -0400
From:      Andrew Duane <aduane@juniper.net>
To:        Peter Wemm <peter@wemm.org>, Peter Grehan <grehan@freebsd.org>
Cc:        "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   RE: Soliciting opinions on an extension of the bootinfo structure
Message-ID:  <AC6674AB7BC78549BB231821ABF7A9AEB748D6C093@EMBX01-WF.jnpr.net>
In-Reply-To: <CAGE5yCr1x2NB1pHYg6qPQPxFvWYA8bMus3gqM3nYkPCVbEpv8w@mail.gmail.com>
References:  <AC6674AB7BC78549BB231821ABF7A9AEB748F9A329@EMBX01-WF.jnpr.net> <4E6940D3.4070801@freebsd.org> <CAGE5yCr1x2NB1pHYg6qPQPxFvWYA8bMus3gqM3nYkPCVbEpv8w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

That's correct. This is actually part of a larger effort to open up the MIPS code to a range of new bootstraps. Some bootstraps use the bootinfo facility extensively. It's an easy way to pass some simple information to the kernel without the clutter of metadata and other such things.

 ...................................
Andrew Duane
Juniper Networks
o   +1 978 589 0551
m  +1 603-770-7088
aduane@juniper.net

 

-----Original Message-----
From: Peter Wemm [mailto:peter@wemm.org] 
Sent: Thursday, September 08, 2011 6:48 PM
To: Peter Grehan
Cc: Andrew Duane; freebsd-hackers@freebsd.org; freebsd-arch@freebsd.org
Subject: Re: Soliciting opinions on an extension of the bootinfo structure

On Thu, Sep 8, 2011 at 3:25 PM, Peter Grehan <grehan@freebsd.org> wrote:
>> I'm proposing an extension framework for the bootinfo structure used
>> to pass information from the bootstrap/loader to the kernel. Although
>> I'm only proposing this for the MIPS bootinfo, it's completely
>> applicable to any of them.
>>
>> What I propose is adding an optional platform extension structure:
>> bootinfo_pext, surrounded by #ifdef BOOTINFO_PEXT
>
>  Any reason not to put the vendor bits into another piece of loader metadata
> ? That seems the extensible way to add additional info from the loader,
> rather than extending bootinfo (as was the case pre-loader days).
>
> later,

It sounds like they're not using loader, which is probably a
reasonable thing for their environment.

-- 
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI6FJV
"All of this is for nothing if we don't go to the stars" - JMS/B5
"If Java had true garbage collection, most programs would delete
themselves upon execution." -- Robert Sewell



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