From owner-freebsd-hackers Tue Jul 30 7:37:12 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BFAB637B400 for ; Tue, 30 Jul 2002 07:37:09 -0700 (PDT) Received: from ash.drims.net (dom15-209.menta.net [62.57.118.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7913A43E5E for ; Tue, 30 Jul 2002 07:37:08 -0700 (PDT) (envelope-from hal@telefonica.net) Received: from amavis by ash.drims.net with scanned-ok (Exim 3.35 #1 (Debian)) id 17ZY6r-0000Rq-00 for ; Tue, 30 Jul 2002 16:36:25 +0200 Received: from [127.0.0.1] (helo=ash) by ash.drims.net with smtp (Exim 3.35 #1 (Debian)) id 17ZY6E-0000Rf-00 for ; Tue, 30 Jul 2002 16:36:18 +0200 To: freebsd-hackers@freebsd.org Subject: Accessing memory below 1 MB Message-Id: From: hal@telefonica.net Date: Tue, 30 Jul 2002 16:36:18 +0200 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: 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-hackers" in the body of the message