[OpenBIOS] Defining ." and "

Parag Patel parag at codegen.com
Fri Jun 7 23:19:40 CEST 2002


In message <3D0188D6.5999ED4B at chello.nl>, Segher Boessenkool writes:
>
>1) garbage collect.  ouch.
>2) in dictionary or similar --> never freed
>3) in "string buffers" -- either 1 or 2, but both problems
>less severe.

3.5) A fixed number of static fixed-length buffers that are treated as a
ring of least-recently-used buffers.  The Open Firmware spec requires at
least two.  We typically use two buffers for " and another two for s"
just to make sure that they don't step on each other.

The idea is that since only two are required by the spec, all
development code should be able to run with at least two, and thus
increasing the number later or for a specific port won't cause
portability problems (as going the other way would).


	-- Parag
-
To unsubscribe: send mail to majordomo at freiburg.linux.de
with 'unsubscribe openbios' in the body of the message
http://www.freiburg.linux.de/OpenBIOS/ - free your system..



More information about the openbios mailing list