Date: Thu, 06 Nov 1997 14:12:14 -0600 From: Tony Overfield <tony@dell.com> To: Terry Lambert <tlambert@primenet.com>, mike@smith.net.au (Mike Smith) Cc: hackers@FreeBSD.ORG Subject: Re: >64MB Message-ID: <3.0.3.32.19971106141214.006d5438@bugs.us.dell.com> In-Reply-To: <199711061847.LAA28069@usr03.primenet.com> References: <199711061242.XAA00382@word.smith.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
At 06:47 PM 11/6/97 +0000, Terry Lambert wrote: >> How do you copy the kernel into memory > 1M in real mode? > >There are several ways to do this. The main one uses a call that drops >into protected mode, changes a 64k mapping at the top of the 1M >you can get at, and goes back to protected mode. > >You can see a nice example of this in your config.sys on most DOS >machines, where you probably load an EMS, XMS, or DPMI driver so >DOS (and more likely, Windows 3.x) can use memory above 1M. > I can't tell, but I think you're talking about one of these: 1. ... switching to protected mode, setting larger segment limits and then switching back to real mode. It's very unlikely that you have anything in your config.sys that uses this trick. There's no benefit to using it, and there are serious compatibility problems with it. 2. ... the real mode trick of using FFFF:xxxx addressing. This lets you address up to 64K-16 bytes of memory above 1M in real mode. Protected mode is not needed to enable or use this trick. It is completely inadequate for loading a kernel. In DOS, this is called the HMA "high memory area". It is used when use have DOS=HIGH in your config.sys, as one example. 3. Something else. If so, please state it more clearly. - Tony
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3.0.3.32.19971106141214.006d5438>