"Kevin P. Lawton" <[EMAIL PROTECTED]> wrote:
> Sorry, my email wasn't very clear. I had meant virtually contiguous.
> The pages still need to be locked down. So if I had say a 64K GDT,
> which spans 16 pages allocated by the kernel. It would be cool while
> I'm in the host context to have one pointer to the gdt to access
> the entire structure. Otherwise, I have to calculate the offset, and
> then see which page it's in first.
OK, I see ...
> So I was curious if all the host OSes can alloc a virtually contiguous
> block of <= 64K. That's the biggest structure I think I'll need.
Well, under Linux that's no problem (vmalloc() can return arbitrarily
large virtually contiguous areas limited only by the available physical
memory). For a Win9x VxD this should also be no problem using _PageAlloc.
I'm not familiar with NT kernel devlopment (or the BSDs or BeOS for that
matter), so I can't comment there ...
Bye,
Ulrich