From 5f18e1fff21b8f4cee51fa1df4695ca4ee676334 Mon Sep 17 00:00:00 2001 From: Stephen Hines Date: Tue, 3 Dec 2013 01:05:57 -0800 Subject: 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 --- scriptc/rs_atomic.rsh | 69 --------------------------------------------------- 1 file changed, 69 deletions(-) (limited to 'scriptc/rs_atomic.rsh') 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,27 +89,7 @@ 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 - * - * @param addr Address of value to modify - * @param value Amount to xor with the value at addr - * - * @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 * -- cgit v1.2.3