From owner-freebsd-hackers Thu Dec 6 8:31:43 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from acl.lanl.gov (acl.lanl.gov [128.165.147.1]) by hub.freebsd.org (Postfix) with SMTP id 8B43E37B417 for ; Thu, 6 Dec 2001 08:31:39 -0800 (PST) Received: (qmail 445533 invoked from network); 6 Dec 2001 09:31:39 -0700 Received: from snaresland.acl.lanl.gov (128.165.147.113) by acl.lanl.gov with SMTP; 6 Dec 2001 09:31:38 -0700 Received: (qmail 17817 invoked by uid 3499); 6 Dec 2001 09:31:38 -0700 Received: from localhost (sendmail-bs@127.0.0.1) by localhost with SMTP; 6 Dec 2001 09:31:38 -0700 Date: Thu, 6 Dec 2001 09:31:38 -0700 (MST) From: Ronald G Minnich X-X-Sender: To: Subject: Re[2]: switching to real mode In-Reply-To: <1080523636.20011206191602@agava.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 On Thu, 6 Dec 2001, Dmitry Konyshev wrote: > I saw an example of switching in real mode in linux' sources (it looks > pretty clear) and thouhgt it is possible to do the same under FreeBSD. > The problem is I'm absolutely lost in FreeBSD's physical memory management > implementation (page tables and directory and so on). That code is quite broken. You need to check out the ones I mentioned earlier. All that the code does in the linux kernel is fail badly. Actually there used to be in freebsd some really nice code for popping into real mode and back again. It was to support calling BIOS for certain things. ron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message