Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2008 21:39:19 +0200 (CEST)
From:      Oliver Fromme <olli@lurza.secnetix.de>
To:        freebsd-hackers@FreeBSD.ORG, jgordeev@dir.bg
Subject:   Re: Boot loader + malloc
Message-ID:  <200808211939.m7LJdJhp017576@lurza.secnetix.de>
In-Reply-To: <48ADA3D1.30802@dir.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Jordan Gordeev wrote:
 > At present the amd64 kernel is loaded just above the first megabyte
 > of physical memory.

Yes, I know, and the standard i386 kernel is loaded at 4 MB,
and the PAE kernel is loaded at 2 MB.  It doesn't matter 
much, though.

 > I have no idea if the loader uses malloc()/free() after the kernel
 > is loaded though.

Yes, it does.  By default the loader loads the kernel first,
then fires up the "beastie" menu which causes quite some
malloc() activity.  FICL uses malloc() internally for
various things.

Best regards
   Oliver

-- 
Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing b. M.
Handelsregister: Registergericht Muenchen, HRA 74606,  Geschäftsfuehrung:
secnetix Verwaltungsgesellsch. mbH, Handelsregister: Registergericht Mün-
chen, HRB 125758,  Geschäftsführer: Maik Bachmann, Olaf Erb, Ralf Gebhart

FreeBSD-Dienstleistungen, -Produkte und mehr:  http://www.secnetix.de/bsd

"When your hammer is C++, everything begins to look like a thumb."
        -- Steve Haflich, in comp.lang.c++



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808211939.m7LJdJhp017576>