[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: size of the kernel
From: |
Yoshinori K. Okuji |
Subject: |
Re: size of the kernel |
Date: |
Wed, 23 Jan 2002 02:29:58 +0900 |
User-agent: |
Wanderlust/2.6.0 (Twist And Shout) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (Unebigoryoae) APEL/10.3 Emacs/20.7 (i686-pc-linux-gnu) MULE/4.0 (HANANOEN) |
At Tue, 22 Jan 2002 15:51:43 +0100,
Ingmar Friedrichsen wrote:
> I have a small stupid ask. How can I find out which memory is use by GRUB?
> (and the kernel and the modules) The size and location of the modules is
> in the module_t struct, but were is the size of the kernel?
Normally, you can use the symbol `end' or `_end' which is defined by a
linker implicitly as the end address of a kernel. So `end - start'
gives the size. Read the ELF specification (if you kernel is in ELF
format), for more information.
Okuji
- size of the kernel, Ingmar Friedrichsen, 2002/01/22
- Re: size of the kernel,
Yoshinori K. Okuji <=