Top of stack should contain a struct pt_regs. See asm/ptrace.h.
> lda $8,0x3fff
> bic $30,$8,$8
>
> If someone can expain what happens in the above two assembly statement
> it will be really helpful.
This computes the value for "current". The stack plus task structure
is aligned on a two-page boundary. See task_union in linux/sched.h.
r~
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/