I also have a questions about struct pt_regs, how to get pt_regs in my module,Does kernel provide a API to get that? 2008/12/8 Stephane Lambert <[EMAIL PROTECTED]>
> Hello all > I have a question concerning context switch : > When and how does the content of 'regs' (struct pt_regs) is restored > during context switch? > (especially fn, arg, and kernel_thread_helper() address, set in > kernel_thread() in order to call fn(arg)). > > Thanks in advance for your responses. > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to [EMAIL PROTECTED] > Please read the FAQ at http://kernelnewbies.org/FAQ > >
