You can either have var_write_hex_ functions, or make the section struct more complex by adding an extra fmt string.
On Wed, Nov 25, 2015 at 10:26 AM, Kevin Klues <[email protected]> wrote: > On Wed, Nov 25, 2015 at 10:25 AM, Kevin Klues <[email protected]> wrote: > >> Hence this proposal: > >> static Dirtab mystuff[] __vartab = { > >> {"boot", {(uint64_t)&boot, 0, 0}, 0, 0555, "%x",}, > >> }; > > > > I don't see how this let's you split the declaration of variables > > across files (as Davide's Macros does). It looks to me like you would > > have to edit the table in a single file for any variables you wanted > > to include in it. > > Though I do like the ability to specify a format string via something like > "%x" > > -- > You received this message because you are subscribed to the Google Groups > "Akaros" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Akaros" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. For more options, visit https://groups.google.com/d/optout.
