lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: memory_start doesn't exist (x86, init/main.c)
On Tue, 7 Dec 1999, Tom Zerucha wrote:

> In main/init.c around line 487, there is a comparison initrd_start <
> memory_start. memory_start doesn't seem to exist anywhere in iX86
> land. I have initrd enabled, so I can't compile 2.3.30.
>
> I grepped for this variable, but can't find anything in the x86
> architectures that sound right, but found hits in other architectures.
>

Line 351 of linux/init/main.c

static unsigned long memory_start = 0;
static unsigned long memory_end = 0;

Shows them as static in version 2.3.13
setup_arch(....), line 1125, initializes them. So you look for
setup_arch() in linux/arch/i386/kernel/setup.c (line 241).

Cheers,
Dick Johnson

Penguin : Linux version 2.3.13 on an i686 machine (400.59 BogoMips).
Warning : It's hard to remain at the trailing edge of technology.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.021 / U:1.372 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site