Hi Michael, On Tue, Apr 1, 2014 at 9:39 AM, schmitz <schm...@biophys.uni-duesseldorf.de> wrote: >> On Mon, Mar 31, 2014 at 11:24 PM, Michael Schmitz <schmitz...@gmail.com> >> wrote: >>> do we know the size of the first memory chunk early enough in head.S? >>> Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where >>> we know that there's more than 4 MB in the first memchunk ... >> >> "get_bi_record BI_MEMCHUNK" will return a pointer to the first mem_info >> struct. > > Yep, that's as far as I got - if I read bootinfo.h right, this will need to > have an offset of 12 bytes added to get to the size member, correct?
Nope, only 4. A0 points to the bootinfo record payload, which is of type struct mem_info * in this case: movew %a0@(BIR_SIZE),%d0 lea %a0@(BIR_DATA),%a0 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds -- To UNSUBSCRIBE, email to debian-68k-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/camuhmdx4erc4maqaoiyl3d-cyolcembqq_zmclk7luut7hx...@mail.gmail.com