Hi Arshad,
Printing values for the structures from the debugger is good for
userspace programs, because we all know that running kernel through
gdb is not an easy job for a newbie. Also virtualization softwares
like UML still don't work 100% with gdb so I thought printing values
would be a simple
On 12/31/07, Manish Katiyar <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Do we have any helper functions present in the kernel code to print
> the information about commonly used data structures in the code which
> might help in debugging.
> For example something like :
>
> void print_buffer_head(struct
Hi,
I was looking at the function go_to_protected_mode in arch/i386/boot/pm.c
and at the end it calls protected_mode_jump witch is a function defined in
arch/i386/bootbck/pmjump.S. The function protected_mode_jump has 2 arguments
and according to the code they seems to be in %edx and %eax. I was w
Hi...
>
> No, in the SMP case, lock_kernel() is of course not empty. Have a look
> at include/linux/smp_lock.h. It defines lock_kernel() as empty only if
> CONFIG_LOCK_KERNEL is false (otherwise one of the two non-empty
> implementations of lock_kernel() in lib/kernel_lock.c is used).
Thanks for
Hi dear,
how are you today i hope that every things is ok with you as it is my great
pleassure to contact you in having communication with you, please i wish you
will have the desire with me so that we can get to know each other better and
see what happened in future.
i will be very happy