From owner-freebsd-questions Tue Jul 30 3:55:47 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 19FAB37B400 for ; Tue, 30 Jul 2002 03:55:44 -0700 (PDT) Received: from ash.drims.net (dom15-209.menta.net [62.57.118.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7A8FA43E42 for ; Tue, 30 Jul 2002 03:55:43 -0700 (PDT) (envelope-from hal@telefonica.net) Received: from amavis by ash.drims.net with scanned-ok (Exim 3.35 #1 (Debian)) id 17ZUfG-0000LQ-00 for ; Tue, 30 Jul 2002 12:55:42 +0200 Received: from [127.0.0.1] (helo=borinot) by ash.drims.net with smtp (Exim 3.35 #1 (Debian)) id 17ZUer-0000LF-00 for ; Tue, 30 Jul 2002 12:55:36 +0200 To: freebsd-questions@freebsd.org Subject: Accessing memory below 1 MB Message-Id: From: hal@telefonica.net Date: Tue, 30 Jul 2002 12:55:36 +0200 X-Virus-Scanned: by AMaViS perl-11 Sender: owner-freebsd-questions@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-questions" in the body of the message