Re: Help required in understanding assembly code

2008-01-22 Thread Shreyansh
Hi Thomas and List, Thomas Petazzoni free-electrons.com> writes: > [...] > > I suspect that the argument "struct page *" is passed in %rdi. It first > dereferences it to get the page->flags value (which is at the beginning > of the page structure). Once this value is in %rax, it shifts it right

Re: Help required in understanding assembly code

2008-01-22 Thread Thomas Petazzoni
Hi, Le Tue, 22 Jan 2008 16:15:49 +0530, Shreyansh <[EMAIL PROTECTED]> a écrit : > (This is a x86_64 machine I am working on, running SLES10 SP1) I don't have the source code for that exact kernel version, and several things have changed since then. > 1) What does the instruction "mov 0xff

Help required in understanding assembly code

2008-01-22 Thread Shreyansh
Hi List, While working on a kernel module, I am getting OOPs and was trying to debug it using the crash tool. Can you please help me understanding an disassembled code snippet. A brief about the situation: (This is a x86_64 machine I am working on, running SLES10 SP1) Following is the code where