From owner-freebsd-hackers Sat Aug 10 1:58:59 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 2A8AB37B400 for ; Sat, 10 Aug 2002 01:58:57 -0700 (PDT) Received: from ash.drims.net (dom15-209.menta.net [62.57.118.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3C70B43E75 for ; Sat, 10 Aug 2002 01:58:56 -0700 (PDT) (envelope-from hal@telefonica.net) Received: from amavis by ash.drims.net with scanned-ok (Exim 3.35 #1 (Debian)) id 17dS5A-00008H-00 for ; Sat, 10 Aug 2002 10:58:48 +0200 Received: from [127.0.0.1] by ash.drims.net with smtp (Exim 3.35 #1 (Debian)) id 17dS3p-000086-00 for ; Sat, 10 Aug 2002 10:58:25 +0200 Subject: Re: Memory below 1 MB To: freebsd-hackers@freebsd.org Message-Id: From: hal@telefonica.net Date: Sat, 10 Aug 2002 10:58:25 +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 | See /usr/srcsys/pci/agp* for the sources to agp.ko. | | You can't do what you want to do without using a device driver | to allocate the physical resource on your behalf, since you are | talking about physical memory. Ok, thank you. I'll have a look. | This is what I told you the first time you asked. | | By persisting, you remind me of a non-technical manager I had, Well, what I didn't have very clear when you answered was that it was the *only* way to solve the problem, and consequently tried to continue with which I had done. | If you insist on using VM86, the only real example is in the | X11 source code: | | xsrc/xc/programs/Xserver/hw/xfree86/vga256/drivers/s3_savage/lrmi.c | | If you can wade through it, the only other program that uses | it is in: | | /usr/src/usr.bin/doscmd Again, thank you for the sources. | But it does so much more to emulate the full DOS environment that | the calls you actually need t do something minimal are lost and | buried in the rest of it. Actually, I skim-read some x11 code before starting and found it a little bit messy. Thanks for confirming that observation :) | Good luck using vm86, if you insist on that route. Otherwise, | look at the source code to "agp.ko". I have no particular interest in using vm86, but since that is the route I took when I began, I thought it would be possible to continue. Now that you've told me again that what I need is a device driver, I'll have a look at it. Thank you very much for your help. Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message