aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes.txt
blob: 51bb746fdbcf60db95ec28f19680e8975657531a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
recipes-bsp          - Anything with links to specific hardware or hardware configuration information
recipes-connectivity - Libraries and applications related to communication with other devices 
recipes-core         - What's needed to build a basic working Linux image including commonly used dependencies
recipes-devtools     - Tools primarily used by the build system (but can also be used on targets)
recipes-extended     - Applications which whilst not essential add features compared to the alternatives in
                       core. May be needed for full tool functionality or LSB compliance.
recipes-gnome        - All things related to the GTK+ application framework
recipes-graphics     - X and other graphically related system libraries  
recipes-kernel       - The kernel and generic applications/libraries with strong kernel dependencies
recipes-multimedia   - Codecs and support utilties for audio, images and video
recipes-qt           - All things related to the QT application framework
recipes-sato         - The Sato demo/reference UI/UX, its associated apps and configuration 
200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */ }
Original patch submitted by jbowler@nslu2-linux.org on 2005-11-17:

db: fix thumb uclibc operation in 4.3.29
  - uclibc thumb builds were using libpthread to implement mutexes, the
  - uclibc version seems to be a stub (at least on thumb).  This commit
  - fixes the ARM/gcc-assembly mutex implementation so that it has thumb
  - support and the resultant db4 works (tested on LE Thumb uclibc)

Upstream-Status: Inappropriate [embedded specific]

Author: jbowler@nslu2-linux.org

Index: db-6.0.30/src/dbinc/mutex_int.h
===================================================================
--- db-6.0.30.orig/src/dbinc/mutex_int.h
+++ db-6.0.30/src/dbinc/mutex_int.h
@@ -474,6 +474,25 @@ typedef unsigned char tsl_t;
 
 #ifdef LOAD_ACTUAL_MUTEX_CODE
 /* gcc/arm: 0 is clear, 1 is set. */
+#if defined __thumb__
+#define	MUTEX_SET(tsl) ({						\
+	int __r, __p;							\
+	__asm__ volatile(						\
+		".align 2\n\t"                                          \
+		"bx     pc\n\t"                                         \
+		"nop\n\t"                                               \
+		".arm\n\t"                                              \
+		"swpb   %0, %2, [%3]\n\t"                               \
+		"eor    %0, %0, #1\n\t"                                 \
+		"orr    %1, pc, #1\n\t"                                 \
+		"bx     %1\n\t"                                         \
+		".force_thumb"                                          \
+	    : "=&r" (__r), "=r" (__p)                                   \
+	    : "r" (1), "r" (tsl)                                        \
+	    );                                                          \
+	__r & 1;							\
+})
+#else
 #define	MUTEX_SET(tsl) ({						\
 	int __r;							\
 	__asm__ volatile(						\
@@ -484,6 +503,7 @@ typedef unsigned char tsl_t;
 	    );								\
 	__r & 1;							\
 })
+#endif
 
 #define	MUTEX_UNSET(tsl)	(*(volatile tsl_t *)(tsl) = 0)
 #define	MUTEX_INIT(tsl)         (MUTEX_UNSET(tsl), 0)