|
@@ -100,6 +100,11 @@ struct thread_info {
|
|
#define init_thread_info (init_thread_union.thread_info)
|
|
#define init_thread_info (init_thread_union.thread_info)
|
|
#define init_stack (init_thread_union.stack)
|
|
#define init_stack (init_thread_union.stack)
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * how to get the current stack pointer in C
|
|
|
|
+ */
|
|
|
|
+register unsigned long current_stack_pointer asm ("sp");
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* how to get the thread information struct from C
|
|
* how to get the thread information struct from C
|
|
*/
|
|
*/
|