Re: memory_start doesn't exist (x86, init/main.c)

Richard B. Johnson (root@chaos.analogic.com)
Tue, 7 Dec 1999 11:49:48 -0500 (EST)


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/