> > > +static int rom_instance;
> > > +
> > 
> > What is this?  Not used anywhere in the patch ...
> 
> This is required on calling getRomPriority().
> Please check below lines in the patch.
> boot_add_bev(FLATPTR_TO_SEG(rom), pnp->bev, pnp->productname,
>                             getRomPriority(sources, rom, rom_instance++));

I think you can just pass "0" instead of using rom_instance.

I suspect you can even drop the getRomPriority call altogether as it
probably isn't going to give any useful results in CSM mode anyway.

cheers,
  Gerd
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org

Reply via email to