<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/com32/lib/vdprintf.c, branch syslinux-6.02-pre4</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/'/>
<entry>
<title>Only compile dprintf/vdprintf if DEBUG_PORT is defined</title>
<updated>2012-07-19T15:42:32+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2012-07-19T15:42:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a'/>
<id>ff7334a2ce536b7f4b1f6d6f93ff4e285a3bd45a</id>
<content type='text'>
We really, really don't want to accidentally spew output to a debug
port in production, so make it obligatory to define DEBUG_PORT or
DEBUG_STDIO in order for the debugging code to be compiled in.  Since
DEBUG_STDIO just turns the debugging code into stdio references, we
only need to compile the code for the DEBUG_PORT case.

Add a commented-out line to mk/devel.mk to make it easier for users.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: Matt Fleming &lt;matt.fleming@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We really, really don't want to accidentally spew output to a debug
port in production, so make it obligatory to define DEBUG_PORT or
DEBUG_STDIO in order for the debugging code to be compiled in.  Since
DEBUG_STDIO just turns the debugging code into stdio references, we
only need to compile the code for the DEBUG_PORT case.

Add a commented-out line to mk/devel.mk to make it easier for users.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
Cc: Matt Fleming &lt;matt.fleming@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>vdprintf: Remove unused variable</title>
<updated>2012-07-05T06:41:44+00:00</updated>
<author>
<name>Paulo Alcantara</name>
<email>pcacjr@zytor.com</email>
</author>
<published>2012-07-05T06:39:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=3c95b5510024938389547eef80b266f478eb4cde'/>
<id>3c95b5510024938389547eef80b266f478eb4cde</id>
<content type='text'>
This patch removes an unused variable and fixes the following warning:

vdprintf.c: In function ‘vdprintf’:
vdprintf.c:48:13: warning: variable ‘_rv’ set but not used
		  			[-Wunused-but-set-variable]

Signed-off-by: Paulo Alcantara &lt;pcacjr@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This patch removes an unused variable and fixes the following warning:

vdprintf.c: In function ‘vdprintf’:
vdprintf.c:48:13: warning: variable ‘_rv’ set but not used
		  			[-Wunused-but-set-variable]

Signed-off-by: Paulo Alcantara &lt;pcacjr@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: Always include the dprintf implementation in libcom32core.a</title>
<updated>2012-07-02T13:02:35+00:00</updated>
<author>
<name>Matt Fleming</name>
<email>matt.fleming@intel.com</email>
</author>
<published>2012-07-02T13:02:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=5f17528b5ff4e35911794d20759f5a72f0f4f3bd'/>
<id>5f17528b5ff4e35911794d20759f5a72f0f4f3bd</id>
<content type='text'>
Whether or not we compile the com32/ code with DEBUG=1 we need to
provide the dprintf() implementation. This was highlighted by commit
72842b681e7b ("SEG(): make SEG() puke on bad pointers if DEBUG is
defined")

Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Whether or not we compile the com32/ code with DEBUG=1 we need to
provide the dprintf() implementation. This was highlighted by commit
72842b681e7b ("SEG(): make SEG() puke on bad pointers if DEBUG is
defined")

Signed-off-by: Matt Fleming &lt;matt.fleming@intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: add the ability to log to stdio</title>
<updated>2012-05-18T23:03:19+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2011-06-21T04:19:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=df61c3b05b3a42b4202b74c1239576103b153e50'/>
<id>df61c3b05b3a42b4202b74c1239576103b153e50</id>
<content type='text'>
Add the ability to redirect dprintf to stdio when there is no other
choice.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;

Resolved Conflicts:

	com32/lib/dprintf.c
	com32/lib/vdprintf.c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add the ability to redirect dprintf to stdio when there is no other
choice.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;

Resolved Conflicts:

	com32/lib/dprintf.c
	com32/lib/vdprintf.c
</pre>
</div>
</content>
</entry>
<entry>
<title>vdprintf.c: undo double-printing</title>
<updated>2012-05-18T23:01:25+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2012-05-18T23:01:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=c675f30d78e438f68ffe0254b24f5b9ecf5ac399'/>
<id>c675f30d78e438f68ffe0254b24f5b9ecf5ac399</id>
<content type='text'>
Undo double-printing change so we can sync with master.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Undo double-printing change so we can sync with master.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>elflink: make dprintf() usable in the core</title>
<updated>2012-05-18T21:59:15+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2012-05-18T21:59:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=68e8ee381541fa142e3cda2101255be8b376afe4'/>
<id>68e8ee381541fa142e3cda2101255be8b376afe4</id>
<content type='text'>
Make dprintf() usable in the core, as it it on the mainline branch.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make dprintf() usable in the core, as it it on the mainline branch.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: Print to stdout as well as serial ports</title>
<updated>2011-03-08T19:08:40+00:00</updated>
<author>
<name>Matt Fleming</name>
<email>matt.fleming@linux.intel.com</email>
</author>
<published>2011-03-08T13:47:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=b89150e76d231626ee09aba865d8b4cd1ea7b57e'/>
<id>b89150e76d231626ee09aba865d8b4cd1ea7b57e</id>
<content type='text'>
The intention here is to make dprintf the de-facto function for
printing all debugging information. As such, it's useful to print to
the serial ports and stdout so that developers are not required to
hook up a serial port to view output.

Signed-off-by: Matt Fleming &lt;matt.fleming@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The intention here is to make dprintf the de-facto function for
printing all debugging information. As such, it's useful to print to
the serial ports and stdout so that developers are not required to
hook up a serial port to view output.

Signed-off-by: Matt Fleming &lt;matt.fleming@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: allow overriding the serial port address</title>
<updated>2010-07-02T01:02:11+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@linux.intel.com</email>
</author>
<published>2010-07-02T01:02:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=20ea30320a6195b7cba950b8bdbbb8289560a646'/>
<id>20ea30320a6195b7cba950b8bdbbb8289560a646</id>
<content type='text'>
Allow overriding the serial port address, e.g. for systems which only
have PCI serial ports.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allow overriding the serial port address, e.g. for systems which only
have PCI serial ports.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: make usable on hardware</title>
<updated>2010-03-01T02:53:47+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-03-01T02:53:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=9383b42b123bc99c1740ab643ad20a76403abeb0'/>
<id>9383b42b123bc99c1740ab643ad20a76403abeb0</id>
<content type='text'>
Actually configure the serial port used for dprintf, so we can
actually use it on real hardware.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Actually configure the serial port used for dprintf, so we can
actually use it on real hardware.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>dprintf: fix uninitialized pointer; return void</title>
<updated>2009-11-20T00:52:11+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-11-20T00:52:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/syslinux.git/commit/?id=bc06fce990b5bb8559d37eb2d2a7aa8c69ca024b'/>
<id>bc06fce990b5bb8559d37eb2d2a7aa8c69ca024b</id>
<content type='text'>
Fix an uninitialized pointer bug; return void rather than returning
int like normal printfs... if we're depending on the return value of a
debugging function we're screwed when debugging is disabled.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix an uninitialized pointer bug; return void rather than returning
int like normal printfs... if we're depending on the return value of a
debugging function we're screwed when debugging is disabled.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
