On Wed, Mar 09, 2005 at 16:04:32 +0530, Kotian, Deepak wrote: > Hi, > Stack overflow code, can someone please explain this, it is there in do_IRQ() kernel > function > ********* > __asm__ __volatile__( > "andl %%esp,%0" > : "=r" (esp) : "0" (THREAD_SIZE-1)); > ********* > Also, > Could there be any other simpler way do calculate stack overflow without using > assembly code. If you can access stack pointer from C... (but you can't). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <bulb@xxxxxx>
Attachment:
signature.asc
Description: Digital signature