~ubuntu-branches/ubuntu/trusty/libsdl2/trusty

« back to all changes in this revision

Viewing changes to src/atomic/SDL_atomic.c

  • Committer: Package Import Robot
  • Author(s): Manuel A. Fernandez Montecelo
  • Date: 2013-08-12 20:45:31 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130812204531-ohq46dgh5s6fp7pi
Tags: 2.0.0+dfsg1-1
* New upstream release
* Filter upstream tarball from binaries and unneeded cruft
  - Remove from debian/copyright files that are now filtered out when creating
    the orig.tar
* Add build-dependency on libdbus-1-dev, to use D-Bus
* Switch to @debian.org address
* Bring the man page of sdl-config up to date

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
    return retval;
102
102
}
103
103
 
 
104
#if defined(__GNUC__) && defined(__arm__) && \
 
105
   (defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6J__) || defined(__ARM_ARCH_6K__) || defined(__ARM_ARCH_6T2__) || defined(__ARM_ARCH_6Z__) || defined(__ARM_ARCH_6ZK__))
 
106
__asm__(
 
107
"   .align 2\n"
 
108
"   .globl _SDL_MemoryBarrierRelease\n"
 
109
"   .globl _SDL_MemoryBarrierAcquire\n"
 
110
"_SDL_MemoryBarrierRelease:\n"
 
111
"_SDL_MemoryBarrierAcquire:\n"
 
112
"   mov r0, #0\n"
 
113
"   mcr p15, 0, r0, c7, c10, 5\n"
 
114
"   bx lr\n"
 
115
);
 
116
#endif /* __GNUC__ && __arm__ && ARMV6 */
 
117
 
104
118
/* vi: set ts=4 sw=4 expandtab: */