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

  • From: "Alexander von Gluck IV" <kallisti5@xxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 15 Sep 2016 22:56:17 +0000

September 15 2016 2:32 AM, "Jessica Hamilton" <jessica.l.hamilton@xxxxxxxxx> 
wrote:

On 12 September 2016 at 04:42, Axel Dörfler <axeld@xxxxxxxxxxxxxxxx> wrote:

Am 11/09/2016 um 12:24 schrieb Jessica Hamilton:
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?

We'd need size definitions per platform and version. Some kind of check
would definitely be appropriate, though :-)
In any case, I don't think we need to start versioning now, but if you feel
like it, why not -- it's worth the try to learn before a release is made.

I'm almost there... I just don't know how to integrate this last part
into the build system/jam...

A gist of all the changes thus far, as well as the script that should
generate the needed data:
https://gist.github.com/jessicah/cfa8b05617e6c496eef6e213ccb66a63

Some help here would be very much appreciated! Then I can get onto
merging my UEFI branch, finally... >_>

Looks good to me.

As for the  generate_kernel_arg_sizes.sh, it likely should be:
http://cgit.haiku-os.org/haiku/tree/build/scripts/generate_kernel_arg_sizes

Unfortunately running these scripts requires a rule + action in Jam.

A good example of running a script from this dir is for the repository
config here:

http://cgit.haiku-os.org/haiku/tree/build/jam/RepositoryRules#n246


 -- Alex

Other related posts: