From owner-freebsd-questions  Tue Jul 30  3:46:37 2002
Delivered-To: freebsd-questions@freebsd.org
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 8D8D837B406
	for <freebsd-questions@freebsd.org>; Tue, 30 Jul 2002 03:46:24 -0700 (PDT)
Received: from ash.drims.net (dom15-209.menta.net [62.57.118.209])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5BA2043E3B
	for <freebsd-questions@freebsd.org>; Tue, 30 Jul 2002 03:46:23 -0700 (PDT)
	(envelope-from hal@telefonica.net)
Received: from amavis by ash.drims.net with scanned-ok (Exim 3.35 #1 (Debian))
	id 17ZUW7-0000K6-00
	for <freebsd-questions@freebsd.org>; Tue, 30 Jul 2002 12:46:15 +0200
Received: from [127.0.0.1] (helo=bordegas)
	by ash.drims.net with smtp (Exim 3.35 #1 (Debian))
	id 17ZUVi-0000Jq-00
	for <freebsd-questions@freebsd.org>; Tue, 30 Jul 2002 12:46:02 +0200
Message-Id: <E17ZUVi-0000Jq-00@ash.drims.net>
From: hal@telefonica.net
Date: Tue, 30 Jul 2002 12:46:02 +0200
X-Virus-Scanned: by AMaViS perl-11
To: undisclosed-recipients: ;
Sender: owner-freebsd-questions@FreeBSD.ORG
Precedence: bulk
List-ID: <freebsd-questions.FreeBSD.ORG>
List-Archive: <http://docs.freebsd.org/mail/> (Web Archive)
List-Help: <mailto:majordomo@FreeBSD.ORG?subject=help> (List Instructions)
List-Subscribe: <mailto:majordomo@FreeBSD.ORG?subject=subscribe%20freebsd-questions>
List-Unsubscribe: <mailto:majordomo@FreeBSD.ORG?subject=unsubscribe%20freebsd-questions>
X-Loop: FreeBSD.ORG

Hello,

I'm writing some graphics code (just for fun) and I need "legal" access to
the memory addresses below 1 mb.

The thing is, I know how to access those addresses (open /dev/mem, mmap, and
that's it), but I'd like to be able to alloc some pages so that my accesses
are correct and don't make the kernel panic...

Does anyone know how I could do that?

Thank you in advance.

Alex




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message