summaryrefslogtreecommitdiff
path: root/scriptc
diff options
context:
space:
mode:
authorStephen Hines <srhines@google.com>2013-12-03 01:05:57 -0800
committerStephen Hines <srhines@google.com>2013-12-03 01:16:03 -0800
commit5f18e1fff21b8f4cee51fa1df4695ca4ee676334 (patch)
treecf30817558e79dc69b74595c3d0d563f8526d3ce /scriptc
parent7a01126d25c081f5b613eea80e5ff7e6c75c940f (diff)
downloadrs-5f18e1fff21b8f4cee51fa1df4695ca4ee676334.tar.gz
Remove unimplemented atomic functions from RS header files.
We don't have support for the unsigned variants in these cases, so we should not keep these in the header files. Change-Id: Ia0c75ec5d6a2cbc9fcbffaf3f4f5b9e5a5a7a432
Diffstat (limited to 'scriptc')
-rw-r--r--scriptc/rs_atomic.rsh69
1 files changed, 0 insertions, 69 deletions
diff --git a/scriptc/rs_atomic.rsh b/scriptc/rs_atomic.rsh
index a455edd4..99a7353c 100644
--- a/scriptc/rs_atomic.rsh
+++ b/scriptc/rs_atomic.rsh
@@ -35,16 +35,6 @@
*/
extern int32_t __attribute__((overloadable))
rsAtomicInc(volatile int32_t* addr);
-/**
- * Atomic add one to the value at addr.
- * Equal to rsAtomicAdd(addr, 1)
- *
- * @param addr Address of value to increment
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicInc(volatile uint32_t* addr);
/**
* Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
@@ -55,15 +45,6 @@ extern uint32_t __attribute__((overloadable))
*/
extern int32_t __attribute__((overloadable))
rsAtomicDec(volatile int32_t* addr);
-/**
- * Atomic subtract one from the value at addr. Equal to rsAtomicSub(addr, 1)
- *
- * @param addr Address of value to decrement
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicDec(volatile uint32_t* addr);
/**
* Atomic add a value to the value at addr. addr[0] += value
@@ -75,16 +56,6 @@ extern uint32_t __attribute__((overloadable))
*/
extern int32_t __attribute__((overloadable))
rsAtomicAdd(volatile int32_t* addr, int32_t value);
-/**
- * Atomic add a value to the value at addr. addr[0] += value
- *
- * @param addr Address of value to modify
- * @param value Amount to add to the value at addr
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicAdd(volatile uint32_t* addr, uint32_t value);
/**
* Atomic Subtract a value from the value at addr. addr[0] -= value
@@ -96,16 +67,6 @@ extern uint32_t __attribute__((overloadable))
*/
extern int32_t __attribute__((overloadable))
rsAtomicSub(volatile int32_t* addr, int32_t value);
-/**
- * Atomic Subtract a value from the value at addr. addr[0] -= value
- *
- * @param addr Address of value to modify
- * @param value Amount to subtract from the value at addr
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicSub(volatile uint32_t* addr, uint32_t value);
/**
* Atomic Bitwise and a value from the value at addr. addr[0] &= value
@@ -117,16 +78,6 @@ extern uint32_t __attribute__((overloadable))
*/
extern int32_t __attribute__((overloadable))
rsAtomicAnd(volatile int32_t* addr, int32_t value);
-/**
- * Atomic Bitwise and a value from the value at addr. addr[0] &= value
- *
- * @param addr Address of value to modify
- * @param value Amount to and with the value at addr
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicAnd(volatile uint32_t* addr, uint32_t value);
/**
* Atomic Bitwise or a value from the value at addr. addr[0] |= value
@@ -138,16 +89,6 @@ extern uint32_t __attribute__((overloadable))
*/
extern int32_t __attribute__((overloadable))
rsAtomicOr(volatile int32_t* addr, int32_t value);
-/**
- * Atomic Bitwise or a value from the value at addr. addr[0] |= value
- *
- * @param addr Address of value to modify
- * @param value Amount to or with the value at addr
- *
- * @return old value
- */
-extern uint32_t __attribute__((overloadable))
- rsAtomicOr(volatile uint32_t* addr, uint32_t value);
/**
* Atomic Bitwise xor a value from the value at addr. addr[0] ^= value
@@ -157,16 +98,6 @@ extern uint32_t __attribute__((overloadable))
*
* @return old value
*/
-extern uint32_t __attribute__((overloadable))
- rsAtomicXor(volatile uint32_t* addr, uint32_t value);
-/**
- * Atomic Bitwise xor a value from the value at addr. addr[0] ^= value
- *
- * @param addr Address of value to modify
- * @param value Amount to xor with the value at addr
- *
- * @return old value
- */
extern int32_t __attribute__((overloadable))
rsAtomicXor(volatile int32_t* addr, int32_t value);