[SeaBIOS] Re: [PATCH 7/9] acpi: add dsdt parser

2020-04-08 Thread Kevin O'Connor
On Wed, Apr 08, 2020 at 02:39:39PM +0200, Gerd Hoffmann wrote: > > > +again: > > > +switch (ptr[offset]) { > > > +case 0: /* null name */ > > > +offset++; > > > +*(dst++) = 0; > > > +break; > [ ... ] > > > +case '^': > > > +*(dst++) = '^'; > > > +

[SeaBIOS] Re: [PATCH 7/9] acpi: add dsdt parser

2020-04-08 Thread Gerd Hoffmann
Hi, > > +/ > > + * DSDT parser > > + / > > I think this code is sufficiently large to demand it's own C file - > for example src/fw/dsdt_parser.c . Done. > >

[SeaBIOS] Re: [PATCH 7/9] acpi: add dsdt parser

2020-04-06 Thread Kevin O'Connor
On Fri, Apr 03, 2020 at 10:31:19AM +0200, Gerd Hoffmann wrote: > Create a list of devices found in the DSDT table. Add helper functions > to find devices, walk the list and figure device informations like mmio > ranges and irqs. > > Signed-off-by: Gerd Hoffmann > --- > src/util.h |