On 10 Jan 2003 17:38:30 UT, [EMAIL PROTECTED] wrote: >I've checked this in detail now: DOS32FLATDS may be used >at INIT time of DEVICEs as well.
You are right ! But my tests here showed, that it will only work for memory areas that are truly allocated by VMAlloc. I do get strange results, if the area in question is a mapping of some physical location. Funny enough, it works for both types of memory when called at task time. That's why I assumed DOS32FLATDS wouldn't be usable at INIT. BTW, a while ago I noticed another subtile difference between alloc- ated and mapped memory regions: VMGlobalToProcess refuses to work on mapped memory areas. I know, it's a bit off-topic for this list, but if anyone has an idea why, I'd appreciate... >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). I assume, your virtual floppy driver doesn't require the non-virtual pre- sence of a virtual floppy adapter ;-))). Cheers -- Ruediger "Rudi" Ihle ----------- To unsubscribe yourself from this list, send the following message to [EMAIL PROTECTED] unsubscribe acpi-os2 end