Index: kernel/arch/arm32/include/context.h
===================================================================
--- kernel/arch/arm32/include/context.h	(revision 6b781c0c856d94b3114ccd6375bc6667a19e9bfe)
+++ kernel/arch/arm32/include/context.h	(revision dc9162b9185e5bbf68a810f11aed714183f91ffd)
@@ -43,4 +43,11 @@
 #define SP_DELTA  (0 + ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT))
 
+#define context_set(c, _pc, stack, size) \
+	do { \
+		(c)->pc = (uintptr_t) (_pc); \
+		(c)->sp = ((uintptr_t) (stack)) + (size) - SP_DELTA; \
+		(c)->fp = 0; \
+	} while (0)
+
 #ifndef __ASM__
 
@@ -62,5 +69,5 @@
 	uint32_t r9;
 	uint32_t r10;
-	uint32_t r11;
+	uint32_t fp;	/* r11 */
 	
 	ipl_t ipl;
