From 7be0213030d2ce50e618e72b5a90e4c5b63c59a4 Mon Sep 17 00:00:00 2001 From: Tom Date: Tue, 16 Aug 2011 13:19:29 +0200 Subject: checked in clean osmocombb lib --- Src/osmocombb/src/target/firmware/lib/testsetbit.S | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Src/osmocombb/src/target/firmware/lib/testsetbit.S (limited to 'Src/osmocombb/src/target/firmware/lib/testsetbit.S') diff --git a/Src/osmocombb/src/target/firmware/lib/testsetbit.S b/Src/osmocombb/src/target/firmware/lib/testsetbit.S new file mode 100644 index 0000000..4a8a164 --- /dev/null +++ b/Src/osmocombb/src/target/firmware/lib/testsetbit.S @@ -0,0 +1,18 @@ +/* + * linux/arch/arm/lib/testsetbit.S + * + * Copyright (C) 1995-1996 Russell King + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +#include +#include +#include "bitops.h" + .text + +ENTRY(_test_and_set_bit_be) + eor r0, r0, #0x18 @ big endian byte ordering +ENTRY(_test_and_set_bit_le) + testop orreq, streqb -- cgit v1.2.3-55-g7522