[haiku-development] Re: Change of kernel args struct size...

  • From: Jessica Hamilton <jessica.l.hamilton@xxxxxxxxx>
  • To: "haiku-development@xxxxxxxxxxxxx" <haiku-development@xxxxxxxxxxxxx>
  • Date: Sun, 11 Sep 2016 22:29:48 +1200

On 11 September 2016 at 22:24, Jessica Hamilton
<jessica.l.hamilton@xxxxxxxxx> wrote:

On 11 September 2016 at 22:16, Jessica Hamilton
<jessica.l.hamilton@xxxxxxxxx> wrote:
Before I merge my branch, (I got derailed by a bug last weekend in our
GPT partitioning code I didn't realise I hadn't tried to fix yet), I
just realised that a change to the kernel args struct will make it
impossible to boot previous builds of Haiku with a new current haiku
loader. This applies to the bios loader as much as it does the uefi
loader, as they unfortunately need to stay in sync.

Or shall I make the effort to version the change? There does seem to
be support in the kernel args struct to support multiple versions,
although currently not used in practice.

Hmm, if I were to do this, then shouldn't we remove the size check for
the kernel args struct? Given that the size of the kernel args struct
is platform dependent, I don't know how else we'd handle the size
check. Thoughts?

Oops, for reference, here is the current commit:
  
https://github.com/jessicah/haiku-private/commit/afbae9a8b4130d1b1f5756c396603e3b05a34fe7

Other related posts: