Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1NQLCx-00029H-MV for mharc-grub-devel@gnu.org; Thu, 31 Dec 2009 08:36:55 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQLCw-000291-H1 for grub-devel@gnu.org; Thu, 31 Dec 2009 08:36:54 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQLCs-00028P-3i for grub-devel@gnu.org; Thu, 31 Dec 2009 08:36:54 -0500 Received: from [199.232.76.173] (port=46061 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQLCr-00028M-TZ for grub-devel@gnu.org; Thu, 31 Dec 2009 08:36:49 -0500 Received: from mail-ew0-f224.google.com ([209.85.219.224]:55215) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NQLCr-0000jB-Pl for grub-devel@gnu.org; Thu, 31 Dec 2009 08:36:49 -0500 Received: by ewy24 with SMTP id 24so15074888ewy.26 for ; Thu, 31 Dec 2009 05:36:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:in-reply-to :references:content-type:date:message-id:mime-version:x-mailer; bh=ClwGUgdo11jN19tuyITeC+VmdjyHWSRxE/t0tzdTblo=; b=cYaki/AGfYhjZaypsHd2jwXIJZEK5xcC4cjGIPQIAr4ERZgD5NyPwhp+nF2EJUVS8R xiB5A7JdmqZHOFqRFaZq3lv/fqZjXpWZSE1rSPlTqh76lBe3q55o7HVQ1BnMe8TRuQa+ sy74cqSryn0Smq9h8bxQ+zMgRU8Je/yKP/Bnk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer; b=jJwrmk/o/ZkAqyREqAThYQjO/0eNyCG7bPtCF04bIWXH6u1sZ/JmxSTZGYlovK16JM GG26J0cwB8/mHe3ovUgY4Qi86SDpSTaMaI9dPjEAcHC2ZEAY4sFjOZ+2i6WUwt5UYwrc yYy6npaKrxyPisV7Q4a5uhmiTv7G6t9hywiXE= Received: by 10.216.90.139 with SMTP id e11mr7452956wef.111.1262266606935; Thu, 31 Dec 2009 05:36:46 -0800 (PST) Received: from ?192.168.1.100? (89.141.11.145.dyn.user.ono.com [89.141.11.145]) by mx.google.com with ESMTPS id 28sm36238547eye.5.2009.12.31.05.36.45 (version=SSLv3 cipher=RC4-MD5); Thu, 31 Dec 2009 05:36:45 -0800 (PST) From: Javier =?ISO-8859-1?Q?Mart=EDn?= To: The development of GNU GRUB In-Reply-To: <4B3C9989.3000206@gmail.com> References: <97c3ddb10912310415y5033b4bbu45f68ba9fd519a09@mail.gmail.com> <4B3C9989.3000206@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-rAx38etNuBLueMOP1raA" Date: Thu, 31 Dec 2009 14:36:44 +0100 Message-ID: <1262266604.3133.10.camel@accesodirecto.casa> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: Regarding virtual to physical memory mapping.. X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 13:36:54 -0000 --=-rAx38etNuBLueMOP1raA Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable El jue, 31-12-2009 a las 13:31 +0100, Vladimir '=CF=86-coder/phcoder' Serbinenko escribi=C3=B3: > kiran pawar wrote: > > Also, when I allocated memory using grub_malloc() and printed the > > address returned from the function it was (0x7da6d810). This seems to > > be a 32-bit address. I wanted to know whether I can allocate some > > memory in the region below 1MB? > Only in experimental branch. But we're not currently sure if we will use > this. If you want to make a BIOS call then use memory at > GRUB_SCRATCH_ADDR. If you do something else please explain How come not? Here's how it's done in drivemap, for example handler_base =3D grub_mmap_malign_and_register (16, total_size, &drivemap_mmap, GRUB_MACHINE_MEMORY_RESERVED, GRUB_MMAP_MALLOC_LOW); --=20 -- Lazy, Oblivious, Recurrent Disaster -- Habbit --=-rAx38etNuBLueMOP1raA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Esta parte del mensaje =?ISO-8859-1?Q?est=E1?= firmada digitalmente -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAABAgAGBQJLPKjmAAoJEKSl+Fbdeo72GnUQAKTJBO5uIBH1JV6E5esPQAnI 6Kmq0c1MQRYkN1LhN0GYm0Hf/iq8ZRZ+mTGhopMWd8HgYXSR7g3ZCr+Qmo6c+Zx8 kMM7cbXJ0hpML4j36Cu/IJIvV+p375D3U2ZqFEEp4AUjkQhCu0irvPHhPpSDxx9Q j/5T70pysNiEHOXK1jxuv1uGHU21bYT659nA7BzTjiTY4sugzBgo6nh6gKgDacOz t5ndlqhU4RNxgG7Qmi9k3lXoCDmtBHt+7FhHryQStPHFaVzYAXwAxtVTKU5NO/8m 2eW360SECy+gDhV6ZXSmnZ0VIcFOaMgKStISDKGbrdBYYY917AiAt4VAzCvUqVYa YGhJ+HkvkJ4haliiSaxr+fWEoYXVJIdAD3gd5KT1y82pg9rQPd5tUdtqPXKuC7Jj JmDvfxhbzDDF3Hh8CGg83hBYSIjSkXBAsQapKida5M/az8MKkuNqyT+JLVbDoQzb iinWI+RTKM1y20e+LAqTQsHd1tjhdnunVUI3tvgPkAAkJYbsml3eGUfkWRFso++X A/zmgN6pqpwctXIkCKPy/Pa3dNiCUpnZsRy4lAlmber21Dm9kmm8WztQBdpg6FLU kVGSCzr8XlkN2rPXPHkZ7CobxeCOLwz8ZiuJqN63RoAQKJp4eRtEoVgilmEYq5p6 VuWI2iqIw+/UOutsMLxJ =Nx3r -----END PGP SIGNATURE----- --=-rAx38etNuBLueMOP1raA--