On Fri, 10 Jan 2003 18:38:07 +0100 (CET), Daniela Engert wrote: >>> Memory objects in this so called linear address >>>space are addressable from any context by means of >>>the DOS32FLATDS selector; >>Are you sure ? AFAIK, DOS32FLATDS requires the code to >>run at ring 0. I seem to remember, that I had to move some >>INIT code to INITCOMPLETE in order to use this approach. >I've checked this in detail now: DOS32FLATDS may be used at INIT time >of DEVICEs as well. As a proof, there is a largely modified (i.e. >mostly rewritten) VFDisk.sys (virtual floppy driver) now which no >longer allocates its memory in (contiguous) physical address space >(using AllocPhys) but in linear address space (physically >discontiguous, using VMAlloc). There is no mapping to any GDT selector >anywhere just plain flat addressing. This change not only makes the >driver much easier and more concise, but rather stops it from its >annoying tendency of failing to allocate large chunks of physically >contiguous memory :-)
This means that OS/2 will remap the selector at INIT time. Anyway, this would also mean that OS/2 will remap on any Open/Close/IOCTL/etc done by the INIT driver. If it's working, good. I'm just working on USB for Rexx and will continue on GCONFIG in 1 or 2 days. (this means rewriting again, argghh) cu, Kiewitz ----------- To unsubscribe yourself from this list, send the following message to [EMAIL PROTECTED] unsubscribe acpi-os2 end