NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/55958: pciback.hide parsing error



On Tue, Jan 26, 2021 at 09:55:08PM +0100, Manuel Bouyer wrote:
> > diff --git a/sys/arch/x86/include/bootinfo.h b/sys/arch/x86/include/bootinfo.h
> > index 9d0ee542d892..6b3d967e1a7e 100644
> > --- a/sys/arch/x86/include/bootinfo.h
> > +++ b/sys/arch/x86/include/bootinfo.h
> > @@ -178,7 +178,7 @@ struct btinfo_biosgeom {
> >  };
> > 
> >  struct bi_modulelist_entry {
> > -       char path[80];
> > +       char path[256];
> >         int type;
> >         int len;
> >         uint32_t base;
> > 
> > ---8<---
> 
> i'm not sure we can do this without a compatibility issue ...

I think we could define and provide both structures from a new
bootloader by e.g. renaming BTINFO_MODULELIST to
BTINFO_COMPAT_MODULELIST and giving BTINFO_MODULELIST a new value.

Martin


Home | Main Index | Thread Index | Old Index