<feed xmlns='http://www.w3.org/2005/Atom'>
<title>pdbg/ccan, branch 04-16-2019</title>
<subtitle>OpenPOWER processor debug utility sources</subtitle>
<id>https://git.raptorcs.com/git/pdbg/atom?h=04-16-2019</id>
<link rel='self' href='https://git.raptorcs.com/git/pdbg/atom?h=04-16-2019'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/'/>
<updated>2018-06-25T05:57:55+00:00</updated>
<entry>
<title>ccan/cppmaigc: Add CPPMAGIC_MAP_CNT(...) macro</title>
<updated>2018-06-25T05:57:55+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2018-06-20T05:34:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=5dcbfeedc091fead3a6ef21af3000d4e256c3355'/>
<id>urn:sha1:5dcbfeedc091fead3a6ef21af3000d4e256c3355</id>
<content type='text'>
It can be useful to have a count to keep track of which argument number in the
list is being expanded.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>ccan/cppmagic: Add CPPMAGIC_INC(x) macro</title>
<updated>2018-06-25T05:57:55+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2018-06-20T05:34:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=0b9decd0831bfad3cec0b79e776edc23b7c220ce'/>
<id>urn:sha1:0b9decd0831bfad3cec0b79e776edc23b7c220ce</id>
<content type='text'>
The original ccan module does not include a macro to increment numbers. Add one
which will increment upto 32 which is enough for our usage.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>ccan/cppmagic: Fix NONEMPTY macro</title>
<updated>2018-06-25T05:57:55+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2018-06-20T05:34:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=46e912aace2ef46734e9626f1627f70063130492'/>
<id>urn:sha1:46e912aace2ef46734e9626f1627f70063130492</id>
<content type='text'>
The original implementation of non-empty will fail to compile if passed an
argument of the form 'CPPMAGIC_NONEMPTY((...))'. Add a check for parentheses and
return true if passed.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>ccan: Add cppmagic</title>
<updated>2018-06-25T05:57:55+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2018-06-20T05:34:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=4accccb16827eb30442a6a5f7b620037d61e6b56'/>
<id>urn:sha1:4accccb16827eb30442a6a5f7b620037d61e6b56</id>
<content type='text'>
A couple of arguably useful C preprocessor abuses. License is BSD-MIT.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>device: remove use of ccan's endian</title>
<updated>2017-09-22T02:16:19+00:00</updated>
<author>
<name>Joel Stanley</name>
<email>joel@jms.id.au</email>
</author>
<published>2017-09-20T07:26:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=77158819158d1d7053a737ac090d04fdfbfe9265'/>
<id>urn:sha1:77158819158d1d7053a737ac090d04fdfbfe9265</id>
<content type='text'>
When cross compiling with uclibc under buildroot, we get the following
clash:

  ./ccan/endian/endian.h:84:24: error: redefinition of ‘__bswap_32’
   static inline uint32_t bswap_32(uint32_t val)
                          ^
  In file included from usr/include/bits/byteswap.h:1:0,
                   from usr/include/byteswap.h:22,
                   from usr/include/endian.h:59,
                   from usr/include/bits/pthreadtypes.h:21,
                   from usr/include/bits/uClibc_stdio.h:92,
                   from usr/include/stdio.h:71,
                   from libpdbg/device.c:18:
  usr/include/bits/byteswap-common.h:44:1: note: previous definition of ‘__bswap_32’ was here
   __bswap_32 (unsigned int __bsx)
   ^~~~~~~~~~

Work around it by not using ccan's endian. There's only one call site, and we
can use a libc function instead.

Signed-off-by: Joel Stanley &lt;joel@jms.id.au&gt;
Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>Clean-up target configuration in preparation for adding P9 support</title>
<updated>2017-03-30T04:37:41+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2016-12-19T10:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=f045f14437ef63e10f57580978dc9ca3e0256007'/>
<id>urn:sha1:f045f14437ef63e10f57580978dc9ca3e0256007</id>
<content type='text'>
The previous implementation of targeting was hardcoded, cumbersome
and difficult to reconfigure for different chip types. This moves to a
method of configuring targets using device-tree which is much easier
to maintain and allows methods to be added to support operations like
getmem on POWER9.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>Add support for i2c access to secondary processors</title>
<updated>2016-10-25T02:32:35+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2016-09-16T06:45:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=749351433237295a86afcf451b947bc6621b946f'/>
<id>urn:sha1:749351433237295a86afcf451b947bc6621b946f</id>
<content type='text'>
This includes better support for selecting targets, probing thread
status and a number of other minor bugfixes. Also adds an option to
print version numbers.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
<entry>
<title>Initial release of pdbg</title>
<updated>2016-01-11T07:51:07+00:00</updated>
<author>
<name>Alistair Popple</name>
<email>alistair@popple.id.au</email>
</author>
<published>2016-01-07T05:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/pdbg/commit/?id=4c3473a4785336103cc47de95fddbbba12b12e7a'/>
<id>urn:sha1:4c3473a4785336103cc47de95fddbbba12b12e7a</id>
<content type='text'>
pdbg is a tool to access P8 host registers and memory from the BMC for
kernel and firmware debugging purposes.

Signed-off-by: Alistair Popple &lt;alistair@popple.id.au&gt;
</content>
</entry>
</feed>
