Re: [Gc] Re: avr32 port patch (from Debian)
ivmai at mail.ru
Sun May 30 08:07:49 PDT 2010
Sun, 30 May 2010 16:26:27 +0200 Stefano Rivera <stefano at rivera.za.net>:
> Hi gc (2010.05.20_22:13:14_+0200)
> > Debian has been carrying a patch porting libgc to avr32 since August
> > 2009 , which as far as I know has never been forwarded to you.
> Whoops, looks like that patch was incomplete .
> Here's an updated version  from the Debian avr32 porter.
I've committed the patch with the following changes:
1. AO_compare_and_swap -> AO_compare_and_swap_full;
2. "unsigned long int" -> "long";
3. cast res (which is of long type) to AO_TS_VAL_t in AO_test_and_set_full;
4. change AO_compare_and_swap_full proto:
AO_TS_VAL_t AO_compare_and_swap_full(volatile AO_TS_t *addr, long int oldval, long int newval)
int AO_compare_and_swap_full(volatile AO_t *addr, AO_t old, AO_t new_val)
> : http://buildd.debian-ports.org/fetch.php?pkg=libatomic-ops&arch=avr32&ver=7.2~alpha5%2Bcvs20100523-1&stamp=1275228178&file=log&as=raw
> : http://files.brad-smith.co.uk/atomic-ops_avr32.h.txt
> Stefano Rivera
> H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127
More information about the Gc