Re: device drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



If your kernel is compiled with CONFIG_KALLSYMS you can use the kallsyms
utility to list the section names and their start and end addresses, and the
symbol names, their start and end addresses, and the section each symbol
belongs to, of the kernel and each loaded module. Incidently, you can then
use objdump to get a clean dissassembly of the module with addresses that
match the system.

Make sure you've got the latest modutils package loaded for your particular
revision of the kernel.

If this isn't exactly what your looking for, take a look at the source for
kallsyms.

Hope that helps.

Tim

----- Original Message -----
From: "nitin kumbhar" <nkumbhar@rediffmail.com>
To: <kernelnewbies@nl.linux.org>
Sent: Wednesday, January 22, 2003 5:16 AM
Subject: device drivers


> Hi All,
>   I have a small query about device drivers. i want to know
> where
> exactly a particular device driver is present in kernel address
> space(kernel image).
>   If we consider a device driver which is present in the
> kernel(not
> as a kernel module), it (driver's obj file) is linked into kernel
> image at a
> continuous address space. i want to get the _start_ and _end_  of
> this
> address range. How can i get this? Are there any utilities to do
> this?
>
> Thanks & Regards,
> Nitin
>
>
>
>
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
>
>
>

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux