<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/lib/tlsf, branch duke3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>Revert "tlsf: pack info structs"</title>
<updated>2017-10-29T20:51:33+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-10-29T20:50:14+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=2423d3d4ae1e7093b65e0c56e50ec705e34327b6'/>
<id>2423d3d4ae1e7093b65e0c56e50ec705e34327b6</id>
<content type='text'>
This reverts commit 8a6d7cefc9bf45b979ff064d87141949e9b81ca4.

Packing the structs was mostly a precautionary measure, tlsf should
still work without it.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 8a6d7cefc9bf45b979ff064d87141949e9b81ca4.

Packing the structs was mostly a precautionary measure, tlsf should
still work without it.
</pre>
</div>
</content>
</entry>
<entry>
<title>tlsf: remove memset() call in add_new_area()</title>
<updated>2017-10-29T16:49:39+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-10-29T16:46:40+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=60e5cd72766ace0d35f2cf7a3d4798d8c2e848bd'/>
<id>60e5cd72766ace0d35f2cf7a3d4798d8c2e848bd</id>
<content type='text'>
This call was not needed in the first place, but was causing crashes in
sgt-puzzles. Removing it fixes the crashes.

Change-Id: I1149d5600e1c97e0e848fdd34bf65d54c930adab
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This call was not needed in the first place, but was causing crashes in
sgt-puzzles. Removing it fixes the crashes.

Change-Id: I1149d5600e1c97e0e848fdd34bf65d54c930adab
</pre>
</div>
</content>
</entry>
<entry>
<title>tlsf: pack info structs</title>
<updated>2017-10-29T16:49:39+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>git@fwei.tk</email>
</author>
<published>2017-10-29T16:44:20+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8a6d7cefc9bf45b979ff064d87141949e9b81ca4'/>
<id>8a6d7cefc9bf45b979ff064d87141949e9b81ca4</id>
<content type='text'>
This should make it build cleanly under -Wcast-align, which should
hopefully avoid any alignment issues on ARM.

Change-Id: Ie147323d2d8cb980dcbb94710387b7ee80826c4d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should make it build cleanly under -Wcast-align, which should
hopefully avoid any alignment issues on ARM.

Change-Id: Ie147323d2d8cb980dcbb94710387b7ee80826c4d
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix dangerous casts</title>
<updated>2017-02-04T16:24:47+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-15T23:10:38+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=d7871914acd2ed77f43344e36e08944524a67d9e'/>
<id>d7871914acd2ed77f43344e36e08944524a67d9e</id>
<content type='text'>
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h

Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
On Windows 64-bit, the size of long is 32-bit, thus any pointer to long cast is
not valid. In any case, one should use intptr_t and ptrdiff_t when casting
to integers. This commit attempts to fix all instances reported by GCC.
When relevant, I replaced code by the macros PTR_ADD, ALIGN_UP from system.h

Change-Id: I2273b0e8465d3c4689824717ed5afa5ed238a2dc
</pre>
</div>
</content>
</entry>
<entry>
<title>lua: Switch memory allocator from dl to tlsf</title>
<updated>2013-08-26T07:42:47+00:00</updated>
<author>
<name>Marcin Bukat</name>
<email>marcin.bukat@gmail.com</email>
</author>
<published>2013-08-22T10:12:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a2a2e14e0d400e1c82b4d02c4399602488578dc6'/>
<id>a2a2e14e0d400e1c82b4d02c4399602488578dc6</id>
<content type='text'>
Instead of providing yet another memory allocator implementation
use tlsf and simply link tlsf library.

Another small improvement is to *grow* memory pool by grabbing
audiobuffer instead of just switching to use audiobuf exclusively.
Tested with simple lua 'memory eater' script.

This patch extends tlsf lib slightly. You can provide
void *get_new_area(size_t * size) function which will override
weak dummy implementation provided in lib itself. This allows to
automaticaly initialize memory pool as well as grow memory
pool if needed (for example grab audiobuffer when pluginbuffer
is exhaused).

Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of providing yet another memory allocator implementation
use tlsf and simply link tlsf library.

Another small improvement is to *grow* memory pool by grabbing
audiobuffer instead of just switching to use audiobuf exclusively.
Tested with simple lua 'memory eater' script.

This patch extends tlsf lib slightly. You can provide
void *get_new_area(size_t * size) function which will override
weak dummy implementation provided in lib itself. This allows to
automaticaly initialize memory pool as well as grow memory
pool if needed (for example grab audiobuffer when pluginbuffer
is exhaused).

Change-Id: I841af6b6b5bbbf546c14cbf139a7723fbb982f1b
</pre>
</div>
</content>
</entry>
<entry>
<title>Build libtlsf for all systems</title>
<updated>2013-02-23T20:11:10+00:00</updated>
<author>
<name>Frank Gevaerts</name>
<email>frank@gevaerts.be</email>
</author>
<published>2013-02-23T20:11:10+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=36a99906e1641913970ab14fdebc2d95782012ac'/>
<id>36a99906e1641913970ab14fdebc2d95782012ac</id>
<content type='text'>
libtlsf used not to be built for HWCODEC, but now that the gif
viewer uses libtlsf instead of building its own copy, libtlsf
is needed everywhere.

Change-Id: I730719c6a20e749adb8597056d2049b7758620e4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libtlsf used not to be built for HWCODEC, but now that the gif
viewer uses libtlsf instead of building its own copy, libtlsf
is needed everywhere.

Change-Id: I730719c6a20e749adb8597056d2049b7758620e4
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate the EXTRA_LIBS variable.</title>
<updated>2013-01-24T15:06:45+00:00</updated>
<author>
<name>Björn Stenberg</name>
<email>bjorn@haxx.se</email>
</author>
<published>2013-01-24T15:01:28+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1501df045f75b1ee607b49ce2f970c762a2538a4'/>
<id>1501df045f75b1ee607b49ce2f970c762a2538a4</id>
<content type='text'>
Instead specify explicit library dependencies for codecs and plugins.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead specify explicit library dependencies for codecs and plugins.
</pre>
</div>
</content>
</entry>
<entry>
<title>tlsf: move to /lib (it's also used by plugins).</title>
<updated>2012-03-28T21:02:39+00:00</updated>
<author>
<name>Thomas Martitz</name>
<email>kugel@rockbox.org</email>
</author>
<published>2012-03-27T14:27:02+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=c56950ea3a9e0244461ce445f25bd7a80c8f7199'/>
<id>c56950ea3a9e0244461ce445f25bd7a80c8f7199</id>
<content type='text'>
Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I5e37b28c1ce4608d60b036343f280af3311ad490
</pre>
</div>
</content>
</entry>
</feed>
