[OpenBIOS] [PATCH] forth: add more pockets

Stefan Reinauer stepan at coresystems.de
Tue May 19 22:44:16 CEST 2009

On 19.05.2009 22:22 Uhr, Igor Kovalenko wrote:
> This changes pocket index calculation to support more than two pockets.
> As an example default number of pockets is set to 4.
> This should ease nesting more than two levels using pockets as
> temporary storage.
> Signed-off-by: Igor Kovalenko <igor.v.kovalenko at gmail.com>
Very nice! Thank you.

Out of curiosity, did you run into trouble with two pockets? If I
remember correctly, drivers (ie FCode option roms) or code that is
supposed to run on other open firmware implementations, too, should not
assume more than two pockets, but it makes a lot of sense to have enough
of them.


coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/
Registergericht: Amtsgericht Freiburg • HRB 7656
Geschäftsführer: Stefan Reinauer • Ust-IdNr.: DE245674866

More information about the OpenBIOS mailing list