<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openslx-ng/ipxe.git/src/core/settings.c, branch v0.9.9</title>
<subtitle>Fork of ipxe; additional commands and features</subtitle>
<id>https://git.openslx.org/openslx-ng/ipxe.git/atom/src/core/settings.c?h=v0.9.9</id>
<link rel='self' href='https://git.openslx.org/openslx-ng/ipxe.git/atom/src/core/settings.c?h=v0.9.9'/>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/'/>
<updated>2009-06-13T11:04:08+00:00</updated>
<entry>
<title>[settings] Fix setting_cmp() to handle nameless settings</title>
<updated>2009-06-13T11:04:08+00:00</updated>
<author>
<name>Shao Miller</name>
</author>
<published>2009-06-11T19:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=68973f1c491060cbe4c559467dd103866b04129d'/>
<id>urn:sha1:68973f1c491060cbe4c559467dd103866b04129d</id>
<content type='text'>
setting_cmp() compares by option tag and then by name.  Empty names
will always match, which gives us a false positive.

Fix by explicitly checking for empty names.

Modified-by: Michael Brown &lt;mcb30@etherboot.org&gt;
Signed-off-by: Michael Brown &lt;mcb30@etherboot.org&gt;
</content>
</entry>
<entry>
<title>[settings] Allow for arbitrarily-named settings</title>
<updated>2009-05-26T10:05:58+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-05-26T10:05:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=3c06277bbb6ea135e6a1daf22463a347fc7898c7'/>
<id>urn:sha1:3c06277bbb6ea135e6a1daf22463a347fc7898c7</id>
<content type='text'>
This provides a mechanism for using arbitrarily-named variables within
gPXE, using the existing syntax for settings.
</content>
</entry>
<entry>
<title>[settings] Fix erroneous bit-masking in fetch_uintz_setting()</title>
<updated>2009-05-20T07:55:48+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-05-20T07:54:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c5a88ed553c3cb41596b93134f2979dc82937bd8'/>
<id>urn:sha1:c5a88ed553c3cb41596b93134f2979dc82937bd8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[legal] Add a selection of FILE_LICENCE declarations</title>
<updated>2009-05-18T07:33:25+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-05-01T14:41:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=c44a193d0d147ed6f98741124569864e516e9d4b'/>
<id>urn:sha1:c44a193d0d147ed6f98741124569864e516e9d4b</id>
<content type='text'>
Add FILE_LICENCE declarations to almost all files that make up the
various standard builds of gPXE.
</content>
</entry>
<entry>
<title>[settings] Fix broken assertion in fetch_string_setting_copy()</title>
<updated>2009-03-26T09:50:52+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-03-26T09:50:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=5bd32315d032dced96b359760c4d9fa495a0a72d'/>
<id>urn:sha1:5bd32315d032dced96b359760c4d9fa495a0a72d</id>
<content type='text'>
Reported-by: Stefan Hajnoczi &lt;stefanha@gmail.com&gt;
</content>
</entry>
<entry>
<title>[tables] Redefine methods for accessing linker tables</title>
<updated>2009-03-13T02:06:30+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-03-12T19:41:40+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=1266d7902bf7f2534ee279671d48613ef9b2434c'/>
<id>urn:sha1:1266d7902bf7f2534ee279671d48613ef9b2434c</id>
<content type='text'>
Intel's C compiler (icc) chokes on the zero-length arrays that we
currently use as part of the mechanism for accessing linker table
entries.  Abstract away the zero-length arrays, to make a port to icc
easier.

Introduce macros such as for_each_table_entry() to simplify the common
case of iterating over all entries in a linker table.

Represent table names as #defined string constants rather than
unquoted literals; this avoids visual confusion between table names
and C variable or type names, and also allows us to force a
compilation error in the event of incorrect table names.
</content>
</entry>
<entry>
<title>[settings] Allow for autovivification of settings blocks</title>
<updated>2009-03-06T14:40:44+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-03-06T14:40:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=ec24672db720a97305823012033c65f685b41368'/>
<id>urn:sha1:ec24672db720a97305823012033c65f685b41368</id>
<content type='text'>
Allow for settings blocks to be created on demand.  This allows for
constructions such as

  set defaults/filename http://bootserver/bootfile
  set defaults/priority 0xff
  dhcp net0
  chain ${filename}

which will boot from the DHCP-provided filename, or from
"http://bootserver/bootfile" if the DHCP server does not provide a
filename.

(Note that "priority" gets interpreted as a signed integer, so setting
"defaults/priority" to 0xff will cause the "defaults" settings block
to have an effective priority of -1.)
</content>
</entry>
<entry>
<title>[settings] Allow store_setting() to access the root settings block</title>
<updated>2009-02-17T11:57:31+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-02-17T11:57:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=bea828b9ed07a48d273e47c4fa434a1ee477becc'/>
<id>urn:sha1:bea828b9ed07a48d273e47c4fa434a1ee477becc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[settings] Handle errors in fetchf_uristring()</title>
<updated>2009-02-12T09:16:53+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-02-12T09:16:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=4e6b62c94627d1e05aa986f66054df5f841fe53b'/>
<id>urn:sha1:4e6b62c94627d1e05aa986f66054df5f841fe53b</id>
<content type='text'>
fetchf_uristring() was failing to handle error values from
fetch_setting(), resulting in its attempting to allocate extremely
large temporary buffers on the stack (and so overrunning the stack and
locking up the machine).

Problem reported by Shao Miller &lt;Shao.Miller@yrdsb.edu.on.ca&gt;.
</content>
</entry>
<entry>
<title>[settings] Avoid duplicate settings block names</title>
<updated>2009-01-31T07:32:20+00:00</updated>
<author>
<name>Michael Brown</name>
</author>
<published>2009-01-31T07:32:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.openslx.org/openslx-ng/ipxe.git/commit/?id=d2b0081740de9e31fb28f7c6761bbf78835c07d7'/>
<id>urn:sha1:d2b0081740de9e31fb28f7c6761bbf78835c07d7</id>
<content type='text'>
Automatically unregister any settings with the same name (and position
within the settings tree) as a newly registered settings block.

This functionality is generalised out from dhcp.c.
</content>
</entry>
</feed>
